Killing Floor 2

Killing Floor 2

Not enough ratings
Extracting KF2 audio files ( NOT replacing )
By Urik
Just my personal take on extracting game sounds / music from KF2.
   
Award
Favorite
Favorited
Unfavorite
Update note
As EHOT suggested in one of recent comments, you can consider using
Ravioli Tools[www.scampers.org] instead which is easier. It has full user interface, options to convert to other formats including wave and selecting export location.
Author notes
Basically, this whole thing started when a random Steam friend asked me how to do this.
So, after finding out myself, I just couldn't stop until I ended up with this entire script / context menu thingy, then it lead to documentation, guide and video.

I fully realize that for some, this might be overcomplicated and long.
TL;DR Documentation
The Download link

Download link[drive.google.com]
Introduction
This started after someone asked me on Steam on how to extract sounds from KF2.
After a brief search I came up with a few scripts and made this.
I'm not saying this is the only way, just what I came up with; I took info I found online and tried to simplify the process a bit.
I'm aware there's this Wwise tool or whatever, but this method uses bnk extractor, ww2ogg.exe and revorb.exe

If anything isn't clear enough, watch the video (better, just read the documentation, as the video is a bit outdate as of 2021)
If it still seems complicated, my apologies.
I'm pretty sure it's explained well enough for the kind of people would might end up using it.
Credits / thanks to
With thanks to the following source - it's all based on the info from there:
How to extract game audio files (guide)

The original tools can be found at:
bnk extractor[github.com]ww2ogg_v024(link)[hcs64.com]
Revorb[hcs64.com]
Installation
  • In the download archive, you'll find a folder kf2_sdk with all the files. Extract it to anywhere you like, or to C:
  • If your location isn't C:\kf2_sdk, run _set_location_for_context_menu_reg_files.cmd
  • Go to context_menu_entries folder and run .reg files to add context menu entries
  • Use _generate_sendto_shortcuts.cmd to generate shortcuts for "Send To" menu
  • sendto shortcuts can be used for batch conversion via right-click > sendto
Uninstallation
  • run *_remove.reg files in \remove folder to remove context menu entries
  • run _delete_sendto_shortcuts.cmd to delete "Send To" shortcuts, or delete them manually
  • delete the files
Notes
Obviously, you can also just drag & drop input files onto the scripts themselves
Scripts rundown (what they do)
  • bnk_to_ogg.cmd
    • for .bnk input files:
      • copies them to new subfolder of same name
      • extracts .wem files from them (bnkextr.exe)
      • deletes the duplicate .bnk copy
      • converts .wem files to .ogg (ww2ogg.exe)
      • revorbs (fixes) the .ogg files (revorb.exe)
      • deletes previously generated .wem files

  • wem_to_ogg.cmd
    • converts input .wem files to .ogg and revorbs (fixes) them
    • if input file is a folder, converts all .wem files in the folder
    • does NOT delete original .wem files ( unless del_wem variable is true )
Notes #2
  • During testing I’ve noticed that Explorer often starts acting wonky after extraction / conversion of these files. I’m not sure why, maybe the amount of I/O file writing / indexing sort of overwhelms it.
  • I use Resonic Player to listen to sound files & music, can recommend for this sort of stuff
Screenshots
"Send To" entry
-
Folder context menu entry
-
.bnk file context menu entry
Video (warning: it's long)
9 Comments
Uif Qpps Tbq Aug 1, 2021 @ 8:32pm 
I'm afraid the link for Ravioli Extractor isn't valid, server can't be found, and I'm too paranoid to go searching online.
Zota6 Oct 27, 2019 @ 10:15am 
Oooor you can just use Ravioli Extractor.
Komradvsky Oct 22, 2019 @ 2:54pm 
ok
Urik  [author] Oct 22, 2019 @ 2:23pm 
damn, that's a whole chain of comments. I did this for a friend, and as far as I'm concerned, I don't think the guide is too complicated. It's just that the whole explanation is long, and I went into way too much detail.
Komradvsky Oct 22, 2019 @ 1:38pm 
urik pls fix:b3d_looser::Fistofdosh:
Komradvsky Oct 22, 2019 @ 1:16pm 
"During testing I’ve noticed that Explorer often starts acting wonky after extraction / conversion of these files." Well fuck me sideways you are right... Why did you do this? Help, noo staph daagh
Komradvsky Oct 22, 2019 @ 1:03pm 
lmao i found an easier tutorial lmfaoooo.
Komradvsky Oct 22, 2019 @ 12:53pm 
bruhh i just want the sound effects for my soundpad, but i don't know how to code or shit like that, I just want to extract this shit lol :csgogun::csgo_headshot: