WHDLoad MantisBT - UltimaV
View Issue Details
0003846UltimaV[All Projects] Generalpublic2018-04-06 15:092018-04-14 09:54
ReporterTim Felgentreff 
Assigned ToStingRay 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
MachineCDTV
CPU68000
CPUSpeed7
ChipSetOCS
GFXCardNone
ChipMem1 MB
FastMem8 MB
WorkbenchOS 3.1
KickROM40 - Kick 3.1
KickSoftNone
WHDLoad18.3
importedyes
Summary0003846: The game does not load save to disk. It prints that it saved, but there is no
DescriptionGameVersion: english,pal,2 disks
SlaveVersion: 1.2

The game does not load save to disk. It prints that it saved, but there is no HD activity and on restart (NumL for exit doesn't seem to work on original 68000) the game progress was not saved.
TagsNo tags attached.
Attached Files? .whdl_register (3,416) 2018-04-12 19:16
http://mantis.whdload.de/file_download.php?file_id=616&type=bug

Notes
(0006129)
Wepl   
2018-04-06 15:14   
Do you have quit the game properly via the Quit-Key?
WHDLoad caches write operations and will write changes on exit.
(0006130)
Tim Felgentreff   
2018-04-06 15:15   
That would explain it. Quit with the key does not work for me on the 68000 CPU. I have read this is a known issue with whdload on that CPU, and that it might work with a newer CPU. I'll have to upgrade my hardware to try.
(0006131)
Wepl   
2018-04-06 15:44   
You can set option NoWriteCache to force an immediate write operation.
http://whdload.de/docs/en/opt.html#NoWriteCache
(0006136)
Tim Felgentreff   
2018-04-09 09:48   
Setting the NoWriteCache option causes the game to exit with an invalid write exception. I can provide a core dump, if that would be useful. The slave itself does not support a quit-key for the 68000, but using a 68010 I can quit the game using the quit key and then the write is flushed to disk and I can resume the game at the saved position correctly.

Since this is a pretty old slave, if no one has time to update it, I would appreciate if a note could be added to the page saying that it requires a 68010 or better to work.
(0006137)
Wepl   
2018-04-09 22:31   
Can you please make a dump with the invalid write exception and NoWriteCache and attach the .whdl_register file here to this issue?
(0006139)
Tim Felgentreff   
2018-04-12 19:16   
Sorry for the delay, here is the whdl_register file. I have the whdl_dump and whdl_memory files, too, if needed.
(0006140)
StingRay   
2018-04-12 21:36   
I have updated the patch, RawDIC is now used to create the files, 68000 quitkey support has been added and a few other things have been fixed too. Updated patch can be found on the WHDLoad site.
(0006142)
Tim Felgentreff   
2018-04-14 09:44   
Thanks, I just tried with the new patch, works like a charm now.
(0006143)
StingRay   
2018-04-14 09:53   
I'll close this ticket then. :)

Issue History
2018-04-06 15:09administratorNew Issue
2018-04-06 15:14WeplNote Added: 0006129
2018-04-06 15:15Tim FelgentreffNote Added: 0006130
2018-04-06 15:44WeplNote Added: 0006131
2018-04-09 09:48Tim FelgentreffNote Added: 0006136
2018-04-09 22:31WeplNote Added: 0006137
2018-04-12 19:16Tim FelgentreffFile Added: .whdl_register
2018-04-12 19:16Tim FelgentreffNote Added: 0006139
2018-04-12 21:36StingRayNote Added: 0006140
2018-04-14 09:44Tim FelgentreffNote Added: 0006142
2018-04-14 09:53StingRayNote Added: 0006143
2018-04-14 09:54StingRayAssigned To => StingRay
2018-04-14 09:54StingRayStatusnew => resolved
2018-04-14 09:54StingRayResolutionopen => fixed