Unable to batch convert Assassin's Creed Revelations RIFF using ww2ogg 0.19 by MrEvergreen at 2:24 PM EST on December 16, 2011
Good day to the HCS community. I would like to seek assistance to a little problem I'm having, and hopefully I'm not being a bother to anyone here.
Similar to Assassin's Creed 2, they packed up a chunk of RIFF files in wav extension into a pack which I have extracted. As you would predict, its a massive pain dragging each file to ww2ogg.exe, so I made a batch file with this:
for %%i in (*.wav) do ww2ogg %%i
When I run the batch, ww2ogg seems to be working busily, but nothing came out at all, and I suspect that it didn't like handling all those files for some reason. Does anyone have a better batch command for this ordeal I'm having?
If it works one at a time then no, you don't want to just go adding switches at random.
How did you run the batch? You should run it from the command line, so you can see if ww2ogg is giving any errors. It may also be working from the wrong directory.
I have made a better batch, try this. You can then drag all the .wav files directly onto the .bat at once, and it should work without any issues relating to directories.
cd "%~dp0" :getfile if "%~1"=="" goto end ww2ogg.exe "%~1" -o "%~dp1\%~n1.ogg" shift goto getfile :end
[note: the .bat should be in the same directory as ww2ogg.exe and packed_codebooks.bin]
edited 1:33 AM EST December 17, 2011
by MrEvergreen at 2:06 AM EST on December 17, 2011
None of the options worked, even with the latest packed_codebooks_aoTuV_603, so I went to run the bat directly in cmd to see what is wrong with it, and it returned this error:
'Argument error: Only one input file at a time.'
Is it supposed to do that? o_O
((Edit: The batch script that hcs posted worked perfectly, however.))