No sound in Garry's Mod.

Help with using HLDJ
Post Reply
User avatar
Bazsil
Game DJ
Posts: 1
Joined: Fri May 07, 2010 6:19 pm

No sound in Garry's Mod.

Post by Bazsil »

For a while now, I have been unable to play any sound in Garry's Mod. It is updated, the sounds are correct format, etc.

I was able to play music a before, but now I cannot. I changed nothing I know of that would interfere with HLDJ. The server admins have not disabled it, because other players have been able to use HLDJ fine. The icon indicating that my microphone is transmitting audio is appearing, HLDJ is loading, but sound doesn't play.

1) Does HLDJ launch the game correctly for you?
No, it launches the SDK, but it has done this as long as I have had it and it worked fine when I loaded Garry's Mod manually.

2) Does "HLDJ Loaded Successfully" appear in console on starting the game (with no errors)?
"HLDJ loaded - some files could not be written ( 1 error ) !" It says nothing else, so I have no idea what to do about it. However, it has shown "(1 error)" in the past, but has played audio fine so I thought nothing of it.

3) What is the console output after selecting a song, or issuing other HLDJ commands such as "hldj_next"?
] 10
Host_WriteConfiguration: Wrote cfg/hldj_cmd_d.cfg
Loaded : bob marley


4) After loading one of the sample audio files, perform a search of your Steam directory (without stopping HLDJ) for the file "voice_input.wav" - does it show up, and if so, where?
Yes, in my "C:\Program Files\Steam\steamapps\<steamname>\garrysmod" folder, "C:\Program Files\Steam\steamapps\<steamname>\garrysmod\garrysmod\" folder, and my "C:\Program Files\Steam\steamapps\<steamname>\team fortress 2" folder.

5) Does voice normally work for you? If not, or you do not have a mic, have you remembered to set up any applicable options in your OS and/or the game?
As long as my microphone is plugged in, it works. (Without it, I cannot use HLDJ in any game) However, it is damaged, but that usually does not have any effect on audio play.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: No sound in Garry's Mod.

Post by Renegade »

The 1 error (unrelated) is probably resolved by deleting any leftover .hldj or hldj_ files you find in your game's "cfg" directory (or generally anywhere they appear in the Steam directory). It can happen if you launch two instances of HLDJ; duplicate files are created that cause problems later on.

What is odd is that voice_input.wav is showing up in two places in gmod, which means one is the wrong place and probably the one you are using. Go into HLDJ's Setup and check if there is more than one entry for gmod. If so, delete all others other than the correct one, which should have its game path pointing to C:\...\garrysmod\garrysmod

If this resolves the problem, it would be helpful if you could screenshot the contents of both the ...\garrysmod directory and the ...\garrysmod\garrysmod directory so I can prevent the incorrect one from being added.
Datastream
Game DJ
Posts: 6
Joined: Sun May 09, 2010 1:22 pm

Re: No sound in Garry's Mod.

Post by Datastream »

I have the same problem. Whenever I try to play a song it will turn voice_loopback to 1 and I'll only hear myself. Which is not what it's supposed to be doing. It's supposed to play the music which it did until only recently.
I also start garrysmod manually and the gamepath is pointing to \garrysmod\garrysmod. It's pretty much everything the same as OP.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: No sound in Garry's Mod.

Post by Renegade »

Take from the post what you can and re-post your problem in a separate thread please, using the guideline from the sticky/rules
Apclera
Game DJ
Posts: 1
Joined: Mon May 10, 2010 6:33 pm

Re: No sound in Garry's Mod.

Post by Apclera »

It's the same with me. I think A new update to gmod might have broken it or something.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: No sound in Garry's Mod.

Post by Renegade »

It's possible; I'll see when and if I can get my hands on a copy of Gmod to test; but until then, please create your own topic with the applicable details.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: No sound in Garry's Mod.

Post by Renegade »

You may disregard my previous instructions/advice. As one poster suggested, the latest update to Gmod undoubtedly broke something.
Please refer here: http://hldj.org/forums/viewtopic.php?f=5&t=413
Datastream
Game DJ
Posts: 6
Joined: Sun May 09, 2010 1:22 pm

Re: No sound in Garry's Mod.

Post by Datastream »

So Gary ruined HLDJ for us?
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: No sound in Garry's Mod.

Post by Renegade »

Updated with solution, see sticky linked above.
Post Reply