Converting Wwise files from Dragon Age 2 by katiebour at 8:44 PM EDT on March 14, 2012
Hello!
I'm trying to use ww2ogg to convert Wwise .oggs from Dragon Age 2 into Vorbis .oggs. I have the files extracted, have extracted ww2ogg and its files into the same directory, and have a convert.bat file with the following [FOR %%a in (*.ogg) do ww2ogg “%%a”]
When I attempt to run the batch file, I get:
when I drag and drop files individually onto ww2ogg, I get an output file, but it won't play. For example, if I drag n drop [4572.ogg], the output is [4572.ogg_conv.ogg] which won't play in either VLC or foobar, nor can I convert it.
Any help would be greatly appreciated! I see in the readme that it says "Note: AudioKinetic Wwise 2011.2 starts using a new set of packed codebooks. If you are getting totally invalid files as output, for a game produced after mid-2011, try using the --pcb packed_codebooks_aoTuV_603.bin switch." Any assistance as to how I can do this would also be appreciated. Thanks :)
************
Edit: figured out how to use the switch in my .bat and also running revorb. Handy .bat file here:
for %%a in (*.ogg) do ( ww2ogg --pcb packed_codebooks_aoTuV_603.bin "%%a" del "%%a" ) for %%a in (*.ogg) do revorb "%%a"
Glad you worked it out. Sorry if the readme isn't very helpful if you don't know what a command line switch is.
The issue in the screenshot is that you were using some editor to make the .bat that generates "smart quotes". These don't work nicely with the command shell, which expects the dumb ASCII quotes. Notepad or some other plain text editor is always recommended for this kind of work.
Actually I'm still having problems. Oddly enough I wrote and saved the program in Notepad so I have no idea why it would have smart quotes. Will keep trying. Last converted file came out as high-frequency gibberish.
Responding both here and to your email: You don't need to use the --pcb switch for Dragon Age 2, the default (which is the packed_codebooks.bin I provide) is sufficient. In telling it to use the wrong set of codebooks, the bitstream is interpreted entirely wrong. So just do:
ww2ogg "%%a"
and you'll be set.
I guess the smart quotes may have snuck in from a paste from elsewhere. I hate those things.