Star Wars: Battlefront (2004) - common.bnk

Codecs, formats, encoding/decoding of game audio, video and music
ggctuk
Posts: 33
Joined: Thu Jan 21, 2016 9:19 pm

Star Wars: Battlefront (2004) - common.bnk

Post by ggctuk »

This file contains all of the game's sound effects files. So far, we cannot dump it to individual files, though we can open the whole thing in Audacity. Normally, this would not be a problem but it leaves no gaps between sounds, which makes it especially difficult to separate the looped sounds properly. So is there a way to break this sound bank file down into individual sound files? The first 74.1 KB is most likely header data.

Here's the common.bnk file from Star Wars: Battlefront: https://www.mediafire.com/?8l79crqgepc2fwh
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Star Wars: Battlefront (2004) - common.bnk

Post by id-daemon »

Looked at the file. I can split them for you, if you still need it. Just confirm.
Last edited by id-daemon on Mon Mar 28, 2016 6:03 pm, edited 1 time in total.
ggctuk
Posts: 33
Joined: Thu Jan 21, 2016 9:19 pm

Re: Star Wars: Battlefront (2004) - common.bnk

Post by ggctuk »

Yes, please :)
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Star Wars: Battlefront (2004) - common.bnk

Post by id-daemon »

ok something goes wrong on file 1350 of 1555, while i'm checking this, you can test first version, and your looping sounds.
Last edited by id-daemon on Mon Mar 28, 2016 5:55 pm, edited 1 time in total.
ggctuk
Posts: 33
Joined: Thu Jan 21, 2016 9:19 pm

Re: Star Wars: Battlefront (2004) - common.bnk

Post by ggctuk »

It seems there is a problem with file 1395 as well and it won't go any further. However, the loops come out straight up and the sounds are at their correct playback rate for each effect.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Star Wars: Battlefront (2004) - common.bnk

Post by id-daemon »

yes because i'm reading sample rate from header ;)
ggctuk
Posts: 33
Joined: Thu Jan 21, 2016 9:19 pm

Re: Star Wars: Battlefront (2004) - common.bnk

Post by ggctuk »

Cool! This should make creating new large sound files for the game that much easier! It's much appreciated. :D
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Star Wars: Battlefront (2004) - common.bnk

Post by id-daemon »

Ok. Problem solved. 6 records in the header were just links to other sounds inside this same file. I made corrections so the tool works properly. It will produce 6 dummy files, ignore them.

New version posted at the top.
ggctuk
Posts: 33
Joined: Thu Jan 21, 2016 9:19 pm

Re: Star Wars: Battlefront (2004) - common.bnk

Post by ggctuk »

Seems to have worked fine, it's extracted all the way to the end. Thanks :)
lyrikwritr
Posts: 14
Joined: Mon Sep 18, 2017 5:25 am

Re: Star Wars: Battlefront (2004) - common.bnk

Post by lyrikwritr »

is it possible to get the dark trooper phase zero model?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Star Wars: Battlefront (2004) - common.bnk

Post by aluigi »

@lyrikwritr
A "model" in an audio archive???
I guess you are completely off-topic
ggctuk
Posts: 33
Joined: Thu Jan 21, 2016 9:19 pm

Re: Star Wars: Battlefront (2004) - common.bnk

Post by ggctuk »

Thanks again to id-daemon. I've just tested it on the SWBF2 common.bnk file and it works there too - evidently there was no change to the sound file structure between the games.

I've used the dumped files (renamed afterwards) to create a brand new common.bnk file for the first game.