Main > Software Forum
Skip Startup Frames reborn as MAME Plugin
PL1:
--- Quote from: Jakobud on January 08, 2025, 10:51:09 am ---I am investigating those settings not saving as well as the version check string/number thing.
--- End quote ---
Your version check starting at line 164 of /src/startplugin.lua . . .
--- Code: ---if emu.add_machine_reset_notifier ~= nil and emu.add_machine_stop_notifier ~= nil then
--- End code ---
. . . is good in MAMEUI v0.273.1 which indicates that your plugin's way of version checking is a not affected by the string/number issue like Aaron's defenderlr plugin was with this number check.
--- Code: ---if tonumber(emu.app_version()) >= 0.254 then
--- End code ---
If you ever want to have different configurations to support different generations of LUA (i.e. one version for 0.254 and newer, another version for 0.227- 0.253 . . .), you could probably use an if/then/else version of Aaron's updated version string check.
--- Code: ---if emu.app_version() >= "0.254" then
--- End code ---
--- Quote from: Jakobud on January 08, 2025, 10:51:09 am ---Also in the future, if you have a bug report, it is helpful to report it here: https://github.com/Jakobud/skipstartupframes/issues
--- End quote ---
https://github.com/Jakobud/skipstartupframes/issues/12
I reported it there, then cross-posted it here for those who aren't on GitHub. :cheers:
Scott
Sky25es:
Thanks Jakobud and Scott for your time and dedication.
Just an idea: would it be possible to add a temporary frame-skipping option to the plugin? I did a test and it's much much faster with frame-skip on, which would be great for low-end systems or more demanding games....
Jakobud:
--- Quote from: Sky25es on January 10, 2025, 03:37:02 am ---Just an idea: would it be possible to add a temporary frame-skipping option to the plugin? I did a test and it's much much faster with frame-skip on, which would be great for low-end systems or more demanding games....
--- End quote ---
I briefly experimented with this when I was writing the plugin but did not include it (for whatever reason). I will investigate and determine any potential downsides or side effects of this.
Sky25es:
--- Quote from: Jakobud on January 10, 2025, 12:26:30 pm ---I briefly experimented with this when I was writing the plugin but did not include it (for whatever reason). I will investigate and determine any potential downsides or side effects of this.
--- End quote ---
Great! Thanks :applaud:
PL1:
https://github.com/Jakobud/skipstartupframes/issues/14
--- Quote ---Plugin not working with games that have an "_" in the ROMname. #14
Tried using the plugin with many games that have an " _ " in the ROMname in ssf.txt -- Ninja Mission (ar_ninj), SportTime Table Hockey (ar_airh), Astro Chase (mf_achas), Bristles (mf_brist), etc. and here's what happens:
- If the game has a value of "0" in ssf.txt (i.e. the plugin doesn't have to do anything), it appears to work.
- When you start the game, any non-zero value in ssf.txt/ssf_custom.txt does not show up in the plugin. It shows "0" and behaves accordingly.
- If you change the value then press F3 (soft reset), the plugin does not blank and mute for that number of frames, but it still holds the value.
- If you press Shift + F3 (hard reset), the game restarts and the changed plugin value resets to "0".
- Running another game with an " _ " in the ROMname usually replaces the previous game entry in ssf_custom.txt. For example, if you run Ninja Mission (ar_ninj) and adjust the setting to 6, ar_ninj,6 is saved in ssf_custom.txt. If you then run Super Mario Bros. (pc_smb) and adjust the setting to 3, pc_smb,3 is added to and ar_ninj,6 is deleted from ssf_custom.txt. The entries that don't contain an " _ " in the ROMname are not changed.
- If the game's entry in ssf.txt is 0 like mf_brist,0, it does not overwrite the previous game's entry in ssf_custom.txt.
These symptoms happen whether you launch the game from MAME's UI or command line.
Some common ROMs that are affected include:
- Mega Play system games - mp_*
- Mega Tech system games - mt_*
- Play Choice 10 system games - pc_*
--- End quote ---
Scott
EDIT: Issue fixed in release v2.1.0.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version