Opened 22 months ago

Last modified 22 months ago

#9752 new defect

SCI: Save screenshots blocked by menu

Reported by: Kurufinwe21 Owned by:
Priority: low Component: Engine: SCI
Keywords: sci32 good-first-bug Cc:
Game:

Description

Steps to reproduce:

  1. Playing Shivers 1, save your game using the in-game menu.
  2. Try to restore that save from the ScummVM launcher.

The screenshot associated with the save shows the in-game save menu (with the keyboard), instead of the location at which the save was taken. This renders the screenshots useless, since they all look the same.

I don't know if that can easily be fixed, or if it's worth the bother, but I thought I'd report the issue anyway.

I'm attaching a savegame exhibiting the problem.

ScummVM 1.10.0git3203-g00168003fe (May 1 2017 08:13:02) (win32 daily build from the ScummVM website) running on Windows 10 (64 bit).

Game version: Shivers 1.02 Windows English.

Attachments (1)

shivers-win.001 (25.4 KB) - added by Kurufinwe21 22 months ago.
savegame with useless screenshot

Download all attachments as: .zip

Change History (3)

Changed 22 months ago by Kurufinwe21

Attachment: shivers-win.001 added

savegame with useless screenshot

comment:1 Changed 22 months ago by csnover

Keywords: sci32 added

comment:2 Changed 22 months ago by csnover

Game: Shivers 1
Keywords: good-first-bug added
Priority: normallow
Summary: SCI: Shivers: Save screenshots show the save menuSCI: Save screenshots blocked by menu

Thanks for your report! This is a previously known (though not ticketed) issue.

This problem is actually more widespread than just Shivers 1; QFG4 has the same problem (its screenshots are partially blocked by the settings menu). It is probable that even more SCI32 games have this problem, but I can’t think of more offhand (someone will need to go through all the games to find out).

The problem should be resolvable by making some minor changes to save a screenshot thumbnail before the game’s menu appears, instead of at the moment that a game is actually saved.

There are several possible approaches. Here are two I can think of:

  1. Modify game scripts (using ScriptPatcher) to notify ScummVM to save/clear a save screenshot before/after the in-game menu appears, perhaps by adding another ScummVM-specific kernel call similar to kernel calls 0xe0 (kScummVMWaitId) and 0xe1 (kScummVMSaveLoadId).
  1. Monitor the room number or plane list inside the engine, and save/clear a save screenshot before/after the settings/menu plane appears and disappears.

This is a fairly low-complexity, low-priority issue that would be a good first ticket for anyone interested in working on SCI engine.

Note: See TracTickets for help on using tickets.