I myself learned from this article here: https://www.nexusmods.com/residentevil42023/articles/38
Instructions:
- Use RE Tool to unpack the game's chunk file
- Use FusionTools to find the file .pck file I need through trial and error (FusionTool can open .pck files and play the sound files in them)
- Extract .wem, and converted .wav files from the .pck file I found.
- Run Whisper voice recognition on .wav files, and make a spreadsheet linking WEM IDs to transcripts.
- Find appropriate lines to replace the existing ingame lines, and put the replacement file names into the same spreadsheet.
- Rename replacement lines to have the same filename they are replacing.
- Use Wwise to convert replacement .wav files into .wem.
- Overwrite the WEMs extracted in step 3 with new replacement WEMs.
- Use FusionTool to open the .bnk file that corresponds to the .pck file found in step 2 and import all the WEMs into it.
- Save the new BNK file.
SPCK vs SBNK:
You can see the filenames in the my mod's installation instructions, but there's a trick to them.The actual files that contain the voice lines in the game are sounds packs (pay attention to the .spck extension) here:
STM\Streaming\Sound\Wwise\OT_Dia_Type01_m.spck.1.X64.En
STM\Streaming\Sound\Wwise\OT_Dia_Type02_m.spck.1.X64.En
STM\Sound\Wwise\OT_Dia_Type01_m.sbnk.1.X64.En
STM\Sound\Wwise\OT_Dia_Type02_m.sbnk.1.X64.En
That's about the high level overview of it. If you have any questions you can ping me on the Modding Haven discord in the #mhwilds-modding channel.
The links for tools and discord can be found here: https://github.com/Modding-Haven/REEngine-Modding-Documentation
0 comments