Page 1 of 1

Opening C&C audio files

Posted: Tue Mar 29, 2011 3:01 pm
by Anorionil
Hello,

I've been trying to get my hands on the old C&C audio files, and recently managed to open the .MIX file using Dragon Unpack.

But now I have the files, which are formatted in .aud and v00, v01 ect.

Does anyone know how I can open or convert them? I also tried opening them in Audacity as raw data files, but I don't know how in much bits the data is...

Any help would be greatly appreciated :D

Posted: Tue Mar 29, 2011 3:41 pm
by Anorionil
Hmm it appears a friend of me has Format Factory and this enables .aud to .wav conversion.

So I think its gonna work out :)

Posted: Tue Mar 29, 2011 7:07 pm
by Sleipnir
XCC Mixer is the standard tool for browsing and extracting files from mix files. IIRC it can do this conversion too

Posted: Tue Mar 29, 2011 8:00 pm
by chrisf
XCC Mixer can do the conversion for you, yes.

Technical details: AUD is 22050/16/mono encoded as IMA-ADPCM with Westwood's custom tables, in a minimal container. If you want to see how to decompress it to straight 22050/16/mono PCM, take a look at AudLoader.cs. It would be trivial to write this stream back out into a RIFF container, which could be used by any tool that understands "WAV".

I may even write a RIFF reader & writer for the FileFormats library one of these days...