Commit Graph

286 Commits

Author SHA1 Message Date
Vas Crabb
25f84e3bf0 srcclean and manual cleanups (nw)
please people, remember to keep source UTF-8 and if you're committing on behalf of others, clean up indents to meet MAME conventions
anyone can run srcclean over a submission and see what will get hit
2017-12-24 15:03:04 +11:00
cracyc
da0c536130 fmtowns_cd: hand fix rbisland (nw)
load_dat.lua: fix crlf issue (nw)
selsoft: fix off-by-one crash (nw)
2017-12-20 21:16:32 -06:00
cracyc
e766c5d5c7 plugins/hiscore: remove debug print (nw) 2017-12-17 15:03:46 -06:00
cracyc
cdb2312cf8 hiscore.dat: Updates [Leezer]
remove duplicate sets and merge identical entries (nw)
2017-12-17 09:55:02 -06:00
Firehawke
9ece34eb21 Revert "Revert "Merge branch 'master' of https://github.com/mamedev/mame""
This reverts commit 54155441e9.
2017-12-13 21:31:27 -07:00
Firehawke
54155441e9 Revert "Merge branch 'master' of https://github.com/mamedev/mame"
This reverts commit f537428e5a, reversing
changes made to 0d70d79810.
2017-12-13 21:01:10 -07:00
Vas Crabb
4995201684 fix sentence building by concatenation, and at the same time collapse two translatable strings to one (nw) 2017-12-02 19:09:25 +11:00
cracyc
ec2685c66c plugins/hiscore: add option to hiscore.ini to only_save_at_exit (nw) 2017-11-10 08:48:53 -06:00
Vas Crabb
4c29419cab srcclean (nw) 2017-10-22 12:34:30 +11:00
cracyc
56ea65ede2 plugins/cheatfind: oops (nw) 2017-10-15 18:58:43 -05:00
cracyc
946892c8e0 hiscore.dat: updates [Leezer]
floppy: comment out breaky stuff (nw)
2017-10-15 14:04:59 -05: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
89a97d353c data_marp: bail if database not open (nw) 2017-09-27 16:01:36 -05:00
cracyc
8930407d7d hiscore.dat: Updates [Leezer] 2017-09-15 16:19:21 -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
888332da9e hiscore.dat: Updates [Leezer] 2017-08-16 10:04:36 -05:00
Vas Crabb
0a6f98cd7d font_osx: handle fonts where space glyphs return a null bounding box (e.g. Hiragino family)
restore ability to localise info box headings
2017-08-06 12:04:54 +10:00
cracyc
83adc109e7 plugins/data: add marp scores [Carl] 2017-07-30 21:33:23 -05:00
cracyc
97a4f94d17 plugins/data: fix small things (nw) 2017-07-27 22:14:09 -05:00
cracyc
8408a79059 plugins/data: use 2 column format and clean up some parse errors (nw) 2017-07-27 17:29:22 -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
81079946a4 luaengine: debugger_manager support [Carl] 2017-07-23 20:41:08 -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
d3a59a3690 hiscore.dat: Updates [Leezer] 2017-07-07 22:05:23 -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
2afb506b56 plugins/cheatfind: be more careful with unpack (nw) 2017-06-11 17:20:55 -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
e892661905 srcclean (nw) 2017-05-28 13:40:48 +10:00
cracyc
40e1e3e698 Merge pull request #2303 from cracyc/linenoise_new
linenoise work
2017-05-15 11:41:06 -05:00
cracyc
644b5d761e hiscore.dat: Updates [Leezer] 2017-05-14 09:35:19 -05:00
cracyc
4ebc18aeec linenoise: replace linenoise-ng with a different port that is simpler and uses a different UTF8 parser [Carl]
plugins/console: better completions [Carl]
2017-05-13 16:57:47 -05:00
cracyc
268319a08a hiscore.dat: Updates [Leezer] 2017-03-16 22:19:46 -05:00
Vas Crabb
8f15315a52 srcclean (nw) 2017-02-19 11:40:55 +11:00
cracyc
777947797f plugins/data/data_hiscore: print_verbose unimplemented stuff (nw) 2017-02-17 21:34:31 -06:00
cracyc
182fc20c15 plugins/data/data_hiscore: don't permit hi score parse scripts to modify the shared environment or save any persistent data (nw) 2017-02-17 16:04:04 -06:00
cracyc
eed65a01ac plugins/data: create first dir in historypath if it doesn't exist (nw) 2017-02-16 21:50:57 -06:00
cracyc
00b999cbfa plugins/data: fix if order (nw) 2017-02-16 18:36:34 -06:00
cracyc
d090bbedb8 plugins/data: check the rest of the paths too (nw) 2017-02-13 16:29:25 -06:00
cracyc
21b4a16edd plugins/hiscore: use videoram share for missile command scores so madsel isn't disturbed (nw) 2017-02-03 18:30:38 -06:00
cracyc
f1ed3b561a hiscore.dat: Updates [Leezer] 2017-01-04 12:15:45 -06:00
cracyc
8e8ddfee98 hiscore.dat: Updates [Leezer] 2016-12-09 21:22:19 -06:00
Vas Crabb
7238415d1f srcclean (nw) 2016-11-27 09:56:49 +11:00
cracyc
7702f39327 plugins/data: put database in correct path (nw) 2016-11-12 15:16:56 -06:00
Miodrag Milanovic
b73126e85a added OPTION_HOMEPATH to point to read/write folder,for now used by LUA scripts (nw)
Copied all needed files so plugins could be started under UWP
2016-11-12 15:27:22 +01:00
cracyc
101c667961 plugins/data: fix index (nw) 2016-11-09 14:20:15 -06:00
cracyc
f9f30e95ef plugins/data: store data in database (nw) 2016-11-09 08:28:37 -06:00
Miodrag Milanovic
694657af7c stupid copy/paste (nw) 2016-11-08 10:58:59 +01:00
Miodrag Milanovic
99df581038 Made timer plugin use sqlite3 (nw) 2016-11-08 09:52:10 +01:00
cracyc
3b512b0fd8 plugins/console: much better completions (nw) 2016-11-07 15:07:52 -06:00
cracyc
65c3796e33 plugins/console: further improve completions by removing break chars from linenoise that hide the full type (nw) 2016-11-06 21:36:26 -06:00
cracyc
cbf588359e plugins/console: (nw) 2016-11-06 13:41:47 -06:00
cracyc
a6aaa59d19 lua-linenoise: add preload (nw) 2016-11-06 13:41:46 -06:00
cracyc
68ff36882c plugins/console: (nw) 2016-11-06 13:41:45 -06:00
cracyc
fad9a96cb0 plugins/console: better completions (nw) 2016-11-06 13:41:45 -06:00
cracyc
2de04414ed plugins/console: add lua console [Carl] 2016-11-06 13:41:43 -06:00
cracyc
e3d02290c1 data/data_hiscore: parse more (nw)
luaengine: remove more leftovers (nw)
2016-11-03 15:29:19 -05:00
cracyc
2603b2ec46 hiscore.dat: Updates [Leezer]
luaengine: fix save_item (nw)
2016-11-03 09:57:51 -05:00
cracyc
330b0d146d plugins/data: fix driver info (nw) 2016-11-02 15:33:11 -05:00
cracyc
bfc49b0974 luaengine: bugfixes (nw) 2016-11-02 12:16:10 -05:00
cracyc
06363cf65a luaengine: add basic table return support (nw) 2016-11-02 12:16:09 -05:00
cracyc
cf037e79d2 data: remove extra newlines (nw) 2016-10-26 16:33:57 -05:00
cracyc
939d1446a2 hiscore.dat: Updates [Leezer]
8042kbdc: fix Indigo keyboard [Carl]
----
The removed stuff from 8042kdbc appears to be handled by pckeybrd now but there could be regressions.
2016-10-16 19:32:22 -05:00
cracyc
45ad154c87 ui/selgame: fix crash (nw) 2016-09-29 20:36:43 -05:00
Vas Crabb
33b2c73395 srcclean (nw) 2016-09-26 04:51:59 +10:00
cracyc
0c0c086268 ui/datmenu: fix in game menu data view (nw) 2016-09-07 09:00:08 -05:00
cracyc
9d101cad6a ui: remove datfile_manager (nw) 2016-09-06 22:11:01 -05:00
cracyc
46ab9213f5 ui/selgame: get dat info from plugin [Carl]
plugins/data: add data plugin [Carl]
2016-09-05 21:43:17 -05:00
cracyc
9e081e0c38 hiscore.dat: updates (Leezer) 2016-09-03 11:25:29 -05: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
4f25a90c75 hiscore: make path expansion work on win32 also (nw) 2016-08-04 16:49:11 -05:00
cracyc
0f05950b9a Merge pull request #1186 from stengun/patch-1
Fix .hi file load and write [stengun]
2016-08-04 16:40:05 -05:00
Roberto Benfatto
234628a88f Revert modifications of 0646ca8 2016-08-04 22:46:42 +02:00
cracyc
38314fc4a4 hiscore.dat: updates [Leezer] 2016-08-04 14:44:59 -05:00
Roberto Benfatto
4f83634380 Make hiscore path configurable by ini file 2016-08-04 20:27:16 +02:00
Roberto Benfatto
0646ca8b1a Fix .hi file load and write
hiscore.dat and hi folder path were not resolved as expected (their path was relative to mame executable, not to the plugin folder). Explicitly writing them as absolute paths gives the desired behavior.
2016-08-04 07:39:32 +02:00
cracyc
0184946dd8 boot.lua: only load plugins in plugin path (nw) 2016-07-24 14:44:38 -05:00
cracyc
59dafc2261 hiscore.dat: Updates [Leezer] 2016-07-24 10:21:56 -05:00
cracyc
2af957118a plugins/cheatfind: don't create 100 copies of a large function when we only need one (nw)
---
The stub keeps the current match in scope so it can be passed on if necessary
2016-07-19 19:53:05 -05:00
cracyc
8d9fb8e4a9 plugins/cheatfind: name cheats (nw) 2016-07-19 19:13:09 -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
72a499b54a plugin path expansion (nw) 2016-07-09 15:11:30 -05:00
cracyc
1a54c90838 plugins/cheatfind: don't show arrow when one option (nw) 2016-07-08 18:52:57 -05:00
cracyc
3f58aa4548 plugins/hiscore: make hiscore.dat sorter stable so everything isn't rearranged every time (nw) 2016-07-08 15:44:54 -05:00
cracyc
1caf0d68c2 plugins/hiscore: doc (nw) 2016-07-08 10:11:12 -05:00
cracyc
45de5e113e plugins/hiscore: add optional value to prefill for software that clears ram and add examples (nw) 2016-07-08 09:49:03 -05:00
cracyc
bccd9ad271 luaengine: add optional arg for physical address space to disable address shift (nw)
----
Cheats created with the cheatfinder won't work with the builtin cheat finder if the cpu has an address bus that isn't 8bits unless the addresses are fixed up.
2016-07-03 16:28:06 -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
671f8e3bb2 luaengine: share accessors (nw)
cheatfind: search share regions (nw)
2016-06-20 21:55:15 -05:00
cracyc
d157408218 vt240: WIP (nw) 2016-06-11 22:38:01 -05:00
cracyc
77c20e43f0 hiscore.dat: sort by source file in an effort to make it somewhat maintainable, mark entries not in mame.lst, and add script to do the sorting and comparing (nw) 2016-05-31 13:24:24 -05:00
cracyc
f9b5a025a5 hiscore.dat: remove remaining invalid sets (nw) 2016-05-31 08:18:52 -05:00
cracyc
249e77583e hiscore.dat: fix renamed/duplicated sets (nw) 2016-05-30 21:57:35 -05:00
Scott Stone
841724156c One remaining hiscore parse error (nw) 2016-05-30 21:52:46 -04:00
cracyc
07f297ae7a hiscore.dat: more fixes (nw) 2016-05-30 12:56:54 -05:00
cracyc
d63cd99bc3 hiscore.dat: DEC Rainbow has no cheats (nw) 2016-05-30 11:39:32 -05:00
cracyc
c35144d691 hiscore.dat: remove outdated info and email addresses (nw)
---
Those people shouldn't be bothered with issues from this (unless they want too but I don't know that)
2016-05-29 11:47:34 -05:00
cracyc
b49334e70a hiscore: fix segaxbd games and improve error (nw) 2016-05-29 10:26:47 -05:00
cracyc
0522e44d2f boot.lua: make pluginspath apply here too (nw) 2016-05-26 17:24:56 -05:00
cracyc
295774fabb plugins/cheatfind: more (nw) 2016-05-03 09:39:16 -05:00
cracyc
37898321e2 plugins/cheatfind: small cleaups (nw) 2016-05-03 09:27:31 -05:00
cracyc
734436ac06 plugins/cheatfind: pages (nw) 2016-05-02 21:52:21 -05:00
cracyc
ecc9d9d096 plugins/cheatfind: match is in closure scope (nw) 2016-05-02 10:23:53 -05:00
cracyc
216869186c plugins/cheatfind: make menu layout much more flexible (nw) 2016-05-02 10:09:42 -05:00
cracyc
82d38dc10d plugins/cheatfind: fix order (nw) 2016-05-01 18:53:31 -05:00
cracyc
1d31d7c55f plugins/cheatfind: yet more changes (nw) 2016-05-01 16:21:54 -05:00
cracyc
3cd9489038 plugins/cheatfind: fixes (nw) 2016-05-01 09:07:02 -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
2028ec2917 plugins/timer: don't fail if file is corrupt (nw) 2016-04-24 17:06:25 -05:00
cracyc
29f51e85db plugins/cheat*: various changes (nw) 2016-04-24 12:01:30 -05:00
cracyc
5a320aba4a plugins/cheatfind: nt (nw) 2016-04-23 17:51:29 -05:00
cracyc
6af9782d91 plugins/cheatfind: fix machines with >1 ram regions (nw) 2016-04-23 14:28:38 -05:00
cracyc
9c81ead8b0 plugins/cheat: make ram work properly (nw) 2016-04-23 13:51:08 -05:00
cracyc
d80b977719 plugins/cheatfind: fix saved cheats (nw) 2016-04-23 11:13:49 -05:00
cracyc
21c89e6258 luaengine: fix ui (nw) 2016-04-23 10:52:45 -05:00
Miodrag Milanovic
3fc8cfd679 fix lua issue (nw) 2016-04-23 17:08:59 +02:00
cracyc
a7bed872ee plugins/cheatfind: add bitwise comparisons (nw) 2016-04-22 20:55:07 -05:00
cracyc
0ed4ecb7c9 plugins/cheatfind: change match behavior and add on screen watches (nw) 2016-04-21 18:55:13 -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
37718e8602 plugins/cheatfind: write found cheats (nw) 2016-04-16 09:36:22 -05: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