SoundIdToInstList: Difference between revisions
Jump to navigation
Jump to search
Super Hackio (talk | contribs) (Created this page after so many years :)) |
Super Hackio (talk | contribs) m (Note about referencing missing instrument banks) |
||
Line 12: | Line 12: | ||
|} | |} | ||
'''This BCSV ''MUST'' be sorted by the SoundId column in proper numerical order!<br/>Referencing WSYS Entries that are not in the vanilla game will crash due to a hardcoded remap table.''' | '''This BCSV ''MUST'' be sorted by the SoundId column in proper numerical order!'''<br/> | ||
''Referencing WSYS Entries that are not in the vanilla game will crash due to a hardcoded remap table.''<br/> | |||
''Referencing Instrument Banks that do not exist will crash the game.''<br/> |
Revision as of 19:18, 26 June 2024
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.
Referencing Instrument Banks that do not exist will crash the game.