HLDJ won't work for me anymore in-game.

Help with using HLDJ
CHA
Game DJ
Posts: 7
Joined: Thu May 20, 2010 10:54 pm

HLDJ won't work for me anymore in-game.

Post by CHA »

Just randomly happened, thought it was my private server for awhile but yeah, it's everywhere.

It still boots up the game, gives me the console, et cetera, just won't let me use my hotkey to play stuff.

Tried downloading a new one (in case of updates) but no dice.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ won't work for me anymore in-game.

Post by Renegade »

Could be the game, check the stickies/rules.
CHA
Game DJ
Posts: 7
Joined: Thu May 20, 2010 10:54 pm

Re: HLDJ won't work for me anymore in-game.

Post by CHA »

Hm. Sorry about that, always forget to read the board stickies.

The game's TF2.

2) Does "HLDJ Loaded Successfully" appear in console on starting the game (with no errors)?

I get this : "
HLDJ loaded - some files could not be written ( 1 error ) ! "

3) What is the console output after selecting a song, or issuing other HLDJ commands such as "hldj_next"?

It all works perfectly fine as far as I can tell.

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?

I'm not sure how to do this...

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?

Yeah, everything's active.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ won't work for me anymore in-game.

Post by Renegade »

2) The error's unimportant but you can get rid of it by deleting any "hldj_" files you find under your Steam directory (see #4).
4) The same way you search for any file on your computer, (i.e. open your Steam directory and hit Ctrl+F, or google the appropriate instructions for your operating system).
CHA
Game DJ
Posts: 7
Joined: Thu May 20, 2010 10:54 pm

Re: HLDJ won't work for me anymore in-game.

Post by CHA »

It appears that it's not anywhere in the Steam folder while loaded and playing, nope.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ won't work for me anymore in-game.

Post by Renegade »

If that's the case, and it worked before under the same settings and randomly stopped working, then there may be a problem with your OS. Try to remember any recent changes you made and/or run a virus checker. Something is preventing HLDJ from creating the necessary file(s).

Also, check the output of the "hldjca" command. If it updates to show the last selected song (but no voice_input.wav is created), then the problem occurred when HLDJ attempted to create the file in your game audio folder. If not, then it likely occurred when HLDJ attempted to read the file from your audio folder.
CHA
Game DJ
Posts: 7
Joined: Thu May 20, 2010 10:54 pm

Re: HLDJ won't work for me anymore in-game.

Post by CHA »

HDLJCA worked like it should and "voice_input" was created in the steam/steamapps/username/team fortress 2/tf folder, which is where I specified the game folder to be.

Gonna see if it works without that command...

It's not there when I exit.

It's not there when the program's on.

It IS there when I select a file.

Hm, hope that helps...
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ won't work for me anymore in-game.

Post by Renegade »

You've provided conflicting information; I suggest re-reading the rules/sticky to make sure you understand everything there (paying particular attention to any notes on TF2).
If that is truly the directory you find voice_input.wav, then the game setup is incorrect (it should appear in "team fortress 2", not "tf"), you might try re-adding the game or verify its directory in Setup.

(also, the 'hldjca' command won't affect anything)
CHA
Game DJ
Posts: 7
Joined: Thu May 20, 2010 10:54 pm

Re: HLDJ won't work for me anymore in-game.

Post by CHA »

Well, damn. Back on post 5 (my post 3) I didn't select a file, just the program loaded. So yes, it would appear...

... in the "C/ProgramFilesx86/steam/steamapps/username/team fortress 2/tf", which is what I have selected for the game directory.

Sorry about that, urgh.

Just confirmed it.

Tried it on three servers, all three of them have "sv_allow_voice_from_file" set to 1.

In the HDLJ setup, it won't let me select the "team fortress 2" folder, if that's what I should do.

Also, I havn't made any major changes/downloads/etc. ...

unless getting an external hard drive would do anything (... the time matches up, but I couldn't imagine it would do anything) and I run two anti-virus checkers weekly and have protection, so I think that's out.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ won't work for me anymore in-game.

Post by Renegade »

Your game directory (where the game exists) and game audio directory (where voice_input.wav will exist) are not one in the same. If the game dir is ".../team fortress 2/tf", then the game audio dir will become ".../team fortress 2" and the audio file will exist as ".../team fortress 2/voice_input.wav". If this is not the case for you then, as per my last post, you should re-add the game via Setup. If it still persists, inspect your "settings.hldj" in a text editor - the game audio directory will be the second path listed under the game name. If all else fails, remove both HLDJ and the game, and re-install both.

(also, the previous diagnosis (that it might be an OS problem) is not applicable anymore since you provided new information, so you can disregard it.)
lolbutter
Game DJ
Posts: 2
Joined: Sat May 29, 2010 12:11 pm

Re: HLDJ won't work for me anymore in-game.

Post by lolbutter »

After reading this thread, I have come to the conclusion that I have a similar, if not the same, problem. Now I have never used HLDJ before, but except for actually playing the file, everything seems to work fine.
I have tried creating a server and joining servers with sv_allow_voice_from_file set to 1, but when I press my play audio key, it shows the voice icon, but nothing plays. I also checked for errors, and did not see any in the console, and it appears the file is loaded, but will not play.
My microphone works otherwise, when I press the microphone key, but no sound files play. I checked my steamapps/username/team fortress 2 folder, and it does create voice_input.wav, which I can play back on VLC, but when I press the button, it does not play. I have checked the file and edited it twice according to the instructions in the manual, but that does not appear to be the problem.
I am running Windows 7 64-bit, but have run no programs other than firefox, HJDL, and steam/tf2 since I installed HLDJ, so it couldn't have changed any files.

*EDIT* I also went and tried it in CSS, but had the same results.
CHA
Game DJ
Posts: 7
Joined: Thu May 20, 2010 10:54 pm

Re: HLDJ won't work for me anymore in-game.

Post by CHA »

Alright, I reinstalled TF2 and HLDJ, re-did setup.


Still doesn't work.

But HERE'S the odd thing. I was on a server where you get a currency every seconds, and some admin put a really stupid thing where "micspamming" costs a certain amount per second.

The server detected it when I used it and charged me...

I'm not sure if anyone else heard it (because I didn't) and I asked, but received no answer.

I'll have to see later but I'd still want to hear my own stuff, if it was like that...
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ won't work for me anymore in-game.

Post by Renegade »

lolbutter wrote:My microphone works otherwise, when I press the microphone key, but no sound files play. I checked my steamapps/username/team fortress 2 folder, and it does create voice_input.wav, which I can play back on VLC, but when I press the button, it does not play.
You haven't the same problem, your voice_input.wav is showing up in the correct place. Try the sample audio files on the download page, if the problem persists, try playing your audio by entering "voice_inputfromfile 1; voice_loopback 1; +voicerecord" into console. For further assistance, create a new topic.
CHA wrote:Alright, I reinstalled TF2 and HLDJ, re-did setup. Still doesn't work.
Perform step #4 again, what are the results? post your settings.hldj file.
lolbutter
Game DJ
Posts: 2
Joined: Sat May 29, 2010 12:11 pm

Re: HLDJ won't work for me anymore in-game.

Post by lolbutter »

I tried one of the samples, and it does work. I guess the problem is in my audio files. I'm not going to ask you what to do, because I followed the instructions exactly, but thanks for the help anyway, I'm going to go back and see if I missed something.
CHA
Game DJ
Posts: 7
Joined: Thu May 20, 2010 10:54 pm

Re: HLDJ won't work for me anymore in-game.

Post by CHA »

The "voice_input" was again was created in the "team fortress 2" folder upon selecting a thing to play.

And how would I go about posting that file... won't let me attach it, and I don't know how to open it.
Last edited by CHA on Mon Jun 14, 2010 3:33 pm, edited 1 time in total.
Post Reply