Open main menu

Difference between revisions of "SCUMM/Technical Reference/Sound resources"

Some info on CD "SOU" blocks
(Some info on CD "SOU" blocks)
Line 89: Line 89:


Games that use CD tracks (Loom/CD, MI1/CD, Zak256/FM-TOWNS) are a bit different. For MI1/CD at least, the "SOU " block size is always 32 bytes and presumably points to the CD track to play.
Games that use CD tracks (Loom/CD, MI1/CD, Zak256/FM-TOWNS) are a bit different. For MI1/CD at least, the "SOU " block size is always 32 bytes and presumably points to the CD track to play.
Here's some notes by cocomonk22:
Values from offsets 0-23 (0x00-0x17) are all the same, so just copy data from an existing SOUN.
At offset 24 (0x18) track number in hex format (for new music not in original start with track decimal 24 or hex 18).
At offset 25 (0x19) seems to be loop, opening uses 01, scummbar uses ff.
The six remaining values 26-31 (0x1a-0x1f) are all 00 if you want the music to start at the beginning of the track.
An example of music not starting at the beginning:
The scene at the lookout following the intro uses the same music as the opening, but starts at position 1 min 36 sec. Hex values are 01 23 30 00 00 00. 01 23 30 is equivalent to 1 35 48 in decimal.


==v5-v6 - MONSTER.SOU==
==v5-v6 - MONSTER.SOU==
126

edits