LAB: Image loading errors crash ScummVM
|Reported by:||SF/philsalv||Owned by:||Strangerke|
|Game:||Labyrinth of Time|
There are two points in The Labyrinth of Time where the game will attempt to load image files that do not exist. In the DOS version and Windows re-release, the engine handles these errors by displaying a black image in the viewport. ScummVM crashes instead.
Scene 89: Manually opening the door to the saloon (while facing east) attempts to load SPICT/W/W.57A (or PICT/W/W.57A in the low-resolution DOS version).
These files were missing in the original DOS release, and the engine displayed a black image in its place. ScummVM crashes instead.
(SPICT/W/W.57A was added to the Windows re-release and behaves normally with that version.)
Scenes 121/122: Entering the Ziggurat without a lit lantern is meant to load an intentionally black image file (SPICT/ZIGINT/BLK or PICT/ZIGINT/BLK). However, in both the DOS and Windows versions, the filename is different (SPICT/ZIGINT.BLK or PICT/ZIGINT.BLK).
In prior releases, the engine handled the error by displaying a black image anyway, so it was never clear that something was wrong. ScummVM crashes instead.
Save files attached for viewing both of these. The second save file loads Scene 111, which allows you to enter the Ziggurat.
Reproduced in ScummVM 1.8.0git6220-g792ae03 (Jan 23 2016 05:15:05), Win32
Ticket imported from: bugs/6993.