Discworld II - English.smp

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
Jeebizz
Posts: 8
Joined: Mon Jun 08, 2009 9:09 pm

Discworld II - English.smp

Post by Jeebizz »

Does anyone know of a tool to decode the English.smp file on Discworld II?

I was actually able to just open the English.smp from the first Discworld game, and convert the audio just fine but on the second game the format seems different so I cannot find any sort of RAW version with Goldwave to open it.
User avatar
DrMcCoy
ScummVM Developer
Posts: 595
Joined: Sat Dec 17, 2005 1:33 pm
Location: Braunschweig, Germany
Contact:

Post by DrMcCoy »

It uses a custom ADPCM algorithm, so no dice opening it with standard audio tools.

If you want to the raw audio, you'll need to write your own decoder, using the ScummVM code as a guideline. Have a look at engines/tinsel/sound.cpp for the format of the SMP file (important for finding the sample offsets), and engines/tinsel/adpcm.cpp for the actual ADPCM algorithm (sound uses Tinsel6, music Tinsel8).
Jeebizz
Posts: 8
Joined: Mon Jun 08, 2009 9:09 pm

Post by Jeebizz »

I wouldn't even know how to start though since I don't know a thing about programming :(.
Post Reply