XBOX XSB
XSB
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
// ARCHIVE HEADER
- char {4} - Header (SDBK)
- uint32 {4} - ?
- uint32 {4} - Offset of wavebank name (Name is 16 bytes long)
- byte {18} - ?
- uint16 {2} - Number of files (File names)
- byte {28} - Soundbank name?
// FILE RECORDS
- // FOR EACH FILE
- uint32 {4} - Offset of filename
- uint32 {4} - ?
- uint32 {4} - ?
- uint32 {4} - ?
- uint32 {4} - ?
Seek to 'Offset of filename' and read the filename (it is null terminated).
I assume that the order of the filenames in the SoundBank corresponds to the order of the files in the WaveBank, but I dont know for sure. Be aware that sometimes there are more entries in a WaveBank than there are file names in a SoundBank, so some files have no name.
Notes and Comments
XBox Soundbanks contain the file names for the files in their corresponding Wavebank, along with other, unknown data.
The name of the SoundBank corresponds to the WaveBank usually, eg ASMusic.xwb and ASMusic.xsb. If in doubt though, the SoundBank referrs to its WaveBank internally, so you can check.
Some WaveBanks do not have a corresponding SoundBank.