BRSTM files contain ADPCM sound data. They are used for music in some games, such as Super Smash Bros. Brawl and Mario Kart Wii.
an header, followed by a HEAD chunk, a ADPC chunk and a DATA chunk.<br/>
All the data in those files are big-endian, except where mentioned.<br/>
All the offsets are absolute (from
begining of file), except where mentioned.<br/>
All the sizes are in bytes, except where mentioned.<br/>
=== BRSTM header ===
4| Magic ( 0xFEFF0100)
=== HEAD chunk ===
head chunk is typically 256 bytes long .<br/> It contains what looks like the ADPCM table and YN1/ YN2, twice, probably once for the first part and once for the last ( looping) part . <br/> It also contains some other unknown stuff .
=== ADPC chunk ===
The ADPC chunk is
typically 1216 bytes long. It seems to contain some other ADPCM table.
=== DATA chunk ===
The DATA chunk contains ADPCM sound data.