WHDLoad MantisBT - IndyFateOfAtlantis
View Issue Details
0006406IndyFateOfAtlantis[WHDLoad Installs Games] slavepublic2024-02-08 05:112024-03-22 23:49
Assigned ToJOTD 
StatusclosedResolutionnot fixable 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
ChipMem1 MB
FastMem2 MB
WorkbenchOS 3.1
KickROM40 - Kick 3.1
Summary0006406: Previous Error not fixed yet. "Invalid size allocating string 31 size -1" error still exists


The issue linked above doesn't seem to be fixed. We just downloaded the latest version (Created 2020-12-14) of the WHDLoad and installed it from scratch and then played and tried saving and then loading and it still had the "Invalid size allocating string 31 size -1" error.

Side note: there is an extra parenthesis on line 136 of the installer script. Easily fixed with a single delete.
Steps To Reproduce1. Start the game and play through the first 5 minutes or so opening sequence until you get to the movie theater. (use warp mode if you have an emulator)
2. Save your game (press F1 to start that process).
3. turn off your computer or emulator
4. Start the game and on the title screen press F1 to load your saved game.
5. Thats when the error will appear
TagsNo tags attached.
Attached Files

2024-02-08 20:40   
I can't reproduce this error.
I launched the game (WinUAE), played through the intro sequence.
As soon as I'm on the street at the movie theater I hit F1, select slot 1 and press save and enters a name for my save.
After that I press WHDLoad quit key (I have my global quitkey set to $5d in WHDLoad.prefs (numpad *).
Start game up again, hit F1 and load my saved game no problems.

Did you just turn off Amiga/close down emulator with out exiting the game with WHDLoad quit key?
2024-02-10 05:03   
We turned off the emulator without exiting the game so tomorrow we will try exiting the game with the whdload key.

Out of curiosity why do you think that exiting that way matters?
2024-02-10 07:36   
WHDLoad only writes to disk after exit unless NoWriteCache option is used https://www.whdload.de/docs/en/opt.html#NoWriteCache
2024-03-22 23:49   
probably corrupt save file due to not exiting whdload properly. There a NoFileCache/S option that allows to save immediately, much safer for all users that are trigger-happy with the off switch (happened to me too)

Issue History
2024-02-08 05:11JudgeGroovymanNew Issue
2024-02-08 20:40RetroplayNote Added: 0013584
2024-02-10 05:03JudgeGroovymanNote Added: 0013586
2024-02-10 07:36aardvark82Note Added: 0013587
2024-02-18 19:07StingRayAssigned To => JOTD
2024-02-18 19:07StingRayStatusnew => assigned
2024-03-22 23:49JOTDStatusassigned => closed
2024-03-22 23:49JOTDResolutionopen => not fixable
2024-03-22 23:49JOTDNote Added: 0013631