Main > Software Forum

How do you save a game state in MAME?

<< < (2/3) > >>

jelwell:

--- Quote from: SirPoonga on March 09, 2005, 01:28:24 pm ---Ihate the default key setup for save and load.
--- End quote ---

Thenasty:
so you have 2 buttons labled "Save" "Load" thats slick, instead of asking you to push a "Key" for location.

I should add that to my build. Wanna share the code changed ? How about the games that don't work with Save/Load state ?

jelwell:

--- Quote from: Thenasty on March 09, 2005, 05:22:46 pm ---so you have 2 buttons labled "Save" "Load" thats slick, instead of asking you to push a "Key" for location.

I should add that to my build. Wanna share the code changed ? How about the games that don't work with Save/Load state ?

--- End quote ---

That's odd. I know for a fact that I posted the source changes online. I thought it was on the mame.net forums, but I can't find it there. Here it is again (basically I force the second "keypress" to always be the letter A). It would be nice if there was a solution that didn't involve me recompiling MAME every release - but this works ok. I also wrote some code so that MAME says "GAME PAUSED" when you pause it. I kept walking over to my cabinet and a roommate would have a game paused and I'd think the cabinet was frozen because it didn't respond to any of the joystick or button presses.
Joseph Elwell.

[code]
diff -c -r ..\/src/usrintrf.c ./src/usrintrf.c
*** ..\/src/usrintrf.c

jelwell:
You can kind of make out my "Save Game" "Load Game" buttons on my control panel in this shot:
http://www.singleclick.com/gallery/album288/DSC05890

Games that don't work with SAVE/LOAD? F@#$ em. What are you gonna do? Is there anything that one could programatically look at to notify the user that this isn't going to work when they hit the SAVE button?
Joseph Elwell.

Lilwolf:
Cool!  I would love to see this in the next NoNameMame if it ever shows up (I keep hoping :) )

I would also love to see some triggers happen on key press and another on key release...  So I can have a one button speed up (similar to final burn) that would unthroddle, and possible change to frameskip 11... then turn back to throddled and frameskip 0 (or original)..

I really have to start working on the mame code a bit more.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version