Plants vs. Zombies 2 Audio *.bnk

Codecs, formats, encoding/decoding of game audio, video and music
RayXu
Posts: 10
Joined: Mon Jun 29, 2015 11:41 pm

Plants vs. Zombies 2 Audio *.bnk

Post by RayXu »

aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Plants vs. Zombies 2 Audio *.bnk

Post by aluigi »

So that file is just the one extracted by the 1bsr_pgsr.bms script?
Because it's compressed and it should be not compressed, I have made a small modification to the script (now 0.2.1) to automatically do the job.
I tested and compared the results with the previous script and 1.0.226789.rsb is just the same, while 3.7.1.rsb gave 110 different files (all with bnk extension) which means that now they are completely uncompressed.

Regarding the audio files with the BKHD header you can use this script:
http://aluigi.org/papers/bms/others/armyoftwo.bms

(it doesn't work with the file you provided because it doesn't contain audio data)
MisterPrawn
Posts: 5
Joined: Sun Feb 08, 2015 11:54 pm

Re: Plants vs. Zombies 2 Audio *.bnk

Post by MisterPrawn »

I've actually managed to extract some of the .bnk files myself. However, I can't seem to get the wav files it produces to play properly, so it'd be nice to get some assistance with those. See if these samples will help in any way:

https://www.mediafire.com/?nofwy8adperscv7
spider91
Posts: 233
Joined: Sun Aug 24, 2014 5:26 pm

Re: Plants vs. Zombies 2 Audio *.bnk

Post by spider91 »