Extracting audio files from Halo 2 Anniversary

Codecs, formats, encoding/decoding of game audio, video and music
Simo311
Posts: 8
Joined: Sat Nov 21, 2020 10:22 pm

Extracting audio files from Halo 2 Anniversary

Post by Simo311 »

Hello, i'm trying to rip sounds/musics and voicelines from Halo 2 Classic and Anniversary from Halo the Master Chief collection released on Steam.
I've already tried different softwares, as well as QuickBMS with the Halo: tmcc's script with no success at all, could someone please help me on that?
Here a sample of the sound file container i need to unpack:
https://drive.google.com/file/d/11a3UOzJxFwAra5KYwDnFXgjh7fgXJlV4/view?usp=sharing
From what i've heard Halo 2 anniversary file structure is based upon the structure that it has been used in Halo Online.
The compression they used is an updated zlib compression, it was also be used in Halo: CE Anniversary.
Thank you all!
tbmq008
Posts: 62
Joined: Thu Nov 26, 2020 2:13 pm

Re: Extracting audio files from Halo 2 Anniversary

Post by tbmq008 »

existing HALO TMCC script has been written with a different format in mind, for map files have no actual tool that i know of that handles all the complexities of a format especially since said format went through as many changes as it went.
as for sounds_en.dat it's just raw sound data that is entirely dependant of the aforementioned map files, which again cannot be handled at all as of this moment. especially in their case.
Simo311
Posts: 8
Joined: Sat Nov 21, 2020 10:22 pm

Re: Extracting audio files from Halo 2 Anniversary

Post by Simo311 »

Now that the official mod tools for the game has arrived, i can finally get the raw audio files that i wanted.
There's only one catch, it's an unknown format, is anybody able to open/convert this type of audio files?

https://drive.google.com/file/d/1A64ee4 ... sp=sharing

Thanks a lot!
DKDave
Posts: 136
Joined: Mon Nov 23, 2020 6:01 pm

Re: Extracting audio files from Halo 2 Anniversary

Post by DKDave »

I'm not sure about the header, but it's definitely XBox ADPCM. For example, in assault.sound, the audio data starts at 0x268. So it should be possible to write something to extract the data for Foobar.