How To: Play music in Source games using HLDJ
The estimated reading time for this post is 190 seconds
Ever wanted to rick roll the whole server? Or put some ambient music/sounds during clan matches? Now it’s easier than ever to do so without extensive configuring! Show your clan mates who’s the best DJ! HLDJ or Half-Life DJ is designed to deliver audio and music though the microphone in supported Source engine games like TF2, CSS, Gmod, HL2:DM and L4D and GoldSrc games like CS 1.6. This guide will walk you though the initial configuration of HLDJ. Note that you need to have the Steam version of those games and not *ahem* standalone versions.
1- Get the latest version of HLDJ from their official website. For this tutoral, I am using the version 1.6.0a10 64-bit.
2- Unzip the files somewhere. No install is required.
3- Open hldj.exe
4- Press YES on the First Run dialog.
5- Press YES on “Would you like to add your games now?”
6- In this dialog(See picture), select the key that you use to talk in steam(see your game options) and select it in the drop down menu. Then, select the directory or create a new directory where your music/sound files are stored.
7- Press OK and wait for HLDJ to detect your Steam games. It may take a while depending on the number of games you have.
8- In the main HLDJ dialog, select the Audio Converter button and use the utility to convert sound files to be used in games. HLDJ uses a specific format of WMA audio files(wav file, 8000Hz (Half-Life) or 11025Hz (Source) frequency, 16-bit sampling rate, mono-channel). You must convert all audio files before using them in HLDJ. Select the engine(Source or GoldSrc) depending on which game you are playing your music. I recommend you to tune down the volume percentage while converting the sound files, loud music is extremely annoying, is considered as micspam and can get you kicked or banned from a server. Select your Input directory(where your music is) and Output directory(where to save your converted files). After that, click OK. The conversion may take a while depending on your computer performance and number of files to convert.
9- In the main HLDJ menu, select the game you want to play and click the start game button(the play icon). You must repeat this step each time you want to use play sounds in an game.
10- After the game has loaded, the game console will pop up with an introductory message and some simple commands to get you started.
HLDJ successfully loaded!execing hldj_help.cfgQuick-Start Guide:1 ) enter ‘la’ to display the audio list.2 ) enter the number of the file to load.3 ) press the END key to start/stop audio.Basic Commands:hldjn, hldjp, hldjr – loads the next/previous/random audio file.hldjca, hldjcd – displays the current audio file/directory in console.hldjsca, hldjstca – displays the current audio file in public/team chat.hldjsq, hldjqa – stops HLDJ and quits the current game/quits both.[enter 'hldj1' for more commands/help][enter 'hldj' to display this guide again]
11- Type “la” and press enter.
12- Using the numbers, select the music file you want to play. (Every file has a number on the left, type that number in the console and press enter).
13- Join an game and hold the Play key you had set earlier. Other plays should now hear your sound file. Change the music file with the commands(see above).
Warning: Do not abuse your newly found power! You will get yourself banned/kicked for being annoying. Some servers have banned mic musics, you should check with the server rules before using HLDJ.



