Ghost Squad (Wii) .csb audio

Codecs, formats, encoding/decoding of game audio, video and music
burom
Posts: 17
Joined: Sat Jul 17, 2021 8:41 pm

Ghost Squad (Wii) .csb audio

Post by burom »

I'm trying to get the sounds out of Ghost Squad for Wii, it seems they're in something akin to CRI CSB format but I can't seem to split the file into usable sound. I tried vgmstream on the sample file (paradise/VO_GENQ.csb) and it only appears to grab one file, while the CriWare CSB Extract (https://zenhax.com/viewtopic.php?f=6&t=9455) brings out nothing.

Code: Select all

>test.exe -m VO_GENQ.csb
metadata for VO_GENQ.csb
sample rate: 22050 Hz
channels: 1
stream total samples: 32 (0:00.001 seconds)
encoding: Nintendo DSP 4-bit ADPCM
layout: interleave
metadata from: CRI ADPCM_WII header
bitrate: 0 kbps
stream count: 6
stream index: 1
stream name: Synth/se_gen/VO_GENA/silence.wav
play duration: 32 samples (0:00.001 seconds)
Sample files are here: https://mega.nz/folder/DJM3hYyZ#SGbnV6JlOc9Vu2SucOSiog
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Ghost Squad (Wii) .csb audio

Post by BloodRaynare »

To extract all the subsongs with vgmstream's test.exe, you need to pass the "-S 0" parameter.

Code: Select all

test.exe -S 0 VO_GENQ.csb
Or use foobar to extract them all (with the component installed, of course).
burom
Posts: 17
Joined: Sat Jul 17, 2021 8:41 pm

Re: Ghost Squad (Wii) .csb audio

Post by burom »

That looks to have worked, thank you. :)