Commit Graph

114 Commits

Author SHA1 Message Date
cracyc efe9644b5c plugin/cheat: use print_error to make testing easier (nw) 2018-03-05 09:22:44 -06:00
cracyc b3f05b309d plugins/cheatfind: fix (nw) 2018-01-29 16:22:41 +11:00
Vas Crabb 4c29419cab srcclean (nw) 2017-10-22 12:34:30 +11:00
Vas Crabb 2851d7d6cd (nw) Improve localisation:
* Change makefile rules to treat mame.pot as a target so rules can depend on it
* Put mame.pot inside the build directory so it will get cleaned
* Couldn't get xgettext to scrape lua and C++ in the same command and still remove stale strings
* Use larger strings and format specifiers to fix some localisation issues
  - Issue with "None" lacking context in Russian and Turkish translations
  - Issue with "Not implemented" changing depending on the noun in Serbian
  - Issues with lua plugins not allowing for languages with different grammar/punctuation

Strings that need to be translated after this change - most of these are existing text that's been made into larger chunks or reworded slightly:

"Mechanical Machine\tYes\n"

"Mechanical Machine\tNo\n"

"Requires Artwork\tYes\n"

"Requires Artwork\tNo\n"

"Requires Clickable Artwork\tYes\n"

"Requires Clickable Artwork\tNo\n"

"Support Cocktail\tYes\n"

"Support Cocktail\tNo\n"

"Driver is BIOS\tYes\n"

"Driver is BIOS\tNo\n"

"Support Save\tYes\n"

"Support Save\tNo\n"

"Screen Orientation\tVertical\n"

"Screen Orientation\tHorizontal\n"

"Requires CHD\tYes\n"

"Requires CHD\tNo\n"

"ROM Audit Result\tOK\n"

"ROM Audit Result\tBAD\n"

"Samples Audit Result\tNone Needed\n"

"Samples Audit Result\tOK\n"

"Samples Audit Result\tBAD\n"

"ROM Audit Disabled\t\n"
"Samples Audit Disabled\t\n"

"Activated: %s = %s"

"Activated: %s"

"Enabled: %s"

"Disabled: %s"

"%s added"

"Default name is %s"

"Cheat written to %s and added to cheat.simple"

"Unable to write file\n"
"Ensure that cheatpath folder exists"
2017-10-03 10:49:30 +11:00
cracyc 633c37236e plugins/cheat: input sequence cheats [Carl] 2017-10-02 17:28:37 -05:00
cracyc cf4c08014b plugins: gettextify localizable strings (nw) 2017-09-03 22:04:33 -05:00
cracyc 7e75ba4bfa luaengine: translation support [Carl] 2017-09-04 10:12:21 +10:00
cracyc 051a55b274 plugins/cheat: oops (nw) 2017-09-03 13:56:44 -05:00
Vas Crabb ec3caa98bd srcclean (nw) 2017-08-27 11:07:21 +10:00
cracyc 83adc109e7 plugins/data: add marp scores [Carl] 2017-07-30 21:33:23 -05:00
cracyc 781a213378 plugins/gdbstub: WIP gdbstub plugins [Carl] 2017-07-26 21:23:42 -05:00
cracyc f4c54655f2 plugins/cheat: make sure bp function is run only one per hit (nw) 2017-07-24 16:17:43 -05:00
cracyc 0e1f11ccae plugins/cheat: catch errors in cheat scripts and prelim break/watch support [Carl] 2017-07-24 10:07:02 -05:00
cracyc 229959ee7d plugins/cheat: popmessage for hotkey setting (nw) 2017-07-14 13:20:46 -05:00
cracyc 3a751b164e plugins/cheat: create dirs (nw) 2017-07-14 08:29:46 -05:00
cracyc f985171b4c plugins/cheat: poll for setting hotkeys [Carl] 2017-07-13 21:33:06 -05:00
cracyc 40b37af1c3 plugins/cheat: add ui support for joystick hotkeys [Carl] 2017-07-11 22:06:09 -05:00
cracyc e0e2a6b636 plugins/cheat: documentation (nw) 2017-06-30 14:19:40 -05:00
cracyc 38a74a3ae0 plugins/cheat: link simple cheats 2017-06-30 14:15:57 -05:00
cracyc 0ae673779b plugins/cheat: fix nes gg decoder (nw) 2017-06-30 12:51:54 -05:00
Vas Crabb f31e735053 srcclean (nw) 2017-06-25 15:18:14 +10:00
cracyc a21cd131a5 plugins/cheat: fix (nw) 2017-06-20 09:11:29 -05:00
cracyc 4d69d70d20 plugins/cheat: oops (nw) 2017-06-15 19:39:57 -05:00
cracyc 74894fa5d2 plugins/cheat: refactor and add more ar support (nw) 2017-06-15 15:04:04 -05:00
cracyc 1a66cfa94a plugins/cheat: more gg and an ar decoder (nw) 2017-06-14 12:52:18 -05:00
cracyc 2cbdb17ed8 plugins/cheat: oops (nw) 2017-06-13 14:39:52 -05:00
cracyc 02e77eb610 plugins/cheat: nes, snes, genesis game genie support [Carl] 2017-06-13 14:34:24 -05:00
cracyc 72423541d2 plugins/cheat: oops (nw) 2017-06-12 07:58:48 -05:00
cracyc 247f723094 plugins/cheat: oops (nw) 2017-06-03 12:35:17 -05:00
cracyc 33c65a2afc plugins/cheat: add hotkey support [Carl] 2017-06-02 18:03:25 -05:00
Vas Crabb 7238415d1f srcclean (nw) 2016-11-27 09:56:49 +11:00
Vas Crabb f5356a62de srcclean on lua plugins, too 2016-08-30 15:53:27 +10:00
cracyc 53962aff61 luaengine: remove now unnecessary stuff since a copy of searchpath is made and it won't be garbage collected from underneath us (nw) 2016-08-19 10:56:31 -05:00
cracyc fa6bd37265 plugins/cheatfind: add operand size to simple cheat and write cheats from cheatfind into simple file (nw) 2016-07-14 14:57:47 -05:00
cracyc 62f2777ce2 mark working
-----------
Digital Equipment Corporation VT240 [Carl]

vt240: fix scroll and complement (nw)
plugins/cheat: add simple cheat file format (nw)
2016-07-13 17:13:32 -05:00
cracyc e298801bb7 plugins/cheat: better error (nw) 2016-07-03 08:57:40 -05:00
cracyc e7755e4743 luaengine: add logical address space accessors, use by default in translated cheats (nw) 2016-07-02 19:04:32 -05:00
cracyc 200fc9859a plugins/cheat: don't turn off unless on (nw) 2016-06-21 09:35:09 -05:00
cracyc df88aa07dc plugins/cheatfind: reverse operator order and add value comparison (nw) 2016-04-30 20:58:47 -05:00
cracyc 4b6237fbfd plugins/cheat: handle multiple cheat paths and missing dir in write back (nw) 2016-04-30 10:48:10 -05:00
cracyc 6bbd290d31 plugins/cheat*: indent the output (nw) 2016-04-28 21:17:09 -05:00
cracyc 29d7699569 plugins/layout: layout embedded script helper plugin [Carl]
luaengine: callbacks for plugins (nw)
rendlay: layout tag external handler support (nw)
fidel_csc and mdndclab: example layout scripts (nw)
--
Neither layout script is complete.  The chess doesn't handle castling or en passant and the Dungeons and Dragons only does the walls.
2016-04-27 09:37:23 -05:00
cracyc 29f51e85db plugins/cheat*: various changes (nw) 2016-04-24 12:01:30 -05:00
cracyc 9c81ead8b0 plugins/cheat: make ram work properly (nw) 2016-04-23 13:51:08 -05:00
cracyc 21c89e6258 luaengine: fix ui (nw) 2016-04-23 10:52:45 -05:00
cracyc b793232c97 plugins/cheat: clear popmessage (nw) 2016-04-17 17:38:16 -05:00
Miodrag Milanovic fc48cb17f3 added print_verbose, print_info, print_debug and print_error to lua, and used it instead of print (nw) 2016-04-16 18:01:48 +02:00
cracyc 95309f461e plugins/cheat: load multiple files and fix load failure (nw) 2016-04-16 08:36:09 -05:00
cracyc c3735cd12c plugins/cheat: fix some stuff (nw) 2016-04-15 11:40:34 -05:00
cracyc 2d30a13824 plugins/cheat: copy-paste (nw) 2016-04-14 13:31:14 -05:00
cracyc 94007d2887 plugins/cheat: add game time for cheats which want a time delay (nw) 2016-04-13 11:40:06 -05:00
cracyc b66b2e679c plugins/cheat: make more compatible (nw) 2016-04-13 08:13:00 -05:00
cracyc b09ae03b65 plugins/cheat: add safe table functions to sandbox (nw) 2016-04-11 17:39:35 -05:00
cracyc d818313f8f plugins/cheatfind: preliminary support to inject cheats for testing (nw) 2016-04-10 21:42:33 -05:00
cracyc 6dcb009816 plugins/cheatfind: run same operation over a batch of data (nw) 2016-04-10 17:06:21 -05:00
cracyc cf8c7fb206 luaengine: make flags explicit (nw) 2016-04-09 09:02:07 -05:00
cracyc 74d1fbbdb9 plugins/cheatfind: start adding basic menu (nw) 2016-04-08 22:30:32 -05:00
cracyc 86007e7e29 oops++ (nw) 2016-04-07 20:17:42 -05:00
cracyc ea484da9a8 plugins/cheat: create temp[0-9] in case xml script doesn't (nw) 2016-04-07 20:02:33 -05:00
cracyc d88bdb6869 plugins/cheat: fix more (nw) 2016-04-07 19:42:18 -05:00
cracyc 4edb50a92a plugin/cheat: better conversion (nw) 2016-04-07 10:38:51 -05:00
cracyc dc885b1996 plugin/cheat: adjust path handling (nw) 2016-04-06 21:40:49 -05:00
cracyc badc9e8c73 oops 2016-04-06 17:06:47 -05:00
cracyc 55c9596f4c Add experimental cheat lua plugin [Carl] 2016-04-06 17:03:11 -05:00