English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 17 April 2021, 21:10   #1
AmigaCD32
Registered User
 
AmigaCD32's Avatar
 
Join Date: Aug 2018
Location: Gwent
Posts: 28
Savestates not working

When I try to use the save state function its greyed out.

Anyway I can get this to work?

Thanks
AmigaCD32 is offline  
Old 18 April 2021, 00:42   #2
Jason H
Registered User
 
Jason H's Avatar
 
Join Date: Apr 2013
Location: UK
Posts: 109
Quote:
Originally Posted by AmigaCD32 View Post
When I try to use the save state function its greyed out.

Anyway I can get this to work?

Thanks
Are you loading a WHDLoad game? Save States don't work with WHDLoad games as they are actually Hard Drive images. Only ADF/IPF floppy images use this function.
Jason H is offline  
Old 18 April 2021, 00:56   #3
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
@Jason H
No, Save States also works with WHDLoad games!


@AmigaCD32
Save State is activated after you start something
AMIGASYSTEM is offline  
Old 18 April 2021, 10:06   #4
Jason H
Registered User
 
Jason H's Avatar
 
Join Date: Apr 2013
Location: UK
Posts: 109
Quote:
Originally Posted by AMIGASYSTEM View Post
@Jason H
No, Save States also works with WHDLoad games!

@AmigaCD32
Save State is activated after you start something
Save States are NOT set up for WHDLoad images by default (I just checked my own set-up to confirm).

You can however force this fuction by adding the following lines to the configuration file;

unsafe_save_states = 1
relative_temp_feature = 1
Jason H is offline  
Old 18 May 2021, 20:55   #5
Fenris
Registered User
 
Join Date: Feb 2020
Location: Somwhere close
Posts: 100
I'm trying the settings that Jason_H has suggested, but after a while I still get the "VBR detected" error...
Is there any workaround to this?
Basically save states work up to a certain point, then it stops working at all and gt the error above, same result with two different games.
Fenris is offline  
Old 18 May 2021, 22:05   #6
Jason H
Registered User
 
Jason H's Avatar
 
Join Date: Apr 2013
Location: UK
Posts: 109
unsafe_save_states - so I guess it's not something that is supported and has known issues?

Maybe you can use the ipf/adf files?
Jason H is offline  
Old 18 May 2021, 22:05   #7
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
There is a reason the option is called unsafe_save_states.

The save states are not safe to use in all circumstances. One particular reason is that the disk (hard or floppy) contents are not stored within the savestate. So, if data is stored back to the disk, the disk storage might get out of sync with the savestate, causing inconsistencies and data corruption. This could also happen for floppy-based games btw.

If the game saves data that it later depends on being able to load back again, the game can suffer from issues when using savestates if you "jump back and forth in time" to before and after saving such data. If the game only saves data such as highscore data, it probably won't cause dangerous inconsistencies. So exactly how unsafe it is depends on how the game uses disk storage, and also on how savestates are used.

The only reliable solution to this is to make sure that the save states also contain complete information about data that has been changed on disk (floppy or hard). Maybe in the future (The most simple - but inefficient - implementation of this could simply make a full copy of the disks and store alongside the savestate)

Last edited by FrodeSolheim; 18 May 2021 at 22:13.
FrodeSolheim is offline  
Old 18 May 2021, 22:27   #8
Fenris
Registered User
 
Join Date: Feb 2020
Location: Somwhere close
Posts: 100
I understand, however that's a pity.
A working "save-state" feature would be a huge QoL improvement imho, and would probably provide a more "modern" way to experience many of those Amiga games that do not have an in-game save feature, or where such feature is lacking...

Would be a great plus in the future.
Fenris is offline  
Old 18 May 2021, 23:05   #9
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Quote:
Originally Posted by Jason H View Post
Save States are NOT set up for WHDLoad images by default (I just checked my own set-up to confirm).

You can however force this fuction by adding the following lines to the configuration file;

unsafe_save_states = 1
relative_temp_feature = 1
No, with WinUAE it works perfectly Save State with games WHLoad without the need of any parameter!
AMIGASYSTEM is offline  
Old 18 May 2021, 23:18   #10
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
I don't think there should be any difference in compatibility compared with WinUAE (but I'm of course interested in proofs or strong indications of otherwise).

Note, the option unsafe_save_states does not do anything other than unlocking the GUI for allowing saving/loading state for HD-based configs.

The option relative_temp_feature is required if you use the Launcher's ability to (for example) automatically assemble a WHDLoad hard drive based on config from the online game database and indexed .lha archives. In this case, the automatically generated hard drive gets a new temp path each time you run the game, and relative_temp_feature just instructs the launcher to do this in a way that FS-UAE sees the same paths every time. Otherwise, savestates would definitively not work in these cases.

(It you use static directory hard drives like you would in WinUAE, relative_temp_feature option is not needed)

Last edited by FrodeSolheim; 18 May 2021 at 23:47.
FrodeSolheim is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Savestates with hdf? rsn8887 support.WinUAE 4 16 October 2019 18:11
SaveStates Retro1234 support.WinUAE 3 11 July 2019 23:03
Savestates bladecgn support.WinUAE 18 24 November 2013 10:18
Automatic Savestates Another World request.UAE Wishlist 12 17 January 2009 19:55
autostart savestates: how to? moagt support.WinUAE 2 30 June 2008 22:07

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:17.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10484 seconds with 15 queries