BCT (File Format)

From Luma's Workshop
Revision as of 18:53, 7 February 2026 by SY24 (talk | contribs) (created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

BCT (Binary Controller Sound Table) files contain information about Wii Remote Speaker Sounds. They are linked to CSW files. Super Mario Galaxy and Super Mario Galaxy 2 each contain only one BCT file, located in AudioRes/SpkRes/SpkRes.arc/bin/spktable.bct.

File specifications

Header

size: 0x10

Offset Type Description
0x0 UInt32 (0x4) Amount of sounds
0x4 UInt32 (0x4) Offset to parameter table
0x8 UInt32 (0x4) Offset to name table
0xC UInt32 (0x4) Unknown. Gets written to at runtime by SpkTable::setResource

Parameter table

size: (N + 1) * 0x8

Offset Type Description
0x0 + N * 4 UInt16 (0x2) Index N of the sound
0x2 + N * 4 UInt8 (0x1)? Unknown.
0x3 + N * 4 UInt8 (0x1)? Unknown.
0x4 + N * 4 UInt16 (0x2) Unknown. Perhaps volume?
0x6 + N * 4 Padding (0x2)

Name table

size: (N + 1) * 0x4

Offset Type Description
0x0 + N * 4 UInt32 (0x4) Offset to null-terminated Speaker Sound name

The rest of the file is padded to the nearest 0x40.

List of Speaker Sounds

Coming before GTA 6.