[BUG?] per-game savetstates

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
Grahf
"opinionated asshole"
Posts: 29
Joined: Sun Aug 01, 2004 5:36 pm

[BUG?] per-game savetstates

Post by Grahf »

The savestate feature....yeah I'm not sure if this is possible with ZSNES but the current set up makes it easy to accidentally overwrite saved states from other games because all 9 states are shared with all of the games.

Visual Boy Advance emulator (GBA) uses an EXCELLENT savestate set up where all of the savestate positions are unique to each game you play....lots of potential for many different save positions per game.

Anyway, if any of this has been mentioned or clarified before, I ask the devs to forgive my ignorance.

I love ZSNES, please keep up the good work, it is MUCH APPRECIATED!!
Last edited by Grahf on Thu May 26, 2005 6:11 pm, edited 1 time in total.
AspiringSquire
Born to Rule... Impatiently
Posts: 265
Joined: Wed Nov 17, 2004 8:21 pm
Location: Everywhere I want to be.
Contact:

Post by AspiringSquire »

Grahf wrote:Visual Boy Advance emulator (GBA) uses an EXCELLENT savestate set up where all of the savestate positions are unique to each game you play....lots of potential for many different save positions per game.
This is true for ZSNES also...
I don't know how you could possibly be overwriting the data from different games. :?
[url=http://board.zsnes.com/phpBB2/viewtopic.php?t=3298][color=brown]My [u]NES palette[/u][/color][/url] - better colors with any emulator.

"the more you know, and the more you can do... the more you are."
- [url=http://www.danielbohman.com][color=brown][u]daniel bohman[/u][/color][/url]
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Re: [REQ] Custom scanline options and per-game savetstates

Post by Agozer »

Grahf wrote: ...because all 9 states are shared with all of the games.
No they aren't. Are you high?
Last edited by Agozer on Wed May 25, 2005 9:17 pm, edited 1 time in total.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
Starman Ghost
Trooper
Posts: 535
Joined: Wed Jul 28, 2004 3:26 am

Re: [REQ] Custom scanline options and per-game savetstates

Post by Starman Ghost »

Grahf wrote: Also, the savestate feature....yeah I'm not sure if this is possible with ZSNES but the current set up makes it easy to accidentally overwrite saved states from other games because all 9 states are shared with all of the games.
Um................... No. Each game has it's own separate 10 states.
[code]<Guo_Si> Hey, you know what sucks?
<TheXPhial> vaccuums
<Guo_Si> Hey, you know what sucks in a metaphorical sense?
<TheXPhial> black holes
<Guo_Si> Hey, you know what just isn't cool?
<TheXPhial> lava?[/code]
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Re: [REQ] Custom scanline options and per-game savetstates

Post by Nach »

Grahf wrote: Also, the savestate feature....yeah I'm not sure if this is possible with ZSNES but the current set up makes it easy to accidentally overwrite saved states from other games because all 9 states are shared with all of the games.
What in the world are you talking about?
Grahf wrote:Anyway, if any of this has been mentioned or clarified before, I ask the devs to forgive my ignorance.
Forgive ignorance? Where did you even get this whacked out idea from? It isn't this way, nor has it ever been this way.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Grahf
"opinionated asshole"
Posts: 29
Joined: Sun Aug 01, 2004 5:36 pm

Post by Grahf »

I am not on drugs but I admit I am at a complete loss to explain this then....

I just undertook this test to verify....maybe I was delusional, but this is what happened.

If I save to state 1 on ....Castlevania 4....and verify by loading the same state, that's fine.
Then I play Secret of Mana...save to state 1 and verify by loading.

Now I go back to Castlevania 4 and load state 1; the state does not load.
I go back to Secret of Mana and load state 1; it loads.

It is apparent that state 1 has been overwritten by Secret of Mana...or at least that's how I am interpreting it. My interpretation might be completely wrong.

If you guys are saying that this is not a ZSNES feature or that it does not work this way, then I am at a complete loss to explain what is happening.

I also cannot verify that this has ALWAYS been the case for me, as most times I merely assumed it was so.
But every time I try it, that is what happens.

I am using the current May 2005 WIP.

BTW:
I've been using ZSNES for almost two years now.

I am in NO WAY trying to criticize the ZSNES devs or ANYONE. I am merely stating what is happening on my system. Perhaps it's a bug? If not, and not reproducable on your systems then I don't know how to explain it.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Perhaps your ROMs have the same file name?
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Guest

Post by Guest »

You are not delusional my friend there is definately a bug in the save game state(I've posted the problem about it in a recent thread) especially when you use the quicksave and quickload feature.
In my case an older save was loading instead of my recent save which I used to overwrite the old one.
Try loading it from the menu manually more than once and if that doesn't work quickload it a couple of times(F4).One thing to make sure of is to have it on the slot you've saved,that's why I've also requested option for custom slot naming.
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

There is a very definate bug in the savestate code somewhere, at least in the Windows version. If you have a save directory set up, sometimes, ZSNES uses the save directory, sometimes the ROM directory. It seems to switch when writing SRAM, and I'm not sure if SRAM CHECK+SAVE causes the problem or just makes it more annoying.

If you have SRAM CHECK+SAVE enabled, try turning it off.
[u][url=http://bash.org/?577451]#577451[/url][/u]
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

I always had ROMdir separate from SaveDir, and always SRAM check&Save enabled.
Never, in the last 6 years I've been using zsnes, did I encounter such behaviour.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

Just make sure you've deleted your config files sometime in the last two years.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

grinvader wrote:I always had ROMdir separate from SaveDir, and always SRAM check&Save enabled.
Never, in the last 6 years I've been using zsnes, did I encounter such behaviour.
Same here. Odd problem...
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
Nightcrawler
Romhacking God
Posts: 922
Joined: Wed Jul 28, 2004 11:27 pm
Contact:

Post by Nightcrawler »

Agozer wrote:
grinvader wrote:I always had ROMdir separate from SaveDir, and always SRAM check&Save enabled.
Never, in the last 6 years I've been using zsnes, did I encounter such behaviour.
Same here. Odd problem...
Same here.. I Don't have SRAM check&Save enabled though. Still no problem in the past several years.

Try deleting your config files and starting fresh.
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
creaothceann
Seen it all
Posts: 2302
Joined: Mon Jan 03, 2005 5:04 pm
Location: Germany
Contact:

Post by creaothceann »

Or move them / add a _ to the filename / etc.
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

True, I forgot to mention i have not a single ' ' character in either romnames (and thus savenames) or directories.
Underscores are your fucking friends, use them.
Another thing that may have an impact...
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

grinvader wrote:True, I forgot to mention i have not a single ' ' character in either romnames (and thus savenames) or directories.
Underscores are your fucking friends, use them.
Another thing that may have an impact...
I don't use underscores and still haven't had such a problem.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
Grahf
"opinionated asshole"
Posts: 29
Joined: Sun Aug 01, 2004 5:36 pm

Post by Grahf »

Based on your suggestions I have done the following.

- Deleted zsnesw.exe, zsnesw.cfg, and zguicfgw.dat.
- There were three other dat files which I have no idea what they were supposed to do (possibly came from years of downloading extra emulation uilities...mixing up SNES emulators...ips patch programs...etc) so I deleted them.
- Deleted all .ips files and three .fig files (I don't know what the fig files did but they were named after game rom titles).
- Deleted one .rtc file.
- ...I took a deep breath....and deleted all .srms and all .zsts... There were also files with .zs1, .zs2, .zs3, etc all the way up to 9. I deleted all of these files.
- There was also a folder named "NSRT"...I completely forgot why I put that there or what it does, but there were no roms inside so I deleted it too.
- Moved all .smc files and all zipped roms into a seperate folder and re-extracted ZSNESW to the main folder.

I did the test with two games (Castlevania 4 and Secret of Mana, same games I tested a few posts ago)..............and it worked.

Load state 1 on Castlevania and I'm at the gate.
Load state 1 on Secret of Mana and I'm at the naming menu.

Whatever was causing it, it appears to be fixed now.

Thank you for your help. :)
creaothceann
Seen it all
Posts: 2302
Joined: Mon Jan 03, 2005 5:04 pm
Location: Germany
Contact:

Post by creaothceann »

Grahf wrote:- Deleted zsnesw.exe, zsnesw.cfg, and zguicfgw.dat.
I would've just moved them into a subdir named "old", or something like that.
Grahf wrote:- There were three other dat files which I have no idea what they were supposed to do (possibly came from years of downloading extra emulation uilities...mixing up SNES emulators...ips patch programs...etc) so I deleted them.
Same as above.
Grahf wrote:- Deleted all .ips files and three .fig files (I don't know what the fig files did but they were named after game rom titles).
*.fig is a ROM format.
Grahf wrote:- Deleted one .rtc file.
Seems to be some protection.
Grahf wrote:- ...I took a deep breath....and deleted all .srms and all .zsts... There were also files with .zs1, .zs2, .zs3, etc all the way up to 9. I deleted all of these files.
Well done... :roll:
Grahf wrote:- There was also a folder named "NSRT"...I completely forgot why I put that there or what it does, but there were no roms inside so I deleted it too.
Best ROM tool out there...
Grahf wrote:- Moved all .smc files and all zipped roms into a seperate folder and re-extracted ZSNESW to the main folder.
Just use one directory for each ZSNES version... makes life much easier.
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

creaothceann wrote:
Grahf wrote:- Deleted one .rtc file.
Seems to be some protection.
Real Time Clock file, used for games with an RTC such as DKJM2 or FEoEZ.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
creaothceann
Seen it all
Posts: 2302
Joined: Mon Jan 03, 2005 5:04 pm
Location: Germany
Contact:

Post by creaothceann »

Nach wrote:
creaothceann wrote:
Grahf wrote:- Deleted one .rtc file.
Seems to be some protection.
Real Time Clock file, used for games with an RTC such as DKJM2 or FEoEZ.
Ah. Never played them...
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

It's just that kind of build-up that causes bugs in ZSNES. Never ever just re-extract a new executable over your old one.

My path to success:
-Separate ROM dir.
-Separate savestate/srm dir. Specifying a separate dir for these really helps, because you can also keep your ips files there. It keeps your ROM directory clean.
-Sepeare dir for each ZSNES version.

Also, if you ever make a habit of using WIPs, you probably shouldn't specify the same path to your srm files as regular releases. WIPs probably have a higher likelihood of accidentally screwing up your hard work.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
Grahf
"opinionated asshole"
Posts: 29
Joined: Sun Aug 01, 2004 5:36 pm

Post by Grahf »

TY bitcopy, I will use that advice from now on.
Post Reply