06 May 2022, 00:25 | #1 |
Registered User
Join Date: Dec 2017
Location: UK
Posts: 22
|
Alien Breed Special Edition save states
I've been experiencing a lot of crashes trying to restore save states in this game (WHDLoad version). Namely trying to view the portable map or login to the ship's computer after restoring a state. This crashes to Workbench with a "resload_FlushCache" error having "modified the VBR".
The solution seems to be loading the first level and logging in to the first computer, then load the save state from there as it seems to restore a critical component to the game's memory. I've also witnessed permanent alien sprite glitches when saving the state on the level transition screen, so wait until in-game or in a ship computer, and keep multiple saves in case something goes wrong. |
06 May 2022, 09:59 | #2 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,160
|
I remember "completing" the game using ARIII savestates on my A500 back in the days
Specially the last maze level. Horrible. |
06 May 2022, 13:56 | #3 |
Old retro god.
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 857
|
I'm probably wrong, but I seem to remember Toni mentioning issues with save states and WHD's.
No doubt JIT if on does not help.. |
06 May 2022, 14:18 | #4 |
Retro Gamer
Join Date: Jan 2005
Location: Underworld
Age: 51
Posts: 4,058
|
IIRC save states for WHDLoad are not completely supported, meaning - you play at your own risk. From what I remember, save state and HD position/files can mismatch, crashing Amiga. Just use ADFs if you plan to use Save States. (that is what I do )
Last edited by Anubis; 06 May 2022 at 21:16. |
06 May 2022, 14:24 | #5 |
Old retro god.
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 857
|
Ah, good, nice to know it wasn't my memory playing tricks..
|
06 May 2022, 15:53 | #6 |
Registered User
Join Date: Dec 2017
Location: UK
Posts: 22
|
I use an A1200 config with fast ram for WHDLoad, faster but cycle-exact clock speed and no JIT.
From what I have learnt, the recent A500 Mini uses WHDLoad, save states and includes this game. I wonder how it performs on that platform using the save states. |
07 May 2022, 12:25 | #7 |
Registered User
Join Date: Dec 2017
Location: UK
Posts: 22
|
Footage from the A500 Mini version of the game shows that upon loading the second level, the screen immediately transitions to the level map as if the player had purchased the Remote Location Scanner and pressed 'M' to view the map. I assume the problem was identified so something happens in the background to load in the missing piece before opening the ship's computer/map into memory, so a crash never occurs.
|
07 May 2022, 13:42 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
|
07 May 2022, 15:11 | #9 |
Registered User
Join Date: Dec 2017
Location: UK
Posts: 22
|
|
07 May 2022, 15:35 | #10 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
I know what it technically means but it makes no sense because VBR (68010+ CPU register) is restored with statefile.
|
07 May 2022, 18:10 | #11 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,160
|
whdload checks that program doesn't change some special locations whenever it has a chance (not in interrupts, though)
When the slave flushes the caches (after loading for instance), whdload checks that the program didn't write into VBR registers (the VBR that whdload installs to supervise zero page interrupts) just in case the machine doesn't have a MMU installed. |
11 May 2022, 18:29 | #12 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Yeah, but VBR is obviously restored (or nothing would work) which makes this confusing...
Does it work if you save state when in games menu screen. Quick emulator immediately after saving. Then restore state directly. Does game work or still crash when it starts loading new data? Does WHDLoad PRELOAD parameter change anything? |
11 May 2022, 19:06 | #13 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,160
|
preload should definitely be used just because save states and hard disk read dont mux too well
|
12 May 2022, 22:05 | #14 | |
Registered User
Join Date: Dec 2017
Location: UK
Posts: 22
|
Quote:
Saving a state within the ship computer menu on the first level, quit emulator, reload state, logout of computer and log back in still crashes. Uncommenting Preload still crashes. |
|
12 May 2022, 22:09 | #15 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,160
|
do you have JIT enabled by chance?
|
13 May 2022, 00:02 | #16 |
Registered User
Join Date: Dec 2017
Location: UK
Posts: 22
|
Not in this case: A stock A1200 with a cycle-exact 42.562740 CPU frequency (6 x A500 @ 7.093790), rev 40.68 kickstart ROM, 4MB Z2 Fast memory, Workbench 3.1 rev 40.42 on an HDF at DH0 and PC-linked folders on DH1-DH3 for Retroplay's pre-installed games including the latest Alien Breed Special Edition (1998), WHDLoad v18.7. |
13 May 2022, 07:44 | #17 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,160
|
ok
Have you tried other save states of other games? Have you tried running the game from hardfile instead of windows partitions? |
13 May 2022, 11:32 | #18 | |
Registered User
Join Date: Dec 2017
Location: UK
Posts: 22
|
Quote:
While some games seem to load correctly in some places, Cannon Fodder produces similar VBR errors by saving states during level transitions, such as during the helicopter animation before each mission. Reloading a state during the helicopter scene produced a 'resload_LoadFileDecrunch' error (uncompress data in memory according to the WHDLoad website). That time WinUAE warns of saving a state. The HDF version of Cannon Fodder seems to work correctly, but I haven't found an HDF of Alien Breed to test that game. As others have suggested it seems like a combination of save states and WHDLoad is the issue. |
|
13 May 2022, 21:35 | #19 |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,957
|
I can suspect that problem is related then new/different interrupt routine is used for different parts of this game (old one interrupt is overwritten by new interrupt). And WinUAE dont restored/set correctly something related with VBR.
|
13 May 2022, 21:52 | #20 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,160
|
well, copy the Alien Breed files to a mounted HDF and you're done.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Alien Breed Special Edition 92 money bug | mako2000 | Retrogaming General Discussion | 0 | 21 January 2021 14:24 |
Alien Breed Special Edition 1992 | Crazy C | support.Games | 0 | 23 June 2017 18:43 |
Alien Breed Special Edition 92 | spannernick | support.Games | 1 | 04 June 2016 19:50 |
Alien Breed 3D Special Edition ever released? | Firestone | support.Games | 25 | 05 January 2016 23:04 |
Alien Breed Special Edition'92 - special level | mailman | Nostalgia & memories | 7 | 14 April 2010 09:03 |
|
|