English Amiga Board


Go Back   English Amiga Board > Support > support.OtherUAE

 
 
Thread Tools
Old 19 February 2021, 21:07   #1
Fenris
Registered User
 
Join Date: Feb 2020
Location: Somwhere close
Posts: 100
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, 22:13   #2
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,160
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, 09:57   #3
Fenris
Registered User
 
Join Date: Feb 2020
Location: Somwhere close
Posts: 100
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, 10:16   #4
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,160
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, 10:46   #5
Fenris
Registered User
 
Join Date: Feb 2020
Location: Somwhere close
Posts: 100
Ok, great, thanks!
Fenris is offline  
Old 20 February 2021, 18:27   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
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, 22:05   #7
Fenris
Registered User
 
Join Date: Feb 2020
Location: Somwhere close
Posts: 100
Cool, thanks Toni, I'll check that out.
Fenris is offline  
Old 24 February 2021, 16:15   #8
Anubis
Retro Gamer
 
Anubis's Avatar
 
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,058
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, 16:42   #9
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,160
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 25 February 2021, 12:57   #10
twenty90seven
twenty90seven
 
twenty90seven's Avatar
 
Join Date: Jun 2012
Location: Brisbane, Australia
Posts: 196
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 offline  
Old 25 February 2021, 13:30   #11
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,856
@Fenris : https://eab.abime.net/showthread.php...te#post1315440
malko is offline  
Old 25 February 2021, 22:18   #12
sonninnos
Commodork
 
sonninnos's Avatar
 
Join Date: Nov 2018
Location: Finland
Posts: 82
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 online now  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
WHD & Save states? Christolito support.FS-UAE 3 17 May 2014 21:32
Save States Marlon support.WinUAE 9 27 June 2009 03:20
Save States Techx support.WinUAE 1 09 August 2005 19:51
Save States NPI support.Games 5 25 October 2004 21: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 14:17.

Top

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