Main > Software Forum
Skip Startup Frames reborn as MAME Plugin
Jakobud:
--- Quote from: Endprodukt on November 16, 2024, 02:23:16 pm ---Any chance you make the plugin work in a way we can actually change the frame value from inside mame?
--- End quote ---
Hmmmm... that is a good idea. Yes I think it would be possible. Technically at least very possible. Being able to change any game from in the menu would not work well because there are 2000's games to pick from and it wouldn't work from a UX perspective in the menu system. But being able to change the frames for the current game.... yeah I think I could implement that. Thanks for the idea.
Endprodukt:
yes just the current game of course! Now when I launch a game and the settings are outdated I have to exit the game, exit the frontend, launch my explorer, got to the text file, then open cmd, launch the game, activate debug, get the number, exit the game, change the number in the text file, check again....uff :D
My good friend Foxhole just had the idea that you might be able to set it with a keyboard key. Press a defined key and it will write the current frame value for the game!
PL1:
--- Quote from: Jakobud on November 16, 2024, 10:27:05 pm ---But being able to change the frames for the current game.... yeah I think I could implement that.
--- End quote ---
Given the huge range of possible values, are you thinking about a slider or some other input method in the plugin menu?
- Even with limited testing, values between 0 and 1710 were confirmed good.
- I assume the plan is something like reading the value from ssf.txt when a game is launched and injecting it into a variable used by an adjustable slider in the plugin menu.
Right now, ssf.txt is only read when MAME first starts up. If you Alt-Tab from MAME over to the text file, change a value, save the file, and Alt-Tab back to MAME, the updated value won't be recognized when you "F3" reset in the game or restart the game from MAME's UI. You have to fully exit and relaunch MAME for the new value to be recognized.
If the slider or other menu-based adjustment method doesn't work, can the plugin re-read ssf.txt either when an "F3" reset is triggered or when a game is launched?
Scott
Jakobud:
--- Quote from: PL1 on November 17, 2024, 06:17:50 am ---
--- Quote from: Jakobud on November 16, 2024, 10:27:05 pm ---But being able to change the frames for the current game.... yeah I think I could implement that.
--- End quote ---
Given the huge range of possible values, are you thinking about a slider or some other input method in the plugin menu?
--- End quote ---
Unfortunately I think the only option would be a increase/decrease frame value 1 frame at a time. There is limited functionality in the MAME Menu system API and it's completely undocumented and tricky to work with. One of the MAME Dev's told me that they need to rewrite it into something better because of it's current state.
In the meantime though I can make the ssf.txt reload on each game start/restart though. That's pretty easy.
PL1:
--- Quote from: Jakobud on November 18, 2024, 05:12:17 pm ---I can make the ssf.txt reload on each game start/restart though. That's pretty easy.
--- End quote ---
Excellent. ;D
Scott
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version