save location bug with zsnes 1.42
Moderator: ZSNES Mods
-
- New Member
- Posts: 6
- Joined: Sun Jan 30, 2005 8:06 pm
save location bug with zsnes 1.42
I currently have zsnes set so that my game saves are in the folder "C:\UNZIPPED\SNES\SAVES". Most of the time the save state files are saved correctly in this folder. However, sometimes the save state files are saved to my zsnes directory instead. This seems to happen randomnly.
It seems that zsnes temporarily changes where it looks for the save states when this happens. For example, if this problem occurs while I am playing, I won't notice it. The save states will be loaded from wherever they were last saved (i.e. the sznes folder or my saves folder). However, when I quit zsnes and play later, it tries to load the save states from the correct directory (my saves folder). In this case, the save state is an older version than the one in the zsnes directory.
I have tried playing with the "don't save current path" setting in the options menu, but this doesn't help.
It seems that zsnes temporarily changes where it looks for the save states when this happens. For example, if this problem occurs while I am playing, I won't notice it. The save states will be loaded from wherever they were last saved (i.e. the sznes folder or my saves folder). However, when I quit zsnes and play later, it tries to load the save states from the correct directory (my saves folder). In this case, the save state is an older version than the one in the zsnes directory.
I have tried playing with the "don't save current path" setting in the options menu, but this doesn't help.
-
- New Member
- Posts: 6
- Joined: Sun Jan 30, 2005 8:06 pm
-
- New Member
- Posts: 6
- Joined: Sun Jan 30, 2005 8:06 pm
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
-
- Rookie
- Posts: 10
- Joined: Wed Nov 03, 2004 2:05 pm
- Location: Yorkshire. UK
Haha.
I wondered where that Super Mario All Stars save had gone.
(It wasn't THAT bad. I only lost 15 minutes worth of play)
Will disabling the 'SRAM Check+Save' option have any detrimental effect?
I just checked, and I did indeed have that checked. (by default yes?)
Useful info anyway if any other saves go MIA...
I wondered where that Super Mario All Stars save had gone.
(It wasn't THAT bad. I only lost 15 minutes worth of play)
Will disabling the 'SRAM Check+Save' option have any detrimental effect?
I just checked, and I did indeed have that checked. (by default yes?)
Useful info anyway if any other saves go MIA...
Nunc est bibendum...
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
Basically, with it off, ZSNES only writes SRAM data (in-game saves) to the hard drive when you quit the game. With it on, ZSNES saves it to disk whenever you save it in-game. If ZSNES quits improperly with it off, you lose your in-game saves.frankbrodie wrote:Will disabling the 'SRAM Check+Save' option have any detrimental effect?
[u][url=http://bash.org/?577451]#577451[/url][/u]
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
Related Link:
http://board.zsnes.com/phpBB2/viewtopic ... 83&start=0
It still occurs in the 1/31 WIP version...
To reproduce in the WIP (and 1.42 official) version:
1) Load ZSNES
2) Make sure SRM Check+Save is not enabled, the Snapshots directory can be undefined or defined to any other valid directory other than the ZSNES directory, and that there are no savestates in the ZSNES directory
3) Load a game (best to use a game that does use SRM aka "battery backup" like FF2)
4) Save a state
5) Quit ZSNES
6) Load ZSNES
7) Enable SRM Check+Save
Load same game used in Step 3
9) Load save state immediately (not necessary, but it will work at this point)
10) Wait approximately 10 secs
11) Attempt to load save state
You will get an error message at this point. Seems to only occur in the Windows+DOS port.
If you attempt to save a savestate at this point, you will find a savestate in the ZSNES directory.
Note: All load/save savestate operations are done via their hotkeys (F2/F4)
http://board.zsnes.com/phpBB2/viewtopic ... 83&start=0
It still occurs in the 1/31 WIP version...
To reproduce in the WIP (and 1.42 official) version:
1) Load ZSNES
2) Make sure SRM Check+Save is not enabled, the Snapshots directory can be undefined or defined to any other valid directory other than the ZSNES directory, and that there are no savestates in the ZSNES directory
3) Load a game (best to use a game that does use SRM aka "battery backup" like FF2)
4) Save a state
5) Quit ZSNES
6) Load ZSNES
7) Enable SRM Check+Save

9) Load save state immediately (not necessary, but it will work at this point)
10) Wait approximately 10 secs
11) Attempt to load save state
You will get an error message at this point. Seems to only occur in the Windows+DOS port.
If you attempt to save a savestate at this point, you will find a savestate in the ZSNES directory.
Note: All load/save savestate operations are done via their hotkeys (F2/F4)
Last edited by Deathlike2 on Mon Jan 31, 2005 11:28 pm, edited 2 times in total.
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
It *should* now be fixed. You'll have to test it once ipher produces a new WIP, since I can't reproduce it here.
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
The 1/31 WIP does not count as "new". This fix just went in in the last hour or so.Deathlike2 wrote:It *should* now be fixed. You'll have to test it once ipher produces a new WIP, since I can't reproduce it here.It still occurs in the 1/31 WIP version...
[u][url=http://bash.org/?577451]#577451[/url][/u]
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
The 2/02 WIP does not fix the problem I have described. In fact, it seems to have generated a new bug altogether (which I have described and cited in the main WIP bug thread). What happens instead is that you cannot even read the savestate as defined by the save directory (or snapshot directory for that matter), because the save directory CHANGES after closing ZSNES for a second time w/o saving to the .cfg file via the GUI.
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am