Opened 17 years ago
Closed 17 years ago
#3543 closed defect (fixed)
COMI: Wrong music when escaping from the snake
Reported by: | eriktorbjorn | Owned by: | aquadran |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: | Monkey Island 3 |
Description
Latest SVN snapshot English version of the game
When you escape from the snake, it should sound something like this: http://www.update.uu.se/~d91tan/ScummVM/snake.ogg
I think that the music that starts right before the belch is at the end of the "inside the snake" music that was playing before that.
ScummVM starts playing the "inside the snake" music from the beginning instead.
Ticket imported from: #1861704. Ticket imported from: bugs/3543.
Attachments (1)
Change History (11)
by , 17 years ago
comment:2 by , 17 years ago
Owner: | set to |
---|
comment:3 by , 17 years ago
Owner: | removed |
---|
comment:4 by , 17 years ago
I think this part of script-227 is supposed to set up which music to play:
[0096] (B2) soundKludge([4097,2220]) [00A6] (B2) soundKludge([4097,2000])
That translates into
setComiMusicSequence(2220); // seqSnakeVomits setComiMusicSequence(2000); // SEQ_NULL
I would guess that this means something like "Jump to the 'seqSnakeVomits' part of the music that's currently playing", but that's just a hunch.
comment:5 by , 17 years ago
I think there's a similar glitch early in the game, after using the cannon to sink LeChuck's boats. The game sets the sequences "seqLastBoat" and "SEQ_NULL" right after each other. But there's so much other noise going on at the same time that it's hard to make out. The snake scene is a much better test case.
comment:6 by , 17 years ago
dimuse_music.cpp, line 295 currently reads: setHookId(table->soundId, table->soundId); I think this is a bug, it should read setHookId(table->soundId, table->hookId); or maybe setHookId(table->soundId, hookId);
Does either of the two changes help?
comment:7 by , 17 years ago
You may be on to something there, but unfortunately that change alone makes no difference. It does use that case, though: table->soundId = 2220, table->hookId = 1, hookId = 0.
comment:8 by , 17 years ago
Owner: | set to |
---|
comment:10 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Savegame inside the snake