Page 1 of 1

Halo 2 Anniversary [.dat]

Posted: Wed May 13, 2020 4:11 pm
by durandal217
Hey everyone, i'm trying to figure out how to get the audio for Halo 2 anniversary, the file format they used is similar to what they employed for Halo Online which was using compressed .dat containers. Cra0 wrote a crude tool which was able to uncompress the data but when trying it on Halo 2 I get this error:

Code: Select all

Unhandled Exception: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   at System.IO.BinaryReader.ReadUInt32()
   at ..(BinaryReader ,  )
   at ...(BinaryReader ,  )
   at ..()
   at ..()
   at ..()
   at ..(String[] )

Nothing extracts...

Halo Online's audio data once extracted, was simply mpeg audio. The Hex viewer however showed FSB strings - but once you decompressed the archive the audio was standard FSB audio format compression without FSB header, so all you had to do was change the extension to .mpeg and done. The same strings are present throughout the Halo 2 files as well. I've included a sample file, if anyone can help me figure out, or if possible write something that can decompress or allow audio extraction i'd greatly appreciate it.

Re: Halo 2 Anniversary [.dat]

Posted: Mon May 18, 2020 4:20 pm
by durandal217
Anybody discover anything, learn anything?