Wwise-Unpacker icon indicating copy to clipboard operation
Wwise-Unpacker copied to clipboard

Parse Error: riff truncated.

Open Solracotos opened this issue 6 years ago • 2 comments

Hello,

First of all, thanks for creating this repository and tools. I'm trying to convert several .bnk files of an android game to .ogg. After reading your readme and following your instruction the tools fails to create the files. The tool seems to encounter problems converting the WAV file to .ogg. See below for the print out of the Unpack to ogg . bat file. Do you have any suggestions?

I'm attaching a zip file with 4 of the BNK files SPPD_BNKFILES.zip

C:\Users\CARLOS\Downloads\Wwise-Unpacker-master\Wwise-Unpacker-master>FOR %a IN ("Game Files*.PCK") DO ("Tools\quickbms.exe" "Tools\wavescan.bms" "Game Files" "Tools\Decoding" )

C:\Users\CARLOS\Downloads\Wwise-Unpacker-master\Wwise-Unpacker-master>FOR %b IN ("Game Files*.BNK") DO ("Tools\bnkextr.exe" "%b" & MOVE *.wav "Tools\Decoding" )

C:\Users\CARLOS\Downloads\Wwise-Unpacker-master\Wwise-Unpacker-master>("Tools\bnkextr.exe" "Game Files\Music_BattleAdv.bnk" & MOVE *.wav "Tools\Decoding" ) Divinity 2: Ego Draconis / Army of Two .BNK extractor (c) CTPAX-X Team 2009-2010 http://www.CTPAX-X.ru/

.001.wav C:\Users\CARLOS\Downloads\Wwise-Unpacker-master\Wwise-Unpacker-master.001.wav 1 file(s) moved.

C:\Users\CARLOS\Downloads\Wwise-Unpacker-master\Wwise-Unpacker-master>FOR %c IN (Tools\Decoding*.WAV) DO ("Tools\ww2ogg.exe" "%c" --pcb Tools\packed_codebooks_aoTuV_603.bin & DEL "%c" )

C:\Users\CARLOS\Downloads\Wwise-Unpacker-master\Wwise-Unpacker-master>("Tools\ww2ogg.exe" "Tools\Decoding.001.wav" --pcb Tools\packed_codebooks_aoTuV_603.bin & DEL "Tools\Decoding.001.wav" ) Audiokinetic Wwise RIFF/RIFX Vorbis to Ogg Vorbis converter 0.24 by hcs

Input: Tools\Decoding.001.wav Parse error: RIFF truncated

C:\Users\CARLOS\Downloads\Wwise-Unpacker-master\Wwise-Unpacker-master>FOR %d IN (Tools\Decoding*.OGG) DO ("Tools\revorb.exe" "%d" & MOVE "%d" "OGG" )

 Watch out, it's the tornado!

Unpack finished! Files should be in the 'OGG' folder

Should I delete BNKs and PCKs from the 'Game Files' folder [Y/N]?

Solracotos avatar Dec 04 '19 23:12 Solracotos

I'm having this exact same issue. Feels bad.

thealexmay avatar Apr 08 '20 08:04 thealexmay

Check my forked repo: https://github.com/mortalis13/Wwise-Unpacker

It has the "Unpack to WAV" script that extracts raw WAV files, without converting them to OGG or MP3.
Though the files you've shared seem very short, can't hear anything.

mortalis13 avatar Oct 06 '20 14:10 mortalis13