Unknown Command error when entering "la" or "listaudio"

Help with using HLDJ
Post Reply
Jester4kicks
Game DJ
Posts: 6
Joined: Sat May 16, 2009 4:08 pm

Unknown Command error when entering "la" or "listaudio"

Post by Jester4kicks »

I did some searching and found similar problems with different circumstances... so I'm hoping a new thread is ok in this case.

I just installed HLDJ for the first time, and everything seemed to go fine. However, I cannot access the audio list from the dev console in Team Fortress 2.

Based on diagnostic questions asked in previous threads... here's some basic info:

1) Yes, I have the proper game directory configured in HLDJ. :lol: (see below)
2) Engine is Source.
3) There are no hldj*.cfg files in the teamfortress 2\tf\cfg folder.
4) Yes, I have full administrator control over all files and folders on this computer with no additional security settings.
5) No, there is no mention of HLDJ in the dev console when the game launches.

Configuration:
CPU: Intel Core2Duo
OS: Windows XP Pro x64
Game: Team Fortress 2
Game Directory: G:\steamapps\jester4kicks\team fortress 2\tf (Yes, I know it's on the G: drive, that's intentional)
HLDJ directory: C:\Documents and Settings\Administrator\Desktop\hldj_v1.4.5\HLDJ\


If you need anything else, even screen shots, let me know. I'm truly stumped by this. I'm betting it has something to do with the .cfg files not showing up in the .cfg folder... but I'm not sure what I can do about that.

Thanks!
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Unknown Command error when entering "la" or "listaudio"

Post by Renegade »

Yep, the config files definitely need to be there for anything to work...
After hitting start, does HLDJ launch TF2 correctly for you? Also, there were some TF2-specific issues addressed in the 1.4.08 current build, you could give that a try.

Failing that, what happens if you place HLDJ on the same drive (G) as the game? (theoretically it shouldn't matter... theoretically)
Jester4kicks
Game DJ
Posts: 6
Joined: Sat May 16, 2009 4:08 pm

Re: Unknown Command error when entering "la" or "listaudio"

Post by Jester4kicks »

Ok, well we're getting somewhere... not sure where though.

I downloaded the current build and swapped the exe into the HLDJ folder (took a bit to figure that one out). I then moved the entire folder to the same drive that the steamapps folder is on.

I launched TF2 from HLDJ (BTW, it was doing that fine prior to the this)... and it launched TF2 and configured the .cfg files in the cfg folder. However, when TF2 came up, there was still nothing in the dev console about HLDJ... and the la or listaudio commands still return "unknown command" messages.

Any thoughts?
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Unknown Command error when entering "la" or "listaudio"

Post by Renegade »

Now I'm wondering which of the two solutions got you there... did you try them at the same time? (though I'd assume that it was probably switching the location of HLDJ that did the trick).
Once the .cfg's are present in your "cfg" folder, if for some reason the game fails to execute them, enter "exec hldj_init.cfg" into console to start it up manually.

If that gives you an error, it would seem like a rare problem I've heard of before where the game simply refuses to execute script files. In this case I think a check of integrity on the game files or full re-install may be in order.
Jester4kicks
Game DJ
Posts: 6
Joined: Sat May 16, 2009 4:08 pm

Re: Unknown Command error when entering "la" or "listaudio"

Post by Jester4kicks »

Yeah, I tried both at the same time... so kinda hard to say which one got us this far.

I tried the "exec hldj_init.cfg" command, but it returned an error "couldn't execute".

I'd rather not do a complete reinstall if it can be avoided. Any other thoughts?
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Unknown Command error when entering "la" or "listaudio"

Post by Renegade »

At least re-verifying shouldn't be much of a hassle: just right-click on the game -> properties -> check integrity.
Also, you can remove HLDJ completely from the equation by creating a simple script file containing some arbitrary commands (i.e. "echo test") in your cfg folder, and then "exec" it from the console. If even that fails, your game is definitely fubar.
Jester4kicks
Game DJ
Posts: 6
Joined: Sat May 16, 2009 4:08 pm

Re: Unknown Command error when entering "la" or "listaudio"

Post by Jester4kicks »

Well, I went Properties>Local Files and clicked "Verify integrity of game cache". It was the only thing that seemed close to what you said.

It passed, I guess. No error messages.

I've never written a basic script. Can you offer some basic steps?
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Unknown Command error when entering "la" or "listaudio"

Post by Renegade »

Yep, that's the one.

A script is just a text file containing commands on each line. Open up your favourite text editor (i.e. notepad) and type in a command (for example "echo test123"), save as a .cfg file (i.e. "mytest.cfg"), and place it in your cfg folder. Now start the game and in console enter "exec mytest.cfg". The text "test123" should be echoed in console.
Jester4kicks
Game DJ
Posts: 6
Joined: Sat May 16, 2009 4:08 pm

Re: Unknown Command error when entering "la" or "listaudio"

Post by Jester4kicks »

Ok, well, it couldn't exec the mytest.cfg either. Guess I just need to completely reinstall steam. Grrr....
Jester4kicks
Game DJ
Posts: 6
Joined: Sat May 16, 2009 4:08 pm

Re: Unknown Command error when entering "la" or "listaudio"

Post by Jester4kicks »

Ok, well after a complete reinstall of steam and TF2, problem solved!

Thanks for all the help!
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Unknown Command error when entering "la" or "listaudio"

Post by Renegade »

No prob, good to see all is well now.
Post Reply