[SOLVED] Company of Heroes *.smf - info in header

Codecs, formats, encoding/decoding of game audio, video and music
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

[SOLVED] Company of Heroes *.smf - info in header

Post by AlphaTwentyThree »

Hi,

I know that these smf files contain MP3 streams - however, I'm stumped by the "Info" portion in the fssm header, which looks like there is... something hidden:

Image

If so, how can one retrieve that information?
Samples attached.
Thanks!
Last edited by AlphaTwentyThree on Fri Jan 21, 2022 8:47 am, edited 1 time in total.
DKDave
Posts: 136
Joined: Mon Nov 23, 2020 6:01 pm

Re: Company of Heroes *.smf - info in header

Post by DKDave »

It looks like a fairly standard mp3 file. The mp3 data begins at offset 0x0c in all your samples. The "Info" portion is part of the mp3 file itself, which might also be "Xing" in some mp3 files. You can get a description of this Xing/Info chunk here: https://www.codeproject.com/Articles/82 ... ame-Header
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Company of Heroes *.smf - info in header

Post by AlphaTwentyThree »

ah ok, thanks :)