SRAM bug
Moderator: ZSNES Mods
SRAM bug
There seems to be a bug in the 10/19 WIP concerning the SRAM. I'm not smart enough to say what is going on, so I'll have to give an example and let other people figure it out.
I had two games that use srm files, Final Fantasy 3 and FM - Gun Hazard. I opened up FF3 in Zsnes and before I loaded the save I opened Gun Hazard. Without doing anything in Gun Hazard I opened up FF3 and the save was erased. I don't know if it matters, but Gun Hazard's srm is now 64kb instead of the 8kb it should be.
It isn't just these two games that are the problem. I've now lost four save games (Chrono Trigger once, Monstania once, and Gun Hazard twice) due to this bug.
Monstania didn't even require loading another game. I had a save at the end of the game, but just started a new game to quickly look at the bug mentioned in the "Official Bugs" thread. When it froze I just quickloaded Monstania again and the save was gone.
I had two games that use srm files, Final Fantasy 3 and FM - Gun Hazard. I opened up FF3 in Zsnes and before I loaded the save I opened Gun Hazard. Without doing anything in Gun Hazard I opened up FF3 and the save was erased. I don't know if it matters, but Gun Hazard's srm is now 64kb instead of the 8kb it should be.
It isn't just these two games that are the problem. I've now lost four save games (Chrono Trigger once, Monstania once, and Gun Hazard twice) due to this bug.
Monstania didn't even require loading another game. I had a save at the end of the game, but just started a new game to quickly look at the bug mentioned in the "Official Bugs" thread. When it froze I just quickloaded Monstania again and the save was gone.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Was this present in previous versions?
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
I just downloaded and tested in the 9/20 WIP. It didn't erase the saves.
Edit: If I just open a game that normally doesn't leave any srm (I used Castlevania 4) it leaves a 64k srm file for some reason.
My computer buggered up earlier this week and now I'm worried/thinking that that might be the cause of this problem. I thought I fixed any problems, but perhaps there's some stray dll somewhere that isn't quite working properly that's causing this problem (I downloaded a fresh install of the 10/19 and it was borked as well). I just can't remember which came first, the computer buggering or the first save deletion.
Edit: If I just open a game that normally doesn't leave any srm (I used Castlevania 4) it leaves a 64k srm file for some reason.
My computer buggered up earlier this week and now I'm worried/thinking that that might be the cause of this problem. I thought I fixed any problems, but perhaps there's some stray dll somewhere that isn't quite working properly that's causing this problem (I downloaded a fresh install of the 10/19 and it was borked as well). I just can't remember which came first, the computer buggering or the first save deletion.
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
Questions:
Options->Sram check&Save toggled on or off ?
Cannot reproduce this bug in zsnesl cvs.
Options->Sram check&Save toggled on or off ?
Cannot reproduce this bug in zsnesl cvs.
皆黙って俺について来い!!
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)
Yeah, I tried it once with sram check and save toggled on and it still deleted the save.
I just downloaded the dos 10/19 because I figured it wouldn't use any windows files that might be buggered, but it had the same problem for me. Maybe the solution is as simple as my computer being evil and hating me.
I just downloaded the dos 10/19 because I figured it wouldn't use any windows files that might be buggered, but it had the same problem for me. Maybe the solution is as simple as my computer being evil and hating me.
-
- New Member
- Posts: 5
- Joined: Sun Oct 24, 2004 5:30 pm
I'm having the same problem, since I've started using ZSNES WIP 10/19, I've lost saves in a good deal of my games, including all of the DKC games, Crono Trigger, Final Fantasy 6 and a bunch of others that don't come to mind at the moment.
I've tried messing around with Sram check & Save, but it doesn't seem to help. I treid going back to older ZSNES versions to see if 10/19 was just failing to load certain .srm files, but the I only found that my saves we're indeed erased.
I hope this is corrected soon, so I can enjoy the new SuperFx fixs without risking losing my save data.
I've tried messing around with Sram check & Save, but it doesn't seem to help. I treid going back to older ZSNES versions to see if 10/19 was just failing to load certain .srm files, but the I only found that my saves we're indeed erased.
I hope this is corrected soon, so I can enjoy the new SuperFx fixs without risking losing my save data.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
I think I know what's going on, I will try to fix this time permitting.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Okay I got in a fix for this problem. Unforunetly ZSNES has some major SRAM/Battery issues and I don't have the time or the energy right now to fix it all the way it should be.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- New Member
- Posts: 5
- Joined: Sun Oct 24, 2004 5:30 pm
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Some games that don't have a battery are saving SRAM. Some games also don't have large enough SRAM.Cecil wrote:I just read the changelog for the 10/24 WIP, and was wondering what the other SRAM problems were?
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
Having a stange problem with SRAM too...
Hello. I was going to start another topic regarding my problem but it seems like this thread is SRAM related so...
I have assigned the exit key of Zsnes to the space bar for convenience but every time I exit via my assigned exit key a .srm file for that particular game is created in the Zsnes directory.(This only happens for games with the battery save feature. Normal games are not effected) I have set my save path to a save directory and Zsnes will save .srm files in that path. This problem only manifests itself when I press an assigned exit key and not when I choose quit through the GUI. Have I found a bug or is this normal for Zsnes to do this?
This problem is not a big one it's just that I'm curious why Zsnes does this. Also I'm worried that there might be a conflict having two .srm files for the same game. And I like to keep things tidy on my comp too.
Is there a way to stop Zsnes from saving .srm files in its home directory when pressing the exit key? I’m using ZSNESW_1024 Thank you
I have assigned the exit key of Zsnes to the space bar for convenience but every time I exit via my assigned exit key a .srm file for that particular game is created in the Zsnes directory.(This only happens for games with the battery save feature. Normal games are not effected) I have set my save path to a save directory and Zsnes will save .srm files in that path. This problem only manifests itself when I press an assigned exit key and not when I choose quit through the GUI. Have I found a bug or is this normal for Zsnes to do this?
This problem is not a big one it's just that I'm curious why Zsnes does this. Also I'm worried that there might be a conflict having two .srm files for the same game. And I like to keep things tidy on my comp too.
