Mods & Workshop

KF2: Replace the In-Game Music with Audacity and Wwise (.wem)

This guide, written in Russian, shows how to replace Killing Floor 2's built-in music with your own tracks. It needs two programs and works by renaming your converted files to the numbers of the tracks you want to replace. For an automated approach see the KF2 custom music replacement tool and installing the KF1 music pack.

Preparation

You need:

  • Audacity, an audio editor to convert your music to WAV.
  • Wwise Authoring Tools (Audiokinetic) to convert tracks to the game's .wem format.

New Wwise versions cause crashes, so use an older one: v2014.1.6 (the author tested it) or v2015.1.6. To download: create an account on the site, open Products, Wwise, scroll to the bottom and click Download, then use the "Older version" button on the download page and pick the version in the Wwise row. Also prepare the tracks you want to hear.

Audacity

Import the track (File, Import, Audio, or drag it into the window), then File, Export Audio, and save as "WAV (Microsoft) signed 16 bit PCM".

Audacity export dialog Exporting as signed 16-bit PCM WAV.

Wwise and the .wem format

  1. Launch Wwise and click New at the bottom of the window, enter a project name and press OK; converted tracks will be saved in that project.

Wwise new project Creating a project.

  1. Project, Project Settings, General: make sure the Windows platform is ticked (others can be unticked).
  2. Project, Project Settings, Source Settings: set Vorbis quality to High in Conversion Settings.

Wwise source settings Setting the Vorbis quality.

  1. Project, Import audio files, Add files.
  2. Select your tracks in the main window and set them up as in the original screenshots, raising the volume slider to maximum. On the Source Settings tab you can choose the format if you did not before, and edit the quality settings.
  3. Finally, Project, Convert All Audio Files; check that Windows is selected and press OK. Then close Wwise.

Replacing the files

  • Find your converted files in Documents\WwiseProjects\<project name>\.cache\Windows\SFX.
  • Open the game music folder: steam\SteamApps\common\killingfloor2\KFGame\BrewedPC\WwiseAudio\Windows.
  • Back up the files you are going to replace.
  • Each track has a number. To learn which one to replace, look for the files WwiseDefaultBank_WW_MACT_Default.txt and WwiseDefaultBank_WW_MAMB_Default.txt: MACT lists the combat tracks during waves, MAMB the tracks between waves (shopping time). The author notes that the txt files were later replaced with bnk, making the numbers harder to find, so a track list from earlier and from Reddit is included.
  • Rename your Wwise files to the number from the track list, and move them into the folder replacing the originals.

Track list: between waves (MAMB)

FileTrack
65679231.wemzYnthetic - Bone Shards
91775572.wemzYnthetic - Assembly Lab
110592195.wemzYnthetic - Foreign Bodies
118765967.wemzYnthetic - Latent Traces
156495284.wemzYnthetic - Aftermath
231000480.wemzYnthetic - Momentary Reprieve
327061799.wemzYnthetic - Malformitate
469078662.wemzYnthetic - Treading Ashes
872775510.wemzYnthetic - Rendezvous Point
942727632.wemzYnthetic - Phantom Security
977682838.wemzYnthetic - Post Force Trauma
1039391895.wemRocky Gray - In The Darkness (Instrumental)
1053015750.wemzYnthetic - Prey For The Wicked

Track list: combat (MACT)

The original has a long list of combat tracks by numeric ID. Examples:

  • 19144916 zYnthetic - Death Marches
  • 34624129 zYnthetic - Plague Unit
  • 52726504 zYnthetic - Bloodlust
  • 91404098 BF & JS - Defend The Crown (Instrumental), also known as "Zed Time Thrash"
  • 131033496 zYnthetic - Incarnate
  • 145948109 zYnthetic - Hydra
  • 347135049 zYnthetic - Relentless
  • 655856778 Patriarch theme
  • 666327332 Hans theme ("Die Volter")
  • 744802984 zYnthetic - To The Slaughter

The rest of the list includes instrumental and vocal versions of Demon Hunter, Living Sacrifice, Impending Doom, Becoming The Archetype, Fit For A King, Dirge and BF & JS tracks, and later seasonal-update tracks.

FAQ

Which Wwise version works for KF2 music replacement?
Old versions, v2014.1.6 or v2015.1.6. Newer Wwise versions lead to crashes.
What audio format does the game use?
Wwise .wem files in KFGame/BrewedPC/WwiseAudio/Windows, named by track number.
Which list covers music between waves?
MAMB, the trader-time music; MACT is the combat music during waves.