Half-Life 2

Half-Life 2

Not enough ratings
Adding custom music to Half-Life 2 and it's episodes
By DAT Target Practice
Got bored with HL2 OST and wanted to replace the soundtrack?
No problem, here I will describe how to replace the HL2 soundtrack.
3
   
Award
Favorite
Favorited
Unfavorite
Setting it up
First of all, we need to prepare the song. It has to be in the MP3 format, and the sampling rate should be set to 44.1 KHz (you can change it using Audacity, if you have a problem with that). For example, if you want to replace the song "Apprehension and Evasion" with the song "Klaxon Beat", copy the replacment from the HL1 files (the name is Half-Life12), but if you don't have HL1, you can download the soundtrack from internet. (for example: https://downloads.khinsider.com/game-soundtracks/album/half-life-original-soundtrack) After getting the song, rename it to the filename of the song you want to replace (for example, "HL2_song29").
Customizing it
Go to your Steam folder, then "steamapps" folder, "common", then your Half-Life 2 folder, and to folder named "hl2". Here, create a folder named "custom", in it create another folder named "root", then in folder "root" create a folder named "sound", and finally in the folder named "sound" create a folder named "music".
After that, your file path to folder with music should look like this:
<folder where you have Steam installed>\steamapps\common\Half-Life 2\hl2\custom\root\sound\music.
After creating the folders, put your custom "HL2_song29" (or other music files you want to replace) in the "music" folder.
Credits
After that, launch Half-Life 2 and enjoy your custom music!
Note that this method will work with HL2 episodes, you just need to create "custom" folder either in "episodic" folder or in "ep2" folder.

Special thanks to @DahMainahGaimah for the instructions!
43 Comments
TaRS 24 Feb @ 8:05am 
it's just silent for me
Rocket 22 Jan @ 7:09am 
It's not working, if I try to replace a track the song is just complete silence, and I'm following the tutorial as shown, I've modified the the file to be in 44.1 KHz, I've made the folders, with the names n everything yet it doesn't work.
DAT Target Practice  [author] 31 Dec, 2024 @ 6:19am 
Not really, I've seen a plenty of music replacement on the Workshop, which have the same file structure as in this tutorial and they work fine. It seems that you just did something wrong here.
Ruskah 30 Dec, 2024 @ 8:05pm 
didnt work, is smthn different after the update?
Jimbobmaddock 22 Dec, 2024 @ 7:02am 
Thank you :steamthumbsup:
DAT Target Practice  [author] 21 Dec, 2024 @ 11:04pm 
Of course - just remember that they are stored in WAV files. You can use GCFScape in order to see their names and the filepaths to them in the game's filesystem.
Jimbobmaddock 21 Dec, 2024 @ 9:57am 
Can the same steps be applied for changing the sound effects? Recently I have been modding the campaign with a ton of goofy sound effects, from the steam workshop, and I won't mind learning how to make one of theses basic sound replacement mods for the steam workshop.
DAT Target Practice  [author] 6 Dec, 2024 @ 4:47am 
1. Nope, it only has to be a MP3 file with 44,1 KHz sampling rate.
2. It should work, but you need to know that other sounds in the game are stored in WAV files. You can get info about where they are located by installing GCFScape.
GangsterGoji2K5 #FixTF2 5 Dec, 2024 @ 2:13pm 
1: Does it all need to be the same length?

2: Should this work for other sounds in the game?
DAT Target Practice  [author] 16 Nov, 2024 @ 2:07am 
As I'm aware of, HL2 doesn't have any kind of menu music, so you would need to recompile the background maps in order to add music to them.