Baldur's Gate 3 how to convert wav to wem correctly so that these files work in the game's voice acting?

Question: How can I correctly convert wav files to wem format for Baldur's Gate 3 to make these files work in the game's voiceover?

  1. I use ExportTool-v1.18.5 to extract the contents of Voice.pak and English.pak files.
  2. Then, I search for the desired dialogue in the file C:\UnpackedData\English\Localization\English\english.xml and note down the contentuid from the line.
  3. I search for the audio track using the contentuid in the C:\UnpackedData\Voice folder.
  4. For example, I find the file v2c76687d93a2477b8b188a14b549304c_hcb228250g01eeg4e3cg88abg3f55fb87ee71.wem.
  5. I convert the file v2c76687d93a2477b8b188a14b549304c_hcb228250g01eeg4e3cg88abg3f55fb87ee71.wem to the wav format using vgmstream to ensure that I have found the correct audio track.
  6. I synthesize a new audio recording in the wav format.
  7. Then, I attempt to convert the wav file to the wem format through Wwise. The conversion is successful, and even vgmstream can play the converted wav correctly. However, in the game, the audio track doesn't play and there is silence.
  8. I replace the original wem audio track with the synthesized wem audio track.
  9. Using ExportTool-v1.18.5, I compile a new pak file, ensuring to select No compression and Solid.
  10. Then, I test the changes in the game's voiceover by launching the game. Currently, the method of replacing the original wem files with a copy of the original audio track works, where I give the copied track the same name to ensure that the compilation process is correct. This way, the audio track in the game is modified. However, if I attempt to synthesize a new audio track and convert it to the wem format, there is silence during the dialogue in the game.
7

Related questions 0 How to join mp3 and wav files 0 How to Convert a 24bit WAV file to 32bit while keeping Audio Format PCM = 1 (linear quantization) 1 play wav file with jquery plugins Related questions 0 How to join mp3 and wav files 0 How to Convert a 24bit WAV file to 32bit while keeping Audio Format PCM = 1 (linear quantization) 1 play wav file with jquery plugins 2 ffmpeg 0.5 flv to wav conversion creates wav files that other programs won't open 0 How do I convert audio from one format to wav or raw in Java? 0 Why do these wav-files behave differently? 2 How to read/write high-resolution (24-bit, 8 channel) .wav files in Java? 0 Convert big mp3 files to wav timing issue Load 5 more related questions Show fewer related questions

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like