Commit Graph

388 Commits

Author SHA1 Message Date
kunikuni
33fbb85d59
plugins/autofire: don't save 2bytes cfg file (#6960) 2020-07-17 15:05:23 -04:00
cracyc
cc093aaf50 hiscore.dat: updates [Leezer] 2020-04-22 09:51:57 -05:00
cracyc
f42d9f7d43 hiscore.dat: fix viewpoin (nw) 2020-03-10 12:24:54 -05:00
Vas Crabb
c39f46d6d2 Revert "added support for reading/writing hiscore files from cart images (#6130)"
This reverts commit a77313a987.

This seems to break high score support on things without cartridges.  I think it needs re-thinking.
2020-02-28 02:21:06 +11:00
eadmaster
a77313a987
added support for reading/writing hiscore files from cart images (#6130)
* added support for reading/writing hiscore files from cart images

example hiscore.dat entry:
````
nes,smb:
Super Mario Bros. (World).nes:
Super Mario Bros. (W) [!].nes:
@:maincpu,program,7df,4,0,0,ff
````

* store console hiscores in subdirs, added cart hashes support

* added back my prev changes

* added missing end

* using simpler regexpr for hiscore.ini parsing, fixed typo

* minor cleanups
2020-02-13 10:25:28 -05:00
cracyc
a0a658a111 fix various things. checkpointed the alphatpc16, will credit before next release (nw) 2020-02-11 17:04:36 -06:00
Vas Crabb
a7fec751ed srcclean, manual adjustments (nw) 2020-01-26 12:39:27 +11:00
R. Belmont
9730b87bbc
Merge pull request #6129 from eadmaster/patch-1
made read_config in hiscore lua plugin more robust
2020-01-04 16:09:27 -05:00
MooglyGuy
7486fe3ce0 -cheat_xml: Attempt at fixing Github issue #6114. Strip the leading colon from device names as necessary in order to avoid doubling of the root colon. [Ryan Holtz, DjDiabolik] 2020-01-04 14:06:13 +01:00
Andrea
9764233875
made read_config in hiscore lua plugin more robust 2020-01-04 10:10:19 +01:00
cracyc
5c226e1f99 hiscore.dat: fix old parsing errors (nw) 2019-12-08 14:54:47 -06:00
cracyc
c6dcf7e6be hiscore.dat: Updates [Leezer]
plugins/data: various fixes (nw)
2019-12-02 21:17:42 -06:00
cracyc
b32f90e5a9 plugins/data: small cleanups (nw) 2019-11-29 10:18:50 -06:00
cracyc
b5f648cca7 plugins/data: that shouldn't be there (nw) 2019-11-29 08:36:30 -06:00
cracyc
8dbea98e20 plugins/data: loading fixes (nw) 2019-11-28 22:35:36 -06:00
cracyc
5528afb489 plugins/cheatfind: permit entry of cheat names 2019-11-27 14:12:02 -06:00
Vas Crabb
c38f63c10a plugins/cheat, plugins/autofire: only time out input sequence entry if nothing is entered (nw) 2019-11-22 02:32:29 +11:00
cracyc
0ec88f2ff7 plugins/autofire: permit input sequences (nw) 2019-11-20 22:35:13 -06:00
cracyc
52bc1df46e plugins/cheat: don't clear error message (nw) 2019-11-20 21:56:36 -06:00
cracyc
0606a77760 plugins/cheat: show pressed buttons when setting hotkeys (nw) 2019-11-20 21:35:35 -06:00
cracyc
99a628eb7c plugins/cheatfind: pull https://github.com/mamedev/mame/pull/4618 with some simplifications and bugfixes (nw) 2019-11-17 21:12:41 -06:00
cracyc
7fc2f68051 hiscore.dat: fix renamed set (nw) 2019-11-16 15:05:20 -06:00
cracyc
b0ef759b80 winptty: don't create pipe unless requested (nw)
plugins/discord: disconnect if timed out (nw)
2019-11-16 14:59:02 -06:00
cracyc
f0c5429b95 hiscore.dat: fix MT07454 (nw) 2019-10-16 17:20:11 -05:00
cracyc
55ef735fb7 hiscore.dat: fix set renames (nw) 2019-09-20 14:01:47 -05:00
cracyc
2c485b158c plugins/cheat: add time functions to cheat sandbox 2019-09-09 20:56:39 -05:00
cracyc
70f176f74f hiscore.dat: fix makai high scores (nw) 2019-08-23 15:43:27 -05:00
npwoods
d4cb1ba742 LUA boot.lua file now handles multiple paths (delimited by semicolons)
on -pluginspath
2019-07-25 13:19:43 -04:00
npwoods
aac4e79d4b Refactored MAME's plugin system 2019-07-24 07:21:06 -04:00
cracyc
8893bfcd7e hiscore.dat: updates [Leezer] 2019-07-20 13:46:11 -05:00
Jack Li
2da86cda04 Change autofire config directory to homepath (#5129)
* Revert "Used set_folder to avoid hardcoding plugin name in settings path"

This reverts commit 76884986fd8630f81cfc838aa42f264fdcec2ea9.

* Changed autofire config directory to homepath

* Bumped autofire plugin version
2019-05-30 14:31:57 -04:00
Jack Li
27f66693c5 Autofire plugin: Save/load fixes (#5093)
* Fixed bugs related to reloading roms

Soft resets would reload autofire settings without saving them first, causing the settings to be lost. This commit adds a check to only reload from the settings file if loading a different rom than before.

Hard resets would leave bad references lying around, causing MAME to crash under certain circumstances (i.e. resetting while in the edit menu and entering the menu again). This commit makes sure to properly clean up and reinitialize menu and button states when resetting.

* Used set_folder to avoid hardcoding plugin name in settings path

* Bumped autofire plugin version
2019-05-21 18:44:44 -04:00
Jack Li
0040650300 Add plugin for autofire (#5050)
* Hardcoded autofire plugin

* Changed register_frame to register_frame_done, removed pause check

* Added support for multiple buttons loaded from a file

* Implemented saving settings on quit

* Fixed multiple keybindings for same button from overwriting each other

* Replaced double-quotes with single-quotes

* Refactored saving/loading into a separate module

* Changed button format to use input_code rather than string token

Settings format is unchanged (still saved as string token).

* Rewrote table initialization in save/load

* Implemented menus

* Added helper messages for "on frames"/"off frames"
2019-05-14 10:26:27 -04:00
cracyc
a62ca583c4 hiscore.dat: updates [Leezer] 2019-05-10 18:37:16 -05:00
Vas Crabb
97b6717027 (nw) Clean up the mess on master
This effectively reverts b380514764 and
c24473ddff, restoring the state at
598cd52272.

Before pushing, please check that what you're about to push is sane.
Check your local commit log and ensure there isn't anything out-of-place
before pushing to mainline.  When things like this happen, it wastes
everyone's time.  I really don't need this in a week when real work™ is
busting my balls and I'm behind where I want to be with preparing for
MAME release.
2019-03-26 11:13:37 +11:00
andreasnaive
b380514764 Revert "conflict resolution (nw)"
This reverts commit c24473ddff, reversing
changes made to 009cba4fb8.
2019-03-25 23:13:40 +01:00
Vas Crabb
0ed2d2684e srcclean (nw) 2019-02-24 14:25:42 +11:00
cracyc
11c3b63c41 plugins/hiscore: use emu.time (nw) 2019-02-17 14:00:15 -06:00
cracyc
f1e51d745a plugins/hiscore: start delay (nw) 2019-02-17 13:16:33 -06:00
cracyc
836abb0d63 plugins/console: command history (nw) 2019-02-17 09:07:56 -06:00
cracyc
6e91e36894 hiscore.dat: fix gorf (nw) 2019-02-13 13:36:16 -06:00
cracyc
fe502c0d41 hiscore.dat: updates [Leezer] 2019-02-11 18:11:02 -06:00
PugsyMAME
87e633e039
Cheat Finder Usability Improvements
1. Changes visual indications to make it nicer & quicker to use.
2. Adds selectable automatic pause capability to the cheat finder menu.
3. Allows the Test/Write poke to be changed
4. Adds another cheat format capability for cheat.simple (write support only)
2019-02-04 21:59:31 +00:00
cracyc
74ff29e228 plugins/cheatfind: fix address step when shift is negative (nw) 2019-01-26 22:18:14 -06:00
cracyc
3332cfd71a hiscore.dat: update set changes (nw) 2019-01-18 14:55:55 -06:00
cracyc
48f61988db plugins/cheatfind: fix typo (nw) 2018-12-22 18:11:13 -06:00
cracyc
31850556b4 plugins/cheatfind: oops (nw) 2018-11-21 12:50:58 -06:00
cracyc
cca07c7f44 hiscore.dat: Updates [Leezer] 2018-11-14 20:35:28 -06:00
cracyc
7301399d2e plugins/cheatfind: fix xml writer (nw) 2018-11-08 08:19:27 -06:00
cracyc
5de93b9bf4 hiscore.dat: changed set names (nw) 2018-10-27 08:17:03 -05:00
cracyc
845925fe99 plugins/portname: add softlist parent loading and import tag (nw) 2018-10-03 15:55:34 -05:00
cracyc
80d7461a75 portname: use hex values for mask (nw) 2018-10-02 13:54:46 -05:00
Vas Crabb
250c06a4d7 srcclean (nw) 2018-09-23 12:22:35 +10:00
cracyc
5ef9f211f4 hiscore.dat: updates [Leezer] 2018-09-15 17:05:06 -05:00
cracyc
26e398ac87 plugins/cheatfind: aligned search option (nw) 2018-08-29 20:57:27 -05:00
cracyc
9f12058484 plugins/cheat[find]: fix memshares (nw) 2018-08-27 20:43:33 -05:00
cracyc
73971f29db hiscore.dat: update renamed sets before release (nw) 2018-08-21 22:02:53 -05:00
cracyc
1346d3271a hiscore.dat: Updates [Leezer] 2018-07-15 08:49:28 -05:00
Vas Crabb
90d7b40e62 srcclean and other cleanup (nw) 2018-06-24 19:04:53 +10:00
cracyc
d5b9f521af plugins/cheatfind: use explicit integer sizes rather than "native" types (nw) 2018-06-08 20:29:58 -05:00
cracyc
a99407afb5 Discord plugin try 2 (#3640)
* plugins/discord: discord presence plugin [Carl]

* plugins/discord: use domain sockets and pipes [Carl]

* winptty: fix connecting to existing socket (nw)
plugins/discord: show pause state (nw)

* plugins/discord: fix pause behavior (nw)
2018-06-08 19:25:39 -04:00
Vas Crabb
c15531dddc srcclean (nw) 2018-05-27 04:48:13 +10:00
cracyc
1092f2009b psx/ctlrport: use required_device (nw)
sort_hiscore: make it much faster (nw)
2018-05-20 14:56:47 -05:00
cracyc
39883001a3 hiscore.dat: Updates [Leezer] 2018-05-18 19:35:39 -05:00
cracyc
fec83c922b plugins: handle the case where the ui prepends the list name to the list entry name (nw) 2018-05-02 09:37:34 -05:00
cracyc
f5191c8605 plugins/cheat: oops (nw) 2018-05-02 08:57:20 -05:00
cracyc
6efb37250f plugins/cheat: translate debugger expressions by space index as the debugger does (nw)
pc9801: use correct video clock, fixes policenauts video speed (nw)
2018-05-02 08:42:56 -05:00
cracyc
2fff9bbd82 plugins/cheat: fix opcode space (nw) 2018-04-30 17:37:28 -05:00
Vas Crabb
ac79c90607 srcclean (nw) 2018-04-22 09:24:13 +10:00
cracyc
137969abf5 plugins/portname: fix comment (nw) 2018-04-21 16:56:12 -05:00
cracyc
0c0e38ca58 plugins/portname: sort the output file (nw) 2018-04-21 08:52:15 -05:00
cracyc
031c9ca8fb plugins/hiscore: fix cpu tags and print detailed errors (nw) 2018-04-20 16:39:20 -05:00
cracyc
b9977e0b03 plugins/portname: change indentation in save file by request (nw) 2018-04-18 16:42:42 -05:00
cracyc
82446cd4cb plugins/cheat: work around small issue in conversion (nw) 2018-04-18 08:53:11 -05:00
cracyc
71f9ff71d1 plugins/data: require returns true if package returns nil (nw) 2018-03-29 15:00:47 -05:00
Vas Crabb
08dde5eb0a srcclean and regenerate localisations (nw) 2018-03-25 02:03:24 +11:00
cracyc
c8f58a92e6 plugins/cheatfind: fix string formatting (nw) 2018-03-23 21:22:29 -05:00
cracyc
a8633e35a4 plugins/cheatfind: search any address space (nw) 2018-03-23 09:09:29 -05:00
cracyc
31be84ea40 plugins/data: give up if the database can't be created (nw) 2018-03-20 21:54:22 -05:00
cracyc
6cbf5c674b hiscore.dat: add handhelds that have high scores (nw) 2018-03-20 21:40:58 -05:00
cracyc
efdbc81e06 hiscore.dat: Updates [Leezer] 2018-03-19 15:19:44 -05:00
cracyc
d399f0bb18 plugins/portname: describe revised format 2018-03-14 17:13:59 -05:00
cracyc
d035e3b546 plugins/portname: change to address objections, also as suggested converted the controls.ini in repo https://github.com/cracyc/portname Removed the import but will still load parent if available (nw) 2018-03-12 22:49:26 -05:00
cracyc
efe9644b5c plugin/cheat: use print_error to make testing easier (nw) 2018-03-05 09:22:44 -06:00
cracyc
463eddd02b plugins/console: make the console behave like the docs, unlike the official lua console if you are in a block, entering a newline on a blank line gets you out (nw) 2018-02-07 16:32:17 -06:00
cracyc
e491b70f03 plugins/cheatfind: read whole block (nw) 2018-01-29 14:14:39 -06:00
cracyc
2e3efc5eff plugins/cheatfind: fix (nw) 2018-01-28 16:46:41 -06:00
Vas Crabb
4e8bb7c7e5 srcclean and regenerate localisations (nw) 2018-01-28 14:25:52 +11:00
cracyc
a850ea8953 hiscore.dat: updates [Leezer] 2018-01-23 17:21:32 -06:00
cracyc
59544382d3 plugins/portname: sort the list and print the port names and masks (nw) 2018-01-21 18:32:15 -06:00
cracyc
6072f32c4a oops2 (nw) 2018-01-15 21:30:59 -06:00
cracyc
3d770d928e
oops (nw) 2018-01-15 10:27:48 -06:00
cracyc
cc7ccbd9b5 plugins/data: fix version for gameinit (nw) 2018-01-15 09:09:13 -06:00
firewave
8420d338a7 plugins/data: added database checks to data_marp.lua as well (nw) 2018-01-15 15:15:11 +11:00
cracyc
9ef46e266d plugins/data: didn't mean to undo that (nw) 2018-01-14 14:22:05 -06:00
cracyc
380bff2202 plugins/data: don't pollute the namespace and use emu.print_error (nw) 2018-01-14 08:39:37 -06:00
firewave
7da4d2dfc6 plugins/data: added reporting of database errors (nw) 2018-01-14 12:09:06 +01:00
Oliver Stöneberg
f911ab2869 plugins/data: fixed table lookup (nw) 2018-01-13 19:37:04 -06:00
cracyc
e94b4d2bac plugins/data: fix spelling (nw) 2018-01-12 16:27:14 -06:00
cracyc
c5ee1d8a45 plugins/portname: add #import and #set tags (nw) 2018-01-08 22:03:54 -06:00
cracyc
3f21951418 portname: use a subdir and emu.file so they can be packaged in zips (nw) 2017-12-30 18:56:31 -06:00
cracyc
d3e7be82a8 plugins/portname: new wip plugin for loading translations or alt names for input port fields [Carl] 2017-12-30 16:02:56 -06:00
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