19 February 2021, 21:07 | #1 |
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. |
19 February 2021, 22:13 | #2 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
|
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. |
20 February 2021, 09:57 | #3 |
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?
|
20 February 2021, 10:16 | #4 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
|
PRELOAD is enabled in most cases. In .info of the slave, or in command line
Code:
whdload game.slave PRELOAD |
20 February 2021, 10:46 | #5 |
Registered User
Join Date: Feb 2020
Location: Somwhere close
Posts: 100
|
Ok, great, thanks!
|
20 February 2021, 18:27 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
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. |
22 February 2021, 22:05 | #7 |
Registered User
Join Date: Feb 2020
Location: Somwhere close
Posts: 100
|
Cool, thanks Toni, I'll check that out.
|
24 February 2021, 16:15 | #8 |
Retro Gamer
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. |
24 February 2021, 16:42 | #9 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
|
Yes, good advice. So using user save directory as "ram:" can help (just in case a write triggers because of highscore save for instance)
|
25 February 2021, 12:57 | #10 |
twenty90seven
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.
|
25 February 2021, 13:30 | #11 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,856
|
|
25 February 2021, 22:18 | #12 | |
Commodork
Join Date: Nov 2018
Location: Finland
Posts: 82
|
Quote:
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.. |
|
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 |
|
|