[Scummvm-tracker] [ScummVM :: Bugs] #10907: SCI: Wrong music when restoring games

ScummVM :: Bugs trac at scummvm.org
Thu Mar 5 14:58:25 UTC 2020


#10907: SCI: Wrong music when restoring games
------------------------+-------------------------
  Reporter:  sluicebox  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  normal     |  Component:  Engine: SCI
Resolution:             |   Keywords:  midi
      Game:             |
------------------------+-------------------------
Comment (by ZvikaZ):

 If I understand this correctly, the problem isn't on restore, but rather
 with regular game play...

 When restoring, and running 'songlib' on debugger, we get:
 {{{
 debug> songlib
 Song library:
 0: 0001:2138 (longSong2), resource id: 1142, status: Stopped, digital
 audio type
 1: 0001:2108 (longSong), resource id: 57, status: Paused, MIDI type
 }}}
 And when getting there during game play, from room 310:


 {{{
 debug> songlib
 Song library:
 0: 0001:2138 (longSong2), resource id: 1142, status: Stopped, digital
 audio type
 1: 0001:2108 (longSong), resource id: 18, status: Paused, MIDI type
 }}}


 i.e., the problem is that on restore we get resource id 57 (is that what
 you call `ambush/submarine music` music?), and on regular game play we get
 resource id 18.

 However, according to SCICompanion, it seems that it should be 57  (from
 `rm320:init`):
 `               (gLongSong number: 57 flags: 1 loop: -1)`

 Therefore, the question is not why we get 57 on restore, but why we don't
 get it on regular game play.

 If anyone thinks I'm wrong, I'd be glad to hear :-)
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/10907#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list