Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Unknown CSB files from X-Men Legends prototype

Get help on any and all audio formats, or chip in and help others!
Post Reply
ofthriceandmen
n00b
Posts: 18
Joined: Fri Nov 30, 2018 6:08 pm
Has thanked: 1 time

Unknown CSB files from X-Men Legends prototype

Post by ofthriceandmen »

Hello,
I am here because an Xbox prototype of X-Men Legends 1 came out recently and inside are some .csb files that have audio files stored in them.

The final version of X-Men Legends 1, X-Men Legends 2, and Marvel Ultimate Alliance 1 all use .zsm and .zss to store their audio files. These can be gotten into quite easily with a program called ZSM Sound Editor.

However, neither of the 2 quickbms scripts for .csb files worked. Neither has anything else anyone has tried.

The prototype ones have unused audio that isn't in the game. We can tell this because of the names of some of these .csb files. I am a member of Marvel Mods and no one can get into these files, so I thought I go here for help.

Here is what another community member said of his efforts to get into these files:

"I’ve tried about every tool under the sun; those CSB files refuse to open lol. Only luck I had was dragon unpacker’s Hyper Ripper which only got 8 files and not in a playable state.

If anyone else wants to take a shot feel free; I think whatever codec it’s in is not Criwave but rather some early version of ZSS or ZSM. Idk what that codec is but it refused to open in any criwave tools.

At best, we’ll only be able to open this thing if we can find some other way of ripping sound files (Vgmstream and foobar both didn’t work mind you) or if we could crack the codec but even then we have zero documentation on these files. Best case scenario is if we could test these in the demo somehow." (By demo he means the prototype).

I couldn't get the attachment to work, so I put the whole sound folder from the prototype on drive.

https://drive.google.com/file/d/1YTVedV ... sp=sharing

Does anyone have any ideas on what to do?
User avatar
DKDave
ultra-veteran
ultra-veteran
Posts: 357
Joined: Mon May 06, 2019 6:07 pm
Location: On board the USS Callister
Has thanked: 9 times
Been thanked: 167 times

Re: Unknown CSB files from X-Men Legends prototype

Post by DKDave »

Some extra info which might help ...

After the "CSX1" header, you've got what seems like a file type. Some observations: If it's type 6, then it seems to be a single multi-channel stream (music/cutscene) - the value at offset 0x8 seems to be the number of channels (2 or 4). If it's not type 6, then it's a bunch of mono audio files (count at offset 0x8, table at 0x18 with 0x20 bytes per entry). The table contains sample rate, start offset, size and some other unknowns.

I've done some manual tests and a lot of them are standard XBOX ADPCM, particularly the mono files. However, some of the multi-channels ones seem to be different - some are XBOX ADPCM and some look like another codec.

For multi-channel files the audio data seems to start at 0x11b8. For mono files, they start at the next 0x200-byte block after the file table.
I see a vision rising, dreary, Fading in as children play twilight games, In the town called Ordinary, An eye of light reveals a gateway to doomsday
ofthriceandmen
n00b
Posts: 18
Joined: Fri Nov 30, 2018 6:08 pm
Has thanked: 1 time

Re: Unknown CSB files from X-Men Legends prototype

Post by ofthriceandmen »

So I've got some more info.

Here is some info about the final retail build's sound files for each console version from another Marvel Mods member when I asked about what you said:

"The sounds are all console-specific within the zsm file. Xbox uses XBADPCM, PS2 uses .vag I think, and the GameCube uses .dsp files.
There isn't a PC version of X-Men Legends 1, but the PC version of X-Men Legends 2 uses .wav files
So it does make sense for them to conclude about XBADPCM"

Here are the sounds from the retail Xbox version for comparison:
https://drive.google.com/file/d/11iq0Et ... sp=sharing

And here's the zsm sound editor we use for the retail sounds:
https://www.mediafire.com/file/tbqzfjob ... r.zip/file
ofthriceandmen
n00b
Posts: 18
Joined: Fri Nov 30, 2018 6:08 pm
Has thanked: 1 time

Re: Unknown CSB files from X-Men Legends prototype

Post by ofthriceandmen »

Also, the xmen_1.ctf file in the prototype sounds folder appears to be a list of all the files that are in x_common and all the files that are in that are in x_voice in the prototype.
User avatar
DKDave
ultra-veteran
ultra-veteran
Posts: 357
Joined: Mon May 06, 2019 6:07 pm
Location: On board the USS Callister
Has thanked: 9 times
Been thanked: 167 times

Re: Unknown CSB files from X-Men Legends prototype

Post by DKDave »

The prototype audio is definitely all XBox ADPCM. The attached QuickBMS script will extract the majority of the audio that can be played in Foobar with the vgmstream plugin.

The ones that don't extract perfectly, such as a_int_a are also XBox ADPCM but there's some weird interleave that I can't determine yet.
xmen.zip
You do not have the required permissions to view the files attached to this post.
I see a vision rising, dreary, Fading in as children play twilight games, In the town called Ordinary, An eye of light reveals a gateway to doomsday
ofthriceandmen
n00b
Posts: 18
Joined: Fri Nov 30, 2018 6:08 pm
Has thanked: 1 time

Re: Unknown CSB files from X-Men Legends prototype

Post by ofthriceandmen »

Thanks so much! We all really appreciate it! You're the greatest!
Post Reply