Sound Modding
Last updated
Last updated
This game has different sounds for different things so it's not that easy to just swap the battle theme for the whole level.
Wwiseutil-gui (included in Sifu Music Modding Tool)
Knowledge on how to make .pak files
First, we're gonna install Wwise and create a new Wwise project.
Download the Wwise launcher. After you've installed it, open it
You should see this:
We will be using the "PROJECTS" and "WWISE" tabs.
Now click on "WWISE" and click on the blue button called "Install" (it's possible that you need to create an account first before you can download Wwise)
It will ask which deployment platforms you want to include and of course we wanna include Windows.
It will ask which deployment platforms you want to include and of course we wanna include Windows.
When you selected Windows, click on Next and then on Install.
Congrats! you've installed Wwise!
No that we've installed Wwise, go back to the tab "WWISE" and click on "Launch Wwise". A window will popup asking to select a project. Instead we want to click on the button "New" to create a new project.
Another window will popup asking for a name. You can pick whatever you want. I'm gonna pick "sifumodding" for this tutorial. You can also change the location if you want.
Click on "OK" when you've selected a location and gave a name.
Now you'll see a window talking about licensing. You can just click on "Close" and save your project (Ctrl + S).
Congrats! You've made an empty Wwise project! You can now close the Wwise editor as we don't really need that anymore. You also need to setup wwise only once.
Now let's convert some mp3 files. When you unzipped "Sifu Music Modding - KangieDanie". Open the folder.
In there you'll find some things:
_data (don't touch this)
Modded BNK (is when you save your custom bnk)
mp3 (this is where you put your mp3 files)
Original (the original bnk files)
wav (outputs wav files from the mp3 files)
wem (this is where you'll find your converted wem files)
OPTIONS (needed so you can convert from MP3 to WEM)
Alright so there's currently one mp3 file called "SurpriseOST" in the mp3 folder. Let's use that one for now.
Open "OPTIONS.txt". In there you'll find
We need to change those two so that we can convert mp3 files to wem files.
To find the WwiseConsole, go to wwise launcher=> WWISE and click on the setting icon next to your installed Wwise version.
Click on "Open Containing Folder". This will open the folder where your wwise is currently located.
To find WwiseConsole go to Wwise(version)\Authoring\x64\Release\bin
that's where WwiseConsole.exe is located. So our WwiseConsolePath would be:
To find our WwiseProject, you can go to the tab "PROJECTS" and next to your project name click on show more:
It will show a path where your project is located. Just copy that path and paste it in OPTIONS.txt at [WWISEPROJECTPATH].
So your OPTIONS.txt should look like this.
Okay, now click on MP3 to WEM converter.bat and follow the instructions on there. When finished go to wem=>Windows. In there you should find "surpriseOst.wem".
Congrats! you've made your first wem file!
Now that we've created a wem file. We can start with swapping the music.
Open Wwiseutil-gui.exe. For this tutorial we'll just swap the music when you first move to the fence in the squats level. So we need to open a bnk file to swap.
To swap music in the squats level we need to open "Original/Wug_Music_Hideout1.bnk".
Now you'll probably don't know which number you need to swap. Well that's why I created the SIFU | Audio Database which is currently not finished.
Open that and you should see numbers with a description
Now let's look what number is linked with when you first move to the fence.
FOUND IT! it is number 58!
Alright so now in wwiseutil-gui, let's scroll until we see "58.wem". Click on 58.wem
Now we're going to replace 58.wem with surpriseOst.wem.
Click on replace and go to "wem/Windows" and click on surpriseOst.wem. In wwiseutil-gui, you'll see that it shows surpriseOst.wem at 58.wem.
Now we only need to save so click on "Save" and below you'll need to change "Save as" to Soundbank file (VERY IMPORTANT)
Save it in the folder Modded BNK with the name Wug_Music_Hideout1
Now we only need to pak this.
Note: sometimes it won't save properly so it is possible that you'll save it again.
Now for the final part! you only need to create the pak and sig file.
Create an empty folder on your desktop called "MyMusicMod". In there create the folder "Sifu" and in the "Sifu" folder, create the folder "Content". In the "Content" folder , create a folder called "WwiseAudio" and in there a folder named "Windows".
so your "MyMusicMod
" folder path should be "MyMusicMod\Sifu\Content\WwiseAudio\Windows
"
Copy "Wug_Music_Hideout1.bnk
" from the Modded BNK folder to "MyMusicMod\Sifu\Content\WwiseAudio\Windows
"
That is basically it! Now pack the "MyMusicMod" folder and put it in the mods folder of the game (~mods).
IMPORTANT! Copy the .sig from the original pak in the game folder and rename it to the pak name we are using and put it in the mods folder of the game (~mods) (example: MyMusicMod.sig)
You can now go to the squats level and you should be able to hear the surpriseOst playing.
Congrats! you made your first music mod!
Well if you don't want to use that, you can look into the xml file that is related to the bnk file.
So if you want to change something in the club level, you'll have to open Wug_Music_Hideout2.xml
and look for the ID
For example: The second part of Sean Phase 1 battle is 106492130. You'll need to open wwiseutil-gui and look which number is linked with that ID. Then you can just replace that number and it should work.