PAYDAY 2

PAYDAY 2

View Stats:
Quasimodo Apr 18, 2017 @ 3:51pm
Questions about the .bnk file extension
So I've decided to get into modding (creating mods, not installing them), and I've found a variety of tutorials and guides to do this. Specifically, I want to get into modding the sounds that can play in the game, but all of the tutorials I've found so far seem to be outdated, as the majority of the sound files in the guides are in the .stream format. However, I've extracted the game files myself and found that the majority of the sound files are .bnk file types.

I've googled this file type, but so far I've come up with nothing concrete. I've found at least three different sources telling me to use three different programs in order to work with this type of file extension. I've all but given up on trying to figure this out myself, so how do I create and/or modify a .bnk file type, and with what program?
< >
Showing 1-8 of 8 comments
Zdann Apr 18, 2017 @ 3:53pm 
Most of the files are in .stream format, in the soundbanks/streamed folder.
For most mods you won't need to touch .bnk files.
Quasimodo Apr 18, 2017 @ 4:13pm 
Originally posted by Zdann:
For most mods you won't need to touch .bnk files.
the file I want to mod is a bnk file type, hence the question
Zdann Apr 18, 2017 @ 4:14pm 
Originally posted by Quasimodo:
the file I want to mod is a bnk file type, hence the question
Which file are you trying to mod though?
Quasimodo Apr 18, 2017 @ 4:18pm 
the m308. It's sound files are in weapon_m14.bnk
Zdann Apr 18, 2017 @ 4:47pm 
The process of modding the .bnk files is a bit more complex than the standard streams. I'll try to write out a guide:
1. Download this tool.[www.dropbox.com] This was originally made by the Bodhi's Sound Repair dudes, but I can't find the original download link (and I believe it's missing a dll). The copy I uploaded should work.
Extract this somewhere.

2. Download the sound converter.[bitbucket.org]

3. Get the .bnk you want to mod and drop it in the Sound File Tool folder.

4. Open up sound_banks.txt and add the name of the .bnk you want to extract (weapon_m14 in this case). I might've left another .bnk name in there, so just replace it.

5. Run SoundFileEditor.exe, it should spit out a folder with the .bnk name.

6. Open up the newly created folder, then go to the bank_streams folder. Extract the sound converter (wwise_ima_adpcm.exe) in here.

7. Follow the "How to mod sounds" section to decode the .stream files:
https://steamcommunity.com/sharedfiles/filedetails/?id=231568439
(This guide also goes over how to convert your new sound into a .stream. I won't go over how to do that here, but you should do that.)

8. You should have a bunch of .wav files with weird names. Listen to them to figure out which ones you want to replace.

9. Once you've figured out what files you want to replace, go back into the main .bnk folder (weapon_m14). Place your custom .stream files in here.

10. Open up data.txt in the same folder. It looks weird, but the format is basically like this:
(Bnk Sound Name)=(Your Stream Name).stream#

So if I had a stream called "fire.stream", and wanted to replace a bnk sound named "0bd42ba6", I would do this:
0bd42ba6=fire.stream#

Save once you're done editing.

11. Run the tool again. It should have generated a .bnk in the "Output" folder.
Quasimodo Apr 18, 2017 @ 5:22pm 
thanks a lot man you've really helped me out a lot with this
Thanks a lot. Helped for my KSP mod. :)
Imaperson46 Nov 9, 2022 @ 6:02pm 
The sound converter link doesn't work anymore so I thought I would upload a copy of it (if the link doesn't work just tell me)

https://www.dropbox.com/s/uwn646lai1uamnx/sound_conveter_v1.15.zip?dl=0 - sound converter

https://www.dropbox.com/s/ef27vcz28crnxbm/Sound%20File%20Tool.zip?dl=0 - sound file tool
Last edited by Imaperson46; Nov 9, 2022 @ 6:04pm
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Apr 18, 2017 @ 3:51pm
Posts: 8