Home - HumansDoNotWantImmortality/bg3-sids GitHub Wiki
125/132 bnk from SharedSoundBanks indexed
Bg3 WEM files index arrangements
After going through the .bnk files, the generated file with IDs has over 22,000 lines of code. Due to slower units of some users, the result has been grouped into .lsf file path & .bnk file name.
For Shared .lsf file path: Shared\Public\Shared\Content\Assets\Sounds\
For SharedDev .lsf file path:Shared\Public\SharedDev\Content\Assets\Sounds\
When each of the ID paths has been traced. The entire result will be saved in one downloadable file.
Locate the .lsf file that corresponds to the target .bnk file. You can start by searching for keywords like "Sound" or "Audio" in the unpacked folders and checking the files present. If you find a folder with a name similar to the .bnk file, you're likely in the right place.
Convert the .lsf file into a readable format like .lsx using lslib.
Convert the .bnk file into an XML file with wwiser.
In the .lsx file, search for the SoundID. The number following "value=" represents the Event in the .bnk file.
In the XML file, search for the ID from the .lsx file. (Notepad++ is recommended for this step due to its powerful search capabilities.)
Now, you'll need to manually inspect each ID one by one. The most common ID path is as follows (the ID you want is the number following "va="):
obj na="CAkEvent" with the same ulID as the SoundID from .lsx. Here, look for ulActionID and use it for search.
obj na="CAkActionPlay" with the same ulID as the ulActionID from CAkEvent. Search for the idExt within.
obj na="CAkRanSeqCntr" with the same ulID as the idExt from CAkActionPlay. Inside, find the obj na="Children" and its ulChildID.
obj na="CAkSound" with the same ulID as the ulChildID from CAkRanSeqCntr and its Children. Within, look for sourceID, and the number following "va=" is the ID of the WEM file.
Open WEM file from SharedSounds\Public with foobar2000.
!the path truly depends on the .bnk file!
Notice
Missing .lsf files Shared for
AMB_SV_ACT1_A_ShadowLabyrinth.bnk
AMB_SV_DUNGEONS.bnk
Init.bnk
After testing, some IDs do not lead to any wem file. Whether these IDs lead to other .lsf files or whether their wem files did not make it into the final version of the game requires further investigation.