Commit Graph

303 Commits

Author SHA1 Message Date
Vas Crabb 6e807013c5 Disable SOUND_DEBUG for non-debug builds, and srcclean 2020-09-27 11:00:56 +10:00
cracyc 7f281a9d95 hiscore.dat: fix set names 2020-09-22 20:44:46 -05:00
npwoods b8d6be3320
Fixing a cheat plugin bug 2020-09-19 11:02:29 -05:00
cracyc cfd3c1fac6 plugins/cheat: small simplification 2020-09-15 20:38:39 -05:00
cracyc 90fd79601b
plugins/cheat: copy the cheat table to not expose internal state (#7238) 2020-09-15 09:37:47 -05:00
cracyc 692ff2c06f plugin/cheat: subtract min before dividing 2020-09-13 19:13:38 -05:00
cracyc 35bfe62b59 plugin/cheat: check value is a mulitple of step 2020-09-13 19:03:22 -05:00
cracyc c70bc6be75 plugin/cheat: flesh out the exported interface a bit more 2020-09-13 16:37:53 -05:00
cracyc 9c4d1457da plugins: add emu.plugin table to contain plugin exported interfaces 2020-09-13 10:00:54 -05:00
cracyc a03b22c555 cheat_simple: with game genie codes try 32k nes banks then fall back to 8k and warn with 6 char codes and banked prg 2020-09-08 18:51:03 -05:00
cracyc 1e61ba02fe hiscore.dat: gauntlet high scores are in the nvram, these cause more problems then they are worth 2020-09-03 16:31:44 -05:00
cracyc 44af4d00ed hiscore.dat: updates [Leezer] 2020-08-17 10:17:04 -05:00
cracyc bdd7e205a9 hiscore.dat: update changed set names 2020-07-21 16:33:10 -05:00
Vas Crabb 718da3388c
plugins/autofire: remove leftover code from first attempt at removing empty configuration files 2020-07-19 23:07:39 +10:00
kunikuni 070eeeec3a
plugins/autofire: don't save 2bytes cfg file (nw) (#6969)
* plugins/autofire: don't save 2bytes cfg file (nw)

* Update autofire_save.lua
2020-07-19 23:05:00 +10:00
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