[Scummvm-tracker] [ScummVM :: Bugs] #14663: SCUMM: INDY3 (MAC) Missing sound effect

ScummVM :: Bugs trac at scummvm.org
Sun Oct 15 13:55:24 UTC 2023


#14663: SCUMM: INDY3 (MAC) Missing sound effect
-------------------------+------------------------------
Reporter:  eriktorbjorn  |       Owner:  (none)
    Type:  defect        |      Status:  new
Priority:  normal        |   Component:  Engine: SCUMM
 Version:                |  Resolution:
Keywords:                |        Game:  Indiana Jones 3
-------------------------+------------------------------
Comment (by eriktorbjorn):

 It seems that the fifth byte of every music resource is 0x7f, which is
 apparently some sort of "priority"? None of the other sounds seem to have
 that value there though the purpose of that byte in a digitized sound is
 not known.

 The condition to identify an Indy 3 Mac digitized sound currently is:

 {{{
 else if ((_vm->_game.platform == Common::kPlatformMacintosh) &&
 (_vm->_game.id == GID_INDY3) && READ_BE_UINT16(ptr + 8) == 0x1C) {
 }}}

 Where READ_BE_UINT16(ptr + 8) is speculated to be some sort of header
 length. Unfortunately, sound 7 has a different value there. Perhaps it
 should be changed to

 {{{
 else if ((_vm->_game.platform == Common::kPlatformMacintosh) &&
 (_vm->_game.id == GID_INDY3) && ptr[4] != 0x7f) {
 }}}

 That does seem to fix the problem, but I do wish we had something more
 solid to stand on...
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14663#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list