[Scummvm-tracker] [ScummVM :: Bugs] #13887: SCUMM: Indy3 (MAC) boxing bell rings 2 times instead of 3
ScummVM :: Bugs
trac at scummvm.org
Thu Oct 20 05:25:55 UTC 2022
#13887: SCUMM: Indy3 (MAC) boxing bell rings 2 times instead of 3
----------------------------+------------------------------
Reporter: dwatteau | Owner: (none)
Type: defect | Status: new
Priority: low | Component: Engine: SCUMM
Version: | Resolution:
Keywords: macintosh,sound | Game: Indiana Jones 3
----------------------------+------------------------------
Comment (by eriktorbjorn):
This isn't a Mac music player issue, as far as I understand. It's just a
sound effect that gets passed on to Sound::playSound(), where it's played
as one of these:
{{{
else if ((_vm->_game.platform == Common::kPlatformMacintosh) &&
(_vm->_game.id == GID_INDY3) && READ_BE_UINT16(ptr + 8) == 0x1C) {
// Sound format as used in Indy3 EGA Mac.
// It seems to be closely related to the Amiga format, see
player_v3a.cpp
// The following is known:
// offset 0, 16 LE: total size
// offset 2-7: ?
// offset 8, 16BE: offset to sound data (0x1C = 28 ->
header size 28?)
// offset 10-11: ? another offset, maybe related to
looping?
// offset 12, 16BE: size of sound data
// offset 14-15: ? often the same as 12-13: maybe loop
size/end?
// offset 16-19: ? all 0?
// offset 20, 16BE: rate divisor
// offset 22-23: ? often identical to the rate divisior?
(but not in sound 8, which loops)
// offset 24, byte (?): volume
// offset 25: ? same as volume -- maybe left vs. right
channel?
// offset 26: ? if != 0: stop current sound?
// offset 27: ? loopcount? 0xff == -1 for infinite?
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/13887#comment:6>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list