Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: smackifilia on July 12, 2007, 06:15:55 pm

Title: Should be an easy one for all of you
Post by: smackifilia on July 12, 2007, 06:15:55 pm
Is there any way for me have mame bypass the warning and info screens as well as load up a save slot when it loads a rom?  I.E. be like never unplugging the machine and saving the hi-scores? 

Thanks

-smackifilia
Title: Re: Should be an easy one for all of you
Post by: SGT on July 12, 2007, 07:02:58 pm
Quote
Is there any way for me have mame bypass the warning and info screens

See the hi-score patch stickied at the top of this forum.  It also removes many of the warning/info screens.

Quote
load up a save slot when it loads a rom

First, manually create a save state that you want to load automatically.  Then create an ini file with the same name as the rom file and put it into the ini subfolder under mame.  The ini file should have at least the following if you saved it in slot 1.
Code: [Select]
state             1
The game will then automatically load save state number 1 on game startup.
Title: Re: Should be an easy one for all of you
Post by: smackifilia on July 12, 2007, 10:03:36 pm
Thanks! My bad for missing that in the stickies
Title: Re: Should be an easy one for all of you
Post by: u_rebelscum on July 13, 2007, 12:53:34 pm
... load up a save slot when it loads a rom?  I.E. be like never unplugging the machine and saving the hi-scores?   

Enable autosave. 

Quote from mame/docs/windows.txt:
Quote
-[no]autosave

   When enabled, automatically creates a save state file when exiting MAME
   and automatically attempts to reload it when later starting MAME with
   the same game. This only works for games that have explicitly enabled
   save state support in their driver. The default is OFF (-noautosave).

Of course, this only works if mame supports savestate from that game.