Introduction
A .brstm file is a streamed sound from a Nintendo Wii game, typically the music. It usually holds
4-bit DSP ADPCM, with loop points. The Nintendo 3DS uses the related .bcstm file, and the Wii U
and Switch use .bfstm.
Structure
The three files start with the signatures RSTM, CSTM and FSTM and a
byte order mark. A BRSTM is mostly big-endian: a 64-byte header, then a HEAD chunk of sound
information, an ADPC chunk of sample history and a DATA chunk of interleaved audio
blocks. It can hold 8-bit PCM, 16-bit PCM or 4-bit ADPCM. BCSTM and BFSTM are divided into sections too,
among them an INFO section.
Not described
This page is a first outline. The details of the layout are not yet described here.
Known, not yet covered
- Reference: the contents of the chunks and sections and the differences between the three files, which community documentation and vgmstream describe.
- Viewer: the site has no viewer for this format.
Links
Software
- vgmstream – player plugins and command-line decoder for video game audio
Developers
- vgmstream brstm.c – the BRSTM reader (C)
- vgmstream bcstm.c – the BCSTM reader (C)
- vgmstream bfstm.c – the BFSTM reader (C)
Reference
- WiiBrew: BRSTM file – community description of the BRSTM header and chunks