Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Boogie SuperStar *.sns - EA_ADPCM?

Featured Replies

  • Author
  • Localization

AlphaTwentyThree, posted Wed May 11, 2016 3:44 pm (13279)


Hello there! I just encountered some sns files that cannot be played with any tool I have at hand. GAP doesn't recognize the format and sx.exe doesn't work either. Can anybody take a look here? http://www71.zippyshare.com/v/NoArXYq7/file.html
Thanks!
  • Author
  • Localization

id-daemon, posted Wed May 11, 2016 4:18 pm (13284)


EA XAS ADPCM. 4 channels

You can decode these with my tool (xas_decode), but it needs at least channel# and frequency.

So if you add 8 bytes in the beginning:

04 0C 80 E8 00 00 00 00

It will work. (80e8 = 33000, 4 = XAS, C = 4ch)
  • Author
  • Localization

AlphaTwentyThree, posted Thu May 12, 2016 9:13 am (13293)


AHA! Thanks! I actually have another header that is supported by towav:
03000002 8AEB0200 20000000 00000000 040CAC44 40A0FB00 00000000 00000000
ch @ 0x11 byte
freq @ 0x12 short
stream_size @ 0x14 long
towav automatically decodes the files as two stereo layers which is correct in this case because music and vocals are split.
One question: How are the channels related to the byte value at 0x11? 0x04 = 2ch, 0xc = 4ch - what's mono? 0x2? What about 6 ch/three layers?
  • Author
  • Localization

AnonBaiter, posted Thu May 12, 2016 1:06 pm (13299)


If I`m not mistaken, mono = 0x01, 6ch = 0x06.
  • Author
  • Localization

id-daemon, posted Thu May 12, 2016 3:11 pm (13302)


AlphaTwentyThree wrote:
AHA! Thanks! I actually have another header that is supported by towav

Oh, this header is much longer!

There are no layers in XAS. Just channels. The formula is this:

(channel - 1) * 4

So mono will be 0
stereo = 4
4ch = 0C
6ch = 14
  • Author
  • Localization

AlphaTwentyThree, posted Thu May 12, 2016 3:12 pm (13303)


I fiddled around a bit and found out:
01/02/03 = 1 ch
04/05/06/07 = 2 ch
0c/0d/0e/0f = 4 ch
14/15/16/17 = 6 ch
1c/1d/1e/1f = 8 ch
  • Author
  • Localization

id-daemon, posted Thu May 12, 2016 3:13 pm (13304)


There are also files with 3 and 5 channels. I've seen this in Moh for example
  • Author
  • Localization

AlphaTwentyThree, posted Thu May 12, 2016 3:13 pm (13305)


I suspected layers because towav always decodes in stereo pairs. I don't know if there are games that use XAS surround at all.
  • Author
  • Localization

AlphaTwentyThree, posted Thu May 12, 2016 3:14 pm (13306)


Oh, then I guess those files aren't supported by towav...
  • Author
  • Localization

id-daemon, posted Thu May 12, 2016 3:15 pm (13307)


AlphaTwentyThree wrote:
I suspected layers because towav always decodes in stereo pairs. I don't know if there are games that use XAS surround at all.


Dead Space, Medal of Honor series... a lot of EA titles use 5.1 channel sound
  • Author
  • Localization

AlphaTwentyThree, posted Thu May 12, 2016 3:17 pm (13308)


You're right, I forgot about Dead Space actually ;)
  • Author
  • Localization

AlphaTwentyThree, posted Fri May 13, 2016 6:02 pm (13339)


I'm interested in writing a script that lets me split the channels or channel pairs of EA XAS files. I've looked at the structure and as it seems there's a 0x4c interleave for each channel. However there are 0x8, 0x10 or 0x18 additional bytes ever so often (depending on the file) but I cannot see a pattern when these additional bytes repeat. Can you elaborate this so I can write a QuickBMS script?
  • Author
  • Localization

id-daemon, posted Fri May 13, 2016 6:40 pm (13342)


There are no interleaved blocks here. If you like to split 2 channels from 4, you have to parse all blocks and split each chunk and constuct the new stream.

This can be done, but i don't think it will be easy.
  • Author
  • Localization

AlphaTwentyThree, posted Fri May 13, 2016 6:46 pm (13343)


Do I maybe have a wrong understanding of "interleave"? I thought interleave means that blocks for each channel alternate...
  • Author
  • Localization

id-daemon, posted Sat May 14, 2016 1:17 pm (13359)


Ok, you can call it interleave, but as you noticed, this is not "clean" interleave, but the channels interleave within the blocks.

There are many different formats containing XAS audio, but most usual will look like this:

int32 block_size
int32 number_of_samples

Then you have continuous blocks of 0x4c bytes for each channel.

Also there may be loop flags, these are additional 4 or 8 bytes. I don't remember the exact flags meaning, send me examples if you need those.

There's also "header-B" stream type, mostly used in new games. This will have an additional header and footer.
  • Author
  • Localization

AlphaTwentyThree, posted Sat May 14, 2016 3:32 pm (13368)


Ok, I'll see what I can do, maybe I can get it to work. It would be quite nice to have 2 stereo files instead of a 4ch file when it's actually a layered stream. Else, you can delete a stereo pair when the second layer is empty, like in some cases with Boogie SuperStar.
  • Author
  • Localization

MaZTeR, posted Sun Jun 05, 2016 1:37 pm (14058)


Hello.

I was looking for Xas_decode audio decoder for Dead Space 1 and perhaps 2 and 3, because I'm currently ripping the necromorph audio files for youtube with the use of RickVisceral's .DAT and .STR opener, a BNK opener and finally ealayer3 :)

I noticed that for some reason Visceral Games had removed some of the files in Dead Space 2 and are only in Dead Space. I tried using ealayer3 on the DS1 exa files but it says that I got a read error. I researched further and found that you can use Xas_decoder on Dead Space and it is the only tool that works on that game. However, the site I found the file from won't let me register so I eventually found this site.

Does anyone have the tool for me to use before this thread dies like the other few you can find on google by searching something like "dead space audio ripping tool"?

Thank you :)
  • Author
  • Localization

MaZTeR, posted Sun Jun 05, 2016 2:06 pm (14061)


id-daemon wrote:
here

Thank you so much you are a life saver!

Anyways, I also got the towav.exe .SNU extractor for Dead Space, but it doesn't work on Dead Space 2 and possibly neither for Dead Space 3. Is there any way one can make it work with those games' .SNU files?
  • Author
  • Localization

MaZTeR, posted Sun Jun 05, 2016 2:09 pm (14062)


id-daemon wrote:
here

I tried opening it first without an exa file and it said I do not have permission. I ran it as an administrator and it still said I do not have permission to open it. What's up with that?

Edit: well, I figured out the permission problem but it doesn't open the Dead Space 1 exa files. It quickly flashes the CMD window, possibly giving the "cannot read the file" error and closes. Any ideas?
  • Author
  • Localization

id-daemon, posted Sun Jun 05, 2016 2:10 pm (14063)


Dead Space 2 contains both Ealayer3 audio and ADPCM audio. There's no way to detect this other than look into hex contents. For first you use Ealayer3, for second - towav.
  • Author
  • Localization

id-daemon, posted Sun Jun 05, 2016 2:11 pm (14064)


MaZTeR wrote:
id-daemon wrote:
here

I tried opening it first without an exa file and it said I do not have permission. I ran it as an administrator and it still said I do not have permission to open it. What's up with that?


What are you trying to open??
  • Author
  • Localization

MaZTeR, posted Sun Jun 05, 2016 2:17 pm (14066)


id-daemon wrote:
MaZTeR wrote:
id-daemon wrote:
here

I tried opening it first without an exa file and it said I do not have permission. I ran it as an administrator and it still said I do not have permission to open it. What's up with that?


What are you trying to open??

I edited the original message and said I managed to fix the permission problem. But when I open any exa file with the tool, it quickly flashes the CMD window, then closes it and then does nothing.

I'm trying to open these audio files from steam > common > Dead Space > global_assets > ds_assets > char_str > npc > exp_cct > exploder_unpacked > SBK and then any of the exploder_XX.exa files. Here are few examples: https://www.mediafire.com/folder/j9twd6 ... der_sounds
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.