Gwent Voiceline/Audio Modding Tutorial

witcher gwent cards

***Back up your game files before trying this yourself***

Using this guide you'll be able to replace any voiceline you want in the game. I'm not great at explaining things so if you can't understand something or need help in any other way feel free to ask me

Prerequisites:

Here's the code for the bat files if you don't want to download them:

Convert txt to wem to ogg

for %%f in (*.wem) do ww2ogg.exe %%f --pcb packed_codebooks_aoTuV_603.bin
pause
for %%f in (*.ogg) do revorb.exe %%f
pause 

Convert ogg to wav

for %%a in (*.ogg) do (
    ffmpeg -i "%%a" "%%~na.wav")
PAUSE

You'll need to be somewhat familiar with using UABE, if you're not, then I'd recommend to use this guide from u/bbbmods to get a hang of it, it's used in basically the same way.

Once you have everything downloaded and ready to go you can get started.

Step 1:

Using UABE, extract the .txt files from Gwent>Gwent_Data>StreamingAssets>voicedata_en-us>vo

https://preview.redd.it/ng8alzixhup61.png?width=3840&format=png&auto=webp&s=1e4491b7a70714090ebfa6ea963999ed4edc7bda

Step 2:

Place these files from WWiseUnpacker>Tools (revorb.exe, ww2ogg.exe, packed_codebooks_aoTuv_603.bin, ffmpeg.exe) into your folder with the .txt files. Also place the two .bat files inside.

https://preview.redd.it/a2lacbj1iup61.png?width=3840&format=png&auto=webp&s=c48a0a2348b951bc26020c562c9a583b62541fbd

Step 3:

Run convertwemogg.bat, then towav.bat. Now you should have a .wem, .ogg, and .wav file for each voiceline. You'll only need the .wav files, so feel free to delete the .wem and .ogg files.

https://preview.redd.it/ld8zlez4iup61.png?width=3840&format=png&auto=webp&s=a0824b4625f15789ddcbafe7a6e1744c164627b1

Step 4:

Decide and find which voice file you want to replace from the .wav files. It can take a a lot of time to find which file your actually looking for as not many are named with what card the files belong to.

Step 5:

Using Audacity, open the wav file, and then import the new audio clip you want to use. (Note: the new file you use has to be shorter or equal in length to the original file).

https://preview.redd.it/2o57w6e8iup61.png?width=827&format=png&auto=webp&s=2c810d23515a90be1c4c5c65243fda6be7a65838

Step 6:

Now mute the original voice clip, and export the new file as .wav, saving it as the original file name.

https://preview.redd.it/d6j5928biup61.png?width=937&format=png&auto=webp&s=1436488fa874f6878e5923a599e724c7b7da0562

Step 7:

Using WWise, create a new project, go to 'Project' in the top left, then to 'Import Audio Files'. Click on 'Add files' and add your new .wav file. Next go back to 'Project' and click on 'Convert All Audio Files' and 'Convert'.

https://preview.redd.it/fhsu2ttyiup61.png?width=3840&format=png&auto=webp&s=25690f4362cfeaa428e888e0562aaed337b2dda6

Step 8:

Still in WWise go to 'Project' and 'File Manager' and then right-click on the project-folder address and select 'Open Containing Folder'. Now in the folder open up .cache>Windows>SFX and your new .wem file will be there.

https://preview.redd.it/snl3teamiup61.png?width=3840&format=png&auto=webp&s=b0a35f34a6f99d9825475fe3acd936988025d6bd

https://preview.redd.it/rdpx9cxoiup61.png?width=3840&format=png&auto=webp&s=86fe757c2b23b9361da142d924a50de1f6bc0b5a

Step 9:

Rename the file extension from .wem to .txt

Step 10:

In UABE again open the vo file, and find the name of the file you're replacing. Go to plugins>import as .txt and select your newly renamed .txt file. Save the file as 'vo', and replace the original file in voicedata_en-us with it.

Step 11:

Open Gwent and hear your new voiceline!

https://reddit.com/link/mf7afx/video/stsqyma2jup61/player

Source: https://www.reddit.com/r/gwent/comments/mf7afx/gwent_voicelineaudio_modding_tutorial/

leave a comment

Your email address will not be published. Required fields are marked *