[Scummvm-tracker] [ScummVM :: Bugs] #14353: Unavowed (AGS), game crashes at the Staten Island stage.
ScummVM :: Bugs
trac at scummvm.org
Thu Mar 23 11:51:56 UTC 2023
#14353: Unavowed (AGS), game crashes at the Staten Island stage.
--------------------+--------------------------
Reporter: Hukadan | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: AGS
Version: | Resolution:
Keywords: | Game:
--------------------+--------------------------
Comment (by antoniou79):
I can reproduce this on Windows with a fresh master HEAD build (2.8git).
There are two issues here:
- The debug message is wrongly formatted (easy to fix)
- The game needs an extra sound channel (a 9th one) but it is assigned a
maximum of 8 based on the game's detected AGS version --which in this case
is kGameVersion_350 (50)).
A tentative fix is to change this line:
https://github.com/scummvm/scummvm/blob/0a90e4227c382b168337f2580da4f360ded639e9/engines/ags/engine/game/game_init.cpp#L373
From:
{{{
if (_G(loaded_game_file_version) < kGameVersion_360) {
}}}
to:
{{{
if (_G(loaded_game_file_version) < kGameVersion_350) {
}}}
However, I cannot tell if this is a good/safe fix (do games with version
>= 350 use more than 8 channels in general? is unavowed detected as 350
but is actually a higher version?) or if it's a bug on the upsteam code
(which also uses version kGameVersion_360 for the comparison).
--
Ticket URL: <https://bugs.scummvm.org/ticket/14353#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list