Sound patch for GF_OLD256 games
|Reported by:||(none)||Owned by:||Kirben|
|Cc:||Game:||Indiana Jones 3|
What about some nice SCUMMVM-Habby-Birthday Indy3/MI1music ?
Patch enables sound in GF_OLD256 games (verified
with indy3 & monkeyvga on PC).
Well it's a first effort. It's done via little "SO/AD" to "ADL " resource tweaking.
The SO resource consists of AD and WA and nested SO resources. There are 2 different AD formats. A long (> 0x98h bytes) and a short form. The long is background music and is played by this patch.
Todo: a) A set of default instruments for all MIDI channels is used, so you can hear the melody, but it's far from perfect. Instruments are in the first 0x98h bytes of the AD resource. I'am still trying to find (with help of the adplug sources) some solution.
b) No sound looping. Who can help ?
c) The short form of AD resource is used for short sounds (doors, steps etc.) and doesn't work right now. But there are the WA (for WAVE ?) resource, which maybe can be played raw.
d) The proper LE/BE handling have to be checked for other platforms than PC/Intel.
Ticket imported from: #609649. Ticket imported from: patches/155.