Jump to content

What was the EA audio codec that started with 48 00 00 0C?


Go to solution Solved by lorak,

Recommended Posts

Posted

Hi all. I am reversing this older codec from Battlefield Bad Company 2 and I remember posts in xentax about a codec like this I dont remember if its SNR SNS or SPS or whatever. But the complete header detail is missing now that the website is down. 

 

The first 4 bytes are the signature 

then: 

byte - codec version ? (either 0x14 or 0x16) - for the 0x14 version audio blocks are 76 bytes. the other seems to be different

byte - mono stereo ? (either 0x00 or 0x04) 

u16 - sample rate 

byte - unknown, either 0x40 or 0x44 

I know this has been a subject of research back in BF3 days too, can anyone refresh my mind? thanks 

 

 

AUDIO.zip

Posted (edited)

If your file starts with 48 00 00 0C it should be a sps file. On the other hand, if it starts with 48 00 00 16 it is a sbs file that is typically coupled to a sbr file.
Have a look at these: eaac and eaac_sbr. Those links direct you to the vgmstream github.

Do you know how to encode a wav or mp3 file with EA Sound Exchange or any other tool as in the attached image? In particular, how to create a sps or sbs file with atrac9 encoding with EA SX or any other tool as shown in the attachment.

 

Screenshot.png.e04a2e83199c1351db619d354195d971.png

Edited by lorak
Posted (edited)

By the way, you can convert a wav or mp3 audio files to sps via EA SoundExchange (EASX latest version) with the following commands:

sx -sndplayer -fileformatversion1 -ealayer3_int -vbr100 <input> -=<output>

Note that in this case we tell EASX to apply EALayer3 encoding.

Edited by lorak
Posted
9 hours ago, lorak said:

By the way, you can convert a wav or mp3 audio files to sps via EA SoundExchange (EASX latest version) with the following commands:

sx -sndplayer -fileformatversion1 -ealayer3_int -vbr100 <input> -=<output>

Note that in this case we tell EASX to apply EALayer3 encoding.

 

I cant find the 2004 version of SX.exe, do you have it? 

Yeah vgmstream works, all I needed was to put the .sps extension on the samples.

Posted (edited)
1 hour ago, V12-POWER said:

I cant find the 2004 version of SX.exe, do you have it? 

Yeah vgmstream works, all I needed was to put the .sps extension on the samples.

You can get SX 6.00.00 here.

Edited by lorak
Posted
On 6/15/2025 at 8:00 PM, lorak said:

You can get SX 6.00.00 here.

 

Thanks man. So this SX tool is good to encode EA Layer 3 v1, but is it the right tool to encode to EA XAS v1? or no such encoder exists? 

  • Solution
Posted
19 minutes ago, V12-POWER said:

Thanks man. So this SX tool is good to encode EA Layer 3 v1, but is it the right tool to encode to EA XAS v1? or no such encoder exists? 

Try this: 

sx -sndplayer -fileformatversion1 -xas_int -vbr100 <input> -=<output>

Note that xas_int refers to XAS Interleaved (Version 1) and xas0_int refers to XAS Interleaved (XA Seekable).
Please mark one of these post as solution.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...