SoundIdToInstList

From Luma's Workshop
Revision as of 22:40, 25 June 2024 by Super Hackio (talk | contribs) (Created this page after so many years :))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SoundIdToInstList is a BCSV table that pairs Sound IDs to Instrument Bank Program Numbers. This allows the game to actually load audio data, as simply referencing a sound label won't do the trick.
The file can be found in SMG2 in AudioRes/Info/SoundIdToInstList.arc/root/SoundIdToInstList.bcsv. It contains the following fields:

Field Type Description
SoundId LONG The JAudio Sound ID that will be used for Lookup
BankProgNoName STRING_OFFSET Holds the names of the instruments represented in BankProgNo.
This is not used by the game.
BankProgNo SHORT The Instrument Bank Program Number.

This BCSV MUST be sorted by the SoundId column in proper numerical order!
Referencing WSYS Entries that are not in the vanilla game will crash due to a hardcoded remap table.