hcs64 / ww2ogg

Convert AudioKinetic Wwise RIFF/RIFX Vorbis to standard Ogg Vorbis
BSD 3-Clause "New" or "Revised" License
330 stars 39 forks source link

Baldur's Gate 3 .wem files don't convert #19

Closed PKBeam closed 3 years ago

PKBeam commented 4 years ago

Previously the alternate packed codebooks worked, but a recent update to the game has changed this.

This is what ww2ogg outputs now for both normal and alternate packed codebooks.

Input: .\13734.wem
RIFF WAVE 2 channels 48000 Hz 297208 bps
18048000 samples
- 6 byte packet headers, no granule
- stripped setup header
- external codebooks
- shortened Vorbis packets
Output: .\13734.ogg
Parse error: invalid floor1 masterbook

I've attached an example file: 13734.zip vgmstream does not play this file.

PKBeam commented 3 years ago

Okay, I have to apologise. The wem file I was working with was incorrectly extracted. After re-extracting the file properly, the alternate packed codebooks work now.

hcs64 commented 3 years ago

Thanks for the follow-up, sorry I didn't get a chance to look into it sooner.