Page 1 of 1

Reverse engineering unknown audio codec

Posted: Sat Aug 08, 2009 10:44 am
by jfwfreo
Does anyone have any tips on how I can reverse engineer an unknown audio codec related to MP3 audio? Its EALayer3 and its used by a number of EA games (including the latest C&C series games and the new Sims game)

The game binaries (for the games I have at least) are full of FPU and MMX/SSE and hard to reverse engineer as a result. No known encoder or decoder exists outside of EA.

Reading code (e.g. FFMPEG code) for MP3 decoding makes my eyes glaze over with all that math.

Any tips anyone can share on reverse engineering this code?
Any documents or other things that can make MPEG audio easier to understand?
Anyone out there who understands how MPEG audio works?

Or is this one of those formats that just wont be figured out unless EA releases some info on it or something?

Re: Reverse engineering unknown audio codec

Posted: Sat Aug 08, 2009 9:02 pm
by Zench
jfwfreo wrote:No known encoder or decoder exists outside of EA.
Have you looked into Electronic Arts Sound eXchange yet? (Attached at bottom) It was released by EA, and I not really sure but there are a few indications that it can decode EALayer3.

Re: Reverse engineering unknown audio codec

Posted: Sat Aug 08, 2009 9:24 pm
by OrangeC
I dont think sx can decode layer 3 unless im wrong about that, isnt this a 2004 tool or old tool?

Re: Reverse engineering unknown audio codec

Posted: Sat Aug 08, 2009 9:35 pm
by Zench
OrangeC wrote:I dont think sx can decode layer 3 unless im wrong about that, isnt this a 2004 tool or old tool?
I guess the only way to find out for sure is to try it. The strings in the executable strongly suggest that it is able to decode EALayer3, unless the format/codec has changed.

Re: Reverse engineering unknown audio codec

Posted: Sun Aug 09, 2009 1:16 am
by Kataah
Format has changed - EA has cutted all page and headerinformation out of that stream - its still EA-Layer but as a Raw format therefore its not possible to decode.