The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: kenno on October 10, 2012, 01:58:13 am

Title: Single button quick save / quick load in MAME
Post by: kenno on October 10, 2012, 01:58:13 am
Hello,

I have been looking around a few forums trying to figure out how to get quick save / quick load working in MAME.
I can save / load using the default buttons but they prompt for which slot to save to / load from.
Is there something I'm missing in the configuration or something that can be modified within MAME to be able to do a quick save / load?

Thanks,

Ryan
Title: Re: Single button quick save / quick load in MAME
Post by: Venomouse on November 07, 2012, 05:58:44 am
I have my system setup with two keys mapped (1 button for save) always saves to slot 1) and one button to automatically load from slot one.

Press tab for settings >
Input General >
user Interface >
Set the Save state and Load state buttons here.

hope that helps Though I've probably missed what you meant :)
Title: Re: Single button quick save / quick load in MAME
Post by: equlizer on December 02, 2012, 04:16:07 am
you still need to press button 1 on the keyboard to save/load :(

how do you compile mame to set one quickload save and load?
Title: Re: Single button quick save / quick load in MAME
Post by: BadMouth on December 02, 2012, 09:15:16 am
you still need to press button 1 on the keyboard to save/load :(

how do you compile mame to set one quickload save and load?

I usually link to Mr. Do's compiling guide, but the site that hosts it is down temporarily.

You can try Headkaze's MAME compiler:
http://www.headsoft.com.au/index.php?category=mame&page=mc64 (http://www.headsoft.com.au/index.php?category=mame&page=mc64)

The changes will need to be made to the source code by hand before compiling.
Title: Re: Single button quick save / quick load in MAME
Post by: equlizer on December 03, 2012, 08:03:58 pm
Thank you for the help but.....I dont know code so i have no idea what to add and where to add it too when re-compiling :(  I also want Z axis added as well.
Title: Re: Single button quick save / quick load in MAME
Post by: byancey on January 10, 2015, 09:52:10 pm
I realize this is an old thread, but I just ran into this issue myself on MAME v0.154.  There's still no support in MAME for a quick-load/quick-save function that is suitable to map to a single button on a control panel.   Since I build MAME from source, I went ahead and added support for this myself.  This effectively adds 3 load buttons and 3 save buttons that map to slots 1, 2, and 3 (same as hitting F7 followed by 1, 2, or 3 to load or SHIFT-F7 followed by 1, 2, 3 to save).  They are assigned to keys 1, 2, 3 and SHIFT-1, SHIFT-2, SHIFT-3 by default, but can be changed from the mame key mappings (TAB button menu). 

I've attached a patch file with the changes.  The patch file is based on v0.154 of mame.  Thought this might be useful for others who have the ability to re-build MAME themselves.  Even if you can't apply the patch directly, the changes are fairly easy to understand if you are familiar with C/C++.
Title: Re: Single button quick save / quick load in MAME
Post by: vaderag on November 02, 2022, 07:10:08 am
Okay, really REALLY old thread but I'm going around in circles here...

I DEFINITELY had MAME saving with one button F5 and loading with F6 without any input for a number previously.
I don't recall compiling a new version of mame for this, yet I've just re-started building my cab and I can't find out how to do this... I don't think I used an AHK script either as I didn't ever see the popup

I've found a few threads on this (below) but no clear answer...
http://forum.arcadecontrols.com/index.php?topic=123140.0
http://forum.arcadecontrols.com/index.php?topic=114190.0
http://forum.arcadecontrols.com/index.php/topic,33233.0.html

Can anyone advise how to do this in the latest version of Mame?
Thanks!