Opened 5 months ago
Closed 5 months ago
#15212 closed defect (fixed)
SCI: PEPPER: Crash with savegame made with ScummVM's dialog
Reported by: | eriktorbjorn | Owned by: | sluicebox |
---|---|---|---|
Priority: | normal | Component: | Engine: SCI |
Version: | Keywords: | ||
Cc: | Game: | Pepper's Adventures in Time |
Description
This happens to me in Pepper's Adventures in Time (from Sierra's School House: Math). I don't know if other games are similarly afflicted. I tried a few, but couldn't reproduce it there.
Steps to reproduce:
- Start the game and select chapter 1. Wait for the main music to begin.
- Save the game using ScummVM's save dialog. (Either by using the game's toolbar icon, or by using ScummVM's menu, it doesn't seem to make any difference.)
- Load this savegame.
- Open the Restore dialog through the game's toolbar icon. (It won't happen if you open it through the ScummVM menu, apparently.) When the dialog appears, press Cancel. (It doesn't matter if you use the original dialogs or ScummVM's dialogs at this point.)
The game crashes with the following message:
ERROR: [pepper-1.000 120/0 kSetCursor @ 0679]: view resource 0 not found!
Savegames made with the original save dialog do not seem to have this problem.
Change History (4)
comment:1 by , 5 months ago
comment:2 by , 5 months ago
I see the problem; patchGameSaveRestoreSCI16 is broken. There's a TODO that says as much. It will take some script research to get it right. Good catch!
comment:4 by , 5 months ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixes newly created saves
Note:
See TracTickets
for help on using tickets.
Here's what the "bt" debugger command says:
When using a good savegame, the parameters to kSetCursorSci11() were 903, 0, 2.
When using a bad savegame in the same spot, the parameters to kSetCursorSci11() were 0, 0, 0.
That's as far as I'll get debugging this on my own.