Opened 2 months ago

Closed 2 months ago

Last modified 2 months ago

#15545 closed defect (fixed)

AGS: Maniac Mansion Deluxe - issues with inventory scrolling

Reported by: Thelypody Owned by: tag2015
Priority: normal Component: Engine: AGS
Version: Keywords:
Cc: Game:

Description

ScummVM version: ScummVM 2.9.0pre11136-g58e882e1877 (Nov 30 2024 14:33:42)
Game: Maniac Mansion Deluxe v1.4
OS: Windows 11 Enterprise 23H2 22631.4460

The game uses an inventory similar to Day of the Tentacle with items represented by icons. Once a character has more items than fit on screen, arrow buttons appear which let you scroll the inventory up and down. With large inventory scrolling for several rows there appears to be an issue where pressing the button will not scroll item list immediately (how it is supposed to work), but rather the game would wait for player to move cursor away from a button before updating displayed item rows. This makes handling items a bit more awkward than it supposed to be.
I tried to compare the behavior to the original game executable running in 86box emulator with Windows 98 installed and I couldn't reproduce the problem there, leading me to think that it is a ScummVM issue.

Change History (3)

comment:1 by tag2015, 2 months ago

Hi, thanks a lot for finding this issue!
This particular bug was fixed in commit f1ce814, however, in the recent update to AGS 3.6.1, the WriteInt function changed and the commit was partially lost.

Just an advice for future testing: the AGS engine in ScummVM was not created from scratch, it's a port of the upstream AGS engine, currently we match version 3.6.1.29. You should use this interpreter to compare the behavior with ScummVM, so we can immediately find out if the issue happens in both or only in ScummVM's implementation.
Thanks!

comment:2 by tag2015, 2 months ago

Owner: set to tag2015
Resolution: fixed
Status: newclosed

In 162802ba:

AGS: Fix game.top_inv_item script variable not working (again)

This completes commit f1ce81461e40dcf924c9d63aef8e0744bc5b74ce
that was only partially working after the update to AGS 3.6.1
Fix #15545

comment:3 by tag2015, 2 months ago

In 4e520920:

AGS: Fix game.top_inv_item script variable not working (again)

This completes commit f1ce81461e40dcf924c9d63aef8e0744bc5b74ce
that was only partially working after the update to AGS 3.6.1
Fix #15545

Note: See TracTickets for help on using tickets.