auto save/load

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
rlbond
Hazed
Posts: 82
Joined: Tue Jul 12, 2005 5:13 am

auto save/load

Post by rlbond »

this feature doesn't seem to work as expected. I expect it to save state when I quit (to some separate state), and load that state when I start the game back up, but it doesn't do this?

Using latest WIP.
To truly own, you must own at all games.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Last I checked, it saves and load from .zss, so you'll have to be more specific.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

It does work with the latest WIP... I think you mean latest SVN though.

If you are sure it is the latest WIP, please let us know which options in Config->Saves are checked.

Edit: Ok, I believe it is now addressed in SVN.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
rlbond
Hazed
Posts: 82
Joined: Tue Jul 12, 2005 5:13 am

Post by rlbond »

I didn't really think of what the problem was. To be more specific, auto save/load DOES NOT WORK when a ROM is loaded as a command line argument. It only works when loading the ROM from the load menu. Similarly, it does not save when you use the exit button (assigned from the gui keys menu), only when you select file>quit.
To truly own, you must own at all games.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Auto Save/Load may not be operating the way you think it should.

A "special" savestate is created for those who visit (enter/exit) the GUI and when a new rom is loaded. The next load of the same rom will take you back to the same point you attempted to load a rom ("as if nothing happened"). So when you're passing in the command line, I believe the savestate from the command line takes precedence over this option. On the other hand, the exit button bypasses the GUI, which ends up not saving at all.

Arg.. the docs description is not entirely correct. In any case, this is how it operates currently.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
rlbond
Hazed
Posts: 82
Joined: Tue Jul 12, 2005 5:13 am

Post by rlbond »

Here's what I am doing... I am double-clicking the ROM I want to play. Then it doesn't load the auto savestate. It SHOULD load it, is what I'm saying.
To truly own, you must own at all games.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

rlbond wrote:Here's what I am doing... I am double-clicking the ROM I want to play. Then it doesn't load the auto savestate. It SHOULD load it, is what I'm saying.
Mmm, I guess it probably "should". That feature (double clicking to open the rom) passes stuff through the command line, which I believe currently ignores the use of "Auto State Save/Load".
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
rlbond
Hazed
Posts: 82
Joined: Tue Jul 12, 2005 5:13 am

Post by rlbond »

is there a way to load the auto savestate through the command line? that would be fine with me, as I could easily whip up a batch file to pass the appropriate parameter.
To truly own, you must own at all games.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Actually, we will address the issue directly. Loading from the command line should be just the same as loading from the GUI (except when loading a specific savestate), and quitting ZSNES on exit via the hotkey should also save the save before exiting.

It should be added relatively soon.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Ok, the quick exit key option now saves the state when Auto State Save/Load is enabled. I haven't been able to address loading via command line though.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Ok, both should have been implemented properly in SVN.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Post Reply