V12-POWER Posted Saturday at 11:48 PM Posted Saturday at 11:48 PM 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
lorak Posted Sunday at 12:27 PM Posted Sunday at 12:27 PM (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. Edited Sunday at 12:30 PM by lorak
lorak Posted Sunday at 12:31 PM Posted Sunday at 12:31 PM (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 Sunday at 12:35 PM by lorak
V12-POWER Posted Sunday at 09:44 PM Author Posted Sunday at 09:44 PM 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.
lorak Posted Sunday at 11:00 PM Posted Sunday at 11:00 PM (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 Sunday at 11:00 PM by lorak
V12-POWER Posted Tuesday at 11:16 PM Author Posted Tuesday at 11:16 PM 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 lorak Posted Tuesday at 11:41 PM Solution Posted Tuesday at 11:41 PM 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now