Page 1 of 1

Skylanders Music Extraction [360]

Posted: Tue Mar 27, 2012 11:34 pm
by Garrland
I'm attempting to extract the level music from the 360 version of the game. I've used quickbms to get the audio/levels/level_hub.bnk extracted to 260 files. Looking in a hex editor they are all RIFX files that are mono/44100. The format tag is coming up 358 (0x0166). What format is that? Google is failing me an it's not in the windows headers. I've attempted to run ToWav but it doesn't do anything. Running ww2ogg I just gets a "Parse error: RIFF truncated" error. I'm suspecting that files are in a format the tools just don't understand. I even tries to change it to a RIFX to RIFF and load it in Audacity as a raw file but no luck.

Any help would be appreciated. This is my first attempt at extracting audio from a 360 title.

Here is a link to the .bnk file.
http://www.sendspace.com/file/w9xmfm

Here is the bms script I used to extract. It's not mine, I got it from a Google search.

Code: Select all

endian big
idstring "BKHD"
get OFFSET long
math OFFSET += 8
goto OFFSET
idstring "DIDX"
get DIDX_SIZE long

savepos BASE_OFF
math BASE_OFF += DIDX_SIZE
math BASE_OFF += 8  # DATA chunk

math FILES = DIDX_SIZE
math FILES /= 12

for i = 0 < FILES
    get DUMMY long
    get OFFSET long
    get SIZE long

    math OFFSET += BASE_OFF
    log "" OFFSET SIZE
next i


Thanks

Re: Skylanders Music Extraction [360]

Posted: Wed Mar 28, 2012 4:51 am
by hcs
I'm trying to modify xmash to deal with this correctly, at issue is the fact that these are XMA data, and also some of the data is stored in a separate stream file.

Is there a file called 884179355.wav or 884179355.xma around? If so could you upload that?

Re: Skylanders Music Extraction [360]

Posted: Wed Feb 20, 2013 10:06 pm
by kilik
it's about arc and bld ? it's possible to extract voice