(PS3) Sly Collection BNK Files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Quasi-Detective
Posts: 15
Joined: Fri Jan 08, 2021 1:43 pm

(PS3) Sly Collection BNK Files

Post by Quasi-Detective »

I would like to rip the sound effects from the BNK files found in the Sly Collection's files, but I can't find any tools capable of doing so properly. foobar 2000 with the vgmstream plugin can load some of them partially (?) with the proper sample rate, but either won't open or crashes trying to play files found in others. VGMTrans opens these, but doesn't get the right sample rate(s?).

Is there a way to get all of the files out of these BNKs in their correct sample rates? There are thousands of files across all of the BNK files in the games, and having to guess the sample rate of every individual file manually would be, uh, not feasible, to say the least.

Note that these are not WWise WEM BNK files. These have "klBS" as a header and seem to contain ADPCM audio data.
These also are not sequenced music BNK files, as the PS3 remaster all but zero'd out those files. I'd love to work with those, too, but I'd need a way to rip them from the PS2 ISOs (see my post about that here: https://zenhax.com/viewtopic.php?f=9&t=16399#p69182). The BNK files I'm dealing with now only contain sound effects.

Here are two BNK files from Sly 1: core_E.bnk can be opened (at least partially) by foobar with the correct sample rate, but foobar doesn't load anything from voodoo_E.bnk.
Sly1_core_E and voodoo_E.zip

And in case they are different somehow, here are two more. One is from Sly 2 and the other is from Sly 3.
Sly 2 and 3_dvdmenu.slyB.zip
JackTheRipper
Posts: 51
Joined: Mon Jan 10, 2022 12:12 am

Re: (PS3) Sly Collection BNK Files

Post by JackTheRipper »

Looks like it is a SCREAM format by Sony?
DKDave
Posts: 136
Joined: Mon Nov 23, 2020 6:01 pm

Re: (PS3) Sly Collection BNK Files

Post by DKDave »

All of your samples seem to play ok for me in Foobar. Try updating your vgmstream plugin top see if that fixes it.
Quasi-Detective
Posts: 15
Joined: Fri Jan 08, 2021 1:43 pm

Re: (PS3) Sly Collection BNK Files

Post by Quasi-Detective »

DKDave wrote:Try updating your vgmstream plugin top see if that fixes it.

Yep, that did it. I'm the kind of person that doesn't think to update things, so I never would've thought to update the vgmstream install I had :lol:
Thanks!