English Amiga Board


Go Back   English Amiga Board > Support > support.OtherUAE

 
 
Thread Tools
Old 19 February 2021, 22:07   #1
Fenris
Registered User

 
Join Date: Feb 2020
Location: Prague
Posts: 29
WHD and Save states.

Hi guys, just to confirm, as I understand as for today save states and WHD loads do not work together very well, right?
I'm mostly using a rpi 400 with Amibian or Pimiga, but the issue can be related to WinUAE as well.
Is there any workaround that I might not be aware of for saving WHD states?


Thank you.
Fenris is offline  
Old 19 February 2021, 23:13   #2
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 49
Posts: 5,089
problem is: save states don't mix well with hard disk state.

But if you use PRELOAD and a lot of memory in your emulator (at least enough to preload the game fully) then it works.
jotd is offline  
Old 20 February 2021, 10:57   #3
Fenris
Registered User

 
Join Date: Feb 2020
Location: Prague
Posts: 29
Ok, thanks, could you point me to any link or specific infos about how to enable Preload please?
Fenris is offline  
Old 20 February 2021, 11:16   #4
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 49
Posts: 5,089
PRELOAD is enabled in most cases. In .info of the slave, or in command line

Code:
whdload game.slave PRELOAD
jotd is offline  
Old 20 February 2021, 11:46   #5
Fenris
Registered User

 
Join Date: Feb 2020
Location: Prague
Posts: 29
Ok, great, thanks!
Fenris is offline  
Old 20 February 2021, 19:27   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 45
Posts: 24,627
Never use state files with HDFs because very quickly you run in situation where filesystem buffers inside statefile are out of sync with HDF data -> data corruption.

Directory filesystem should work fine, even without preload because there is no Amiga side buffers.
Toni Wilen is offline  
Old 22 February 2021, 23:05   #7
Fenris
Registered User

 
Join Date: Feb 2020
Location: Prague
Posts: 29
Cool, thanks Toni, I'll check that out.
Fenris is offline  
Old 24 February 2021, 17:15   #8
Anubis
Retro Gamer

Anubis's Avatar
 
Join Date: Jan 2005
Location: Underworld
Age: 48
Posts: 3,123
On FS-UAE I just run into a problem with save state crashing due to HD being out of sync.

If you plan to use Save State, DO NOT make any in game 'saves', like score table update or 'save game' through save procedure. Use only save state and nothing else.
Anubis is offline  
Old 24 February 2021, 17:42   #9
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 49
Posts: 5,089
Yes, good advice. So using user save directory as "ram:" can help (just in case a write triggers because of highscore save for instance)
jotd is offline  
Old Yesterday, 13:57   #10
twenty90seven
twenty90seven
twenty90seven's Avatar
 
Join Date: Jun 2012
Location: Brisbane, Australia
Posts: 157
The PUAE core on Retroarch seems to use save states fine...I am not getting that corruption that seems to happen in FS-UAE. I am using HDF files and WHDLOAD files.
twenty90seven is online now  
Old Yesterday, 14:30   #11
malko
Ex nihilo nihil

malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 3,128
@Fenris : https://eab.abime.net/showthread.php...te#post1315440
malko is offline  
Old Yesterday, 23:18   #12
sonninnos
Commodork

sonninnos's Avatar
 
Join Date: Nov 2018
Location: Finland
Posts: 40
Quote:
Originally Posted by twenty90seven View Post
The PUAE core on Retroarch seems to use save states fine...I am not getting that corruption that seems to happen in FS-UAE. I am using HDF files and WHDLOAD files.
Precisely because it will not write anything to the game HDF, but uses "SavePath" to throw them to a different drive, which by default is in host filesystem mode, not HDF.

Games in LHA form is even more fool proof than that, since they are read only. (Though there are some few slaves that will not obey SavePath, and will fail if it can't write to the game dir.)

And in some cases in-game saves happen without user decision, so simply not using them is not really an option..
sonninnos is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
WHD & Save states? Christolito support.FS-UAE 3 17 May 2014 22:32
Save States Marlon support.WinUAE 9 27 June 2009 04:20
Save States Techx support.WinUAE 1 09 August 2005 20:51
Save States NPI support.Games 5 25 October 2004 22:36

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 04:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.11044 seconds with 14 queries