Killing Floor 2

Killing Floor 2

343 ratings
Simple custom music player
2
   
Award
Favorite
Favorited
Unfavorite
Maps and Mods: Gamemodes
File Size
Posted
Updated
57.882 MB
Jul 13, 2018 @ 12:21pm
Sep 6, 2018 @ 9:57am
6 Change Notes ( view )

Subscribe to download
Simple custom music player

Description
Version 2
Killing Floor 2 build: 1069 beta

Description:
Add your favorite custom music that will be played randomly according game category (boss tracks for boss; wave tracks for wave and etc). You don't need to modify game resources anymore. Supports all popular and even rare music formats (music is played by FFmpeg, list of supported audio codecs[www.ffmpeg.org]). You can also put video file that contains music, so it will be played as background music.

Supports the following categories of music:
  • Main Menu
  • Trader (lobby uses "Trader" theme)
  • Wave
  • Boss

WARNING! Since we don't know how VAC actually works, my batch script may trigger false activation of VAC because script monitors opened original music files by Killing Floor 2 game to determinate music category.
You will not get VAC ban. It only forces others VAC secured games to kick you from server without ban if you leave that script running. Killing floor 2 servers never kicks you.

Usage:
  1. Disable in-game music in killing floor 2 by using setting to zero music volume in options.
  2. Download that workshop item
  3. Add anti-virus exception in case of false positive
  4. Open "*\Steam\steamapps\workshop\content\232090\1440122015"
  5. Open folder "KF2CustomMusic" (you can also move "KF2CustomMusic" to another directory if you want)
  6. Put your music to "Music" folder according to music category (Boss, Main Menu, Trader, Wave). You can use subdirectories inside category and put video file that contains music, so it will be played as background music.
  7. Run "run.bat" as administrator (admin rights needed for Sysinternals handle program). For first use script will download program "handle" from Microsoft Sysinternals and you need to agree their EULA agreement;

Update version:
  1. Delete "*\Steam\steamapps\workshop\content\232090\1440122015". Before that make sure you are moved your music files from that folder!
  2. Unsubscribe
  3. Subscribe

Controls:
  • NUMPAD8 - volume UP for KF2
  • NUMPAD5 - volume DOWN for KF2
  • NUMPAD9 - volume UP for custom music player
  • NUMPAD6 - volume DOWN for custom music player

Known limitations, bugs:
  • In the map KF-MonsterBall the player may play "Main Menu" theme in "Trader" theme (game uses same track for both categories)
  • In the map KF-MonsterBall the player may play "Main Menu" theme in "Trader" theme (game uses same track for both categories)
  • No fade and fade out when track changes;
  • You need to use windows mixer to adjust a volume. Instead of minimizing of game you can use buttons listened in "Controls";
  • If you put non-music file inside music category, it will be also played as music track (for example if you put file "cover.jpg", it will be played as music track).
  • False positive of some anti-viruses (script monitors currently opened files of the game and creates a hidden process)
  • Need admin rights;

List of References:

List of third party utilities used in script:
  • GnuWin utilities;
  • Git-SCM utilities;
  • Autohotkey;
  • Microsoft Sysinternals "handle" program;
  • 7-zip;
  • Create Hidden Process.

Credits:
  • Thank you to each and every one of you and a special wish for a happy game with your favorite music!

Changes in Version 2:
  • minimized amount of background windows;
  • when you close a program it will also automatically close a music player;
  • you can adjust volume without minimizing a game;
  • you can use any symbols in track names;
  • script will never play the same track twice;
  • some fixes regarding current theme - "none" when the game is runned and in-game music is played;
  • fixed a sudden track change during a long wave match.
Popular Discussions View All (7)
2
Apr 21, 2021 @ 11:27am
Fixed bat file that restores volume controls.
Littlefoot
2
Jun 21, 2020 @ 5:31am
Killing Floor 2 Music Files (Summer 2020) for adding .wen´s to the data base
Frattet
1
Oct 12, 2022 @ 10:05am
Добавить fadeout при конце волны
Unamelable
200 Comments
⭐~Lady Brimstone~⭐ Jul 9, 2024 @ 3:02am 
@Dr Everything'll Be Alrite

Yeah I'm having that issue too. Also, I would like to know how to rebind the controls. My mouse is the kind with the keypad on the side and I usually have 5 and 8 as melee and grenades.
Dr Everything'll Be Alrite Mar 20, 2024 @ 5:56pm 
Mine seems to not be playing any boss tracks when fighting the Matriarch. Anyone else have this problem?
UHC Jan 2, 2024 @ 4:49pm 
@Nobodyn88

Thanks for announcing your antivirus is bad
Nobodyn88 Jan 2, 2024 @ 2:40pm 
Don't download this shit, it's malware
Luna Nov 21, 2023 @ 11:58am 
so i was able to fix access denied problem by changing in run.bat in notepad the line
start "" "%~dp0System\chp.exe" "%~dp0System\ffplay.exe" "%~dp0%trackName%" -autoexit -window_title KF2CustomMusic -nodisp
to
start "" /MIN "%~dp0System\ffplay.exe" "%~dp0%trackName%" -autoexit -window_title KF2CustomMusic -nodisp
Note to the dev: i took the modified line from the comment above the broken line, was it unintentional change?
Rickrack Oct 29, 2023 @ 7:25pm 
who hurt you acid bath?
Acid Bath Sep 26, 2023 @ 6:35am 
just play spotify in the background bozo
WuBButGamer Jun 17, 2023 @ 1:37pm 
I've done everything step by step. None of this works.
All run.bat does is detect a selected mode and flash "access denied" non stop.
Billy Pol Pot Feb 21, 2023 @ 4:51pm 
game not responding, i think you need to update the version maybe?
BronyFan/HelluvaFan Jan 4, 2023 @ 5:02pm 
I hate to ask but could you make a video that teaches you how to install it?