Vextil / Wwise-Unpacker

Unpack game audio Wwise files (pck, bnk)
617 stars 109 forks source link

Parse Error: riff truncated. #11

Open Solracotos opened 4 years ago

Solracotos commented 4 years ago

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]?

thealexmay commented 4 years ago

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

mortalis13 commented 3 years ago

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.