The NEW Build Your Own Arcade Controls

Front End Support => Maximus Arcade => Topic started by: Strongit on July 26, 2010, 03:24:17 pm

Title: SNES not saving when returning to game select menu
Post by: Strongit on July 26, 2010, 03:24:17 pm
I'm having an issue with the SNES emulator, zsnes, not saving games when I exit and return to the frontend.  It works fine through windows.  This was a topic in the old forums and I can access the first page through Google's cache, but there wasn't a solution on the first page.

http://maximusarcade.com/forum/index.php?f=3&t=139&rb_v=viewtopic (http://maximusarcade.com/forum/index.php?f=3&t=139&rb_v=viewtopic)

I've tried several things to get it to work but to no avail.  The only thing that seems to work but it a huge pain is loading a new rom from within the emulator, then returning to the front end.  If anyone knows how to work around this, let me know.
Title: Re: SNES not saving when returning to game select menu
Post by: Frigo on July 27, 2010, 03:49:01 pm
Try opening up youe zsnes.cfg file and locate the following section:

Quote
;  ----
; -- Saves --
;  ----

; Number of Rewind States [0..99]
RewindStates=8
; Delay between rewinds [1..99] - (1 = 200ms, 5 = 1s, 10 = 2s)
RewindFrames=15

; Don't Save SRAM (0 = NO, 1 = Yes)
; Only enable this if you don't want to Save SRAM at any given time.
; This option will make Update SRAM in Real-Time useless.
nosaveSRAM=0

; Update SRAM in Real-Time (0 = NO, 1 = Yes)
; This is useful if you fear something will prevent ZSNES from exiting normally.
; It is required to play games that store important values directly to SRAM.
; ZSNES normally updates SRAM on exit.
; If Don't Save SRAM is enabled, this option is useless.
SRAMSave5Sec=0

Change the "SRAMSave5Sec=0" to "SRAMSave5Sec=1", save and exit. That should save the game in real time. What's happening (and this happens with a lot of Front Ends from time to time) is that Maximus is killing the ZSNES process, and not allowing the game to save it's SRAM state. By doing this, you force the emulator to save in real time, so when the process is killed, the save is made. Give it a shot and see how it works out for you.
Title: Re: SNES not saving when returning to game select menu
Post by: Strongit on July 27, 2010, 08:35:32 pm
Try opening up youe zsnes.cfg file and locate the following section:

Quote
;  ----
; -- Saves --
;  ----

; Number of Rewind States [0..99]
RewindStates=8
; Delay between rewinds [1..99] - (1 = 200ms, 5 = 1s, 10 = 2s)
RewindFrames=15

; Don't Save SRAM (0 = NO, 1 = Yes)
; Only enable this if you don't want to Save SRAM at any given time.
; This option will make Update SRAM in Real-Time useless.
nosaveSRAM=0

; Update SRAM in Real-Time (0 = NO, 1 = Yes)
; This is useful if you fear something will prevent ZSNES from exiting normally.
; It is required to play games that store important values directly to SRAM.
; ZSNES normally updates SRAM on exit.
; If Don't Save SRAM is enabled, this option is useless.
SRAMSave5Sec=0

Change the "SRAMSave5Sec=0" to "SRAMSave5Sec=1", save and exit. That should save the game in real time. What's happening (and this happens with a lot of Front Ends from time to time) is that Maximus is killing the ZSNES process, and not allowing the game to save it's SRAM state. By doing this, you force the emulator to save in real time, so when the process is killed, the save is made. Give it a shot and see how it works out for you.

Beautiful!  Worked like a charm.  Thanks for the help, this was driving me crazy.
Title: Re: SNES not saving when returning to game select menu
Post by: Frigo on July 28, 2010, 10:55:18 am
No problem. FWIW, I had to do the same thing for other emulators, as well. There's almost always a setting either in the .ini or in th GUI itself to allow this. It's just trial and error, really.