HLDJ crashes on Setup (IEBeta8 issues)

Help with using HLDJ
User avatar
y0himba
HLDJ Tester
HLDJ Tester
Posts: 13
Joined: Fri Dec 26, 2008 10:49 pm
Location: My desk.
Contact:

Re: HLDJ crashes on Setup

Post by y0himba »

Nah, only running hldj_1.4.08.exe (after renaming it to just hldj.exe) by itself works. If I run the version that is downloadable from the main page, 1.4.5 by itself, it still gives the error described in this thread.

I am wondering if HLDJ only keying my mic is a Vista thing.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ crashes on Setup

Post by Renegade »

Hmm, definitely could be a problem in file I/O, which would also adversely affect playback, since HLDJ needs to write to the file "voice_input.wav".
What happens if you:
1) download and unzip 1.4.5
2) replace hldj.exe with the Current Build (hldj_1.4.08.exe)
User avatar
y0himba
HLDJ Tester
HLDJ Tester
Posts: 13
Joined: Fri Dec 26, 2008 10:49 pm
Location: My desk.
Contact:

Re: HLDJ crashes on Setup

Post by y0himba »

Same crash when trying to use setup. It seems if the files in the directory are created manually by someone logged in as administrator it works. Where does HDJ write the internediate wav file?
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ crashes on Setup

Post by Renegade »

It could very well be that... at the least the .hldj files are not necessary (settings.hldj is auto-created and the others are just used to check for valid aliases), if not just for the playback issue, the workaround might have been okay. I'll check out technet to see if the file I/O routines were updated.
The "voice_input.wav " file, for Source games, is created in the parent directory of the game directory.
User avatar
y0himba
HLDJ Tester
HLDJ Tester
Posts: 13
Joined: Fri Dec 26, 2008 10:49 pm
Location: My desk.
Contact:

Re: HLDJ crashes on Setup

Post by y0himba »

When I get home I will.play with the dirctory permissions and see if helps...I can't do it from my PDA. Vista is too secure sometimes....
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ crashes on Setup

Post by Renegade »

Agreed. Just had a buddy over helping him get it setup... was surprised to discover even renaming a file warrants a cancel/allow :S
þýrσнαzσяd
Game DJ
Posts: 1
Joined: Tue Apr 21, 2009 9:00 am

Re: HLDJ crashes on Setup (IEBeta8 issues)

Post by þýrσнαzσяd »

HLDJ crashes on the add games settings
My HLDJ crashes after setting up the main game Directory in the add all games section....
1. open containing folder (unzipped folder of HLDJ)
2.No Games currently exist.
Would you like to run Setup now?
YES NO
******
3. Would you like to add all of your games now?
YES NO
******
4.Fill out Add All Games thing with game name engine play audio key game directory audio directory.
5. press ok/next.
-=-=-=-=-CRASH POINT-=-=-=-=-=-
6. looking for installed games.
7. HLDJ is not working
8. HLDJ is not responding
9. HLDJ -close prgram now-
10. its funny because during this i changed where my audio folder is and i have discovered that if you have this problem do not put music or game directory onto an external hard drive....
User avatar
y0himba
HLDJ Tester
HLDJ Tester
Posts: 13
Joined: Fri Dec 26, 2008 10:49 pm
Location: My desk.
Contact:

Re: HLDJ crashes on Setup (IEBeta8 issues)

Post by y0himba »

I have tried everything, resetting permissions, creating the files manually, running HLDJ as administrator. I have HLDJ loading, it doesn't crash, but it will not play sounds in game, just keys up the mic.

Using Windows Vista.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ crashes on Setup (IEBeta8 issues)

Post by Renegade »

To #10: I'd imagine that using non-main drives, network paths, etc. for game/audio paths might cause grief, is it working for you after changing that?

@y0himba: try this pre-release of the next coming version; I haven't much addressed (or even been able to replicate) the problem, but I've made some modifications to the code that may have an affect:
http://hldj.org/hldj_1.4.11.exe

Alternatively if anyone experiencing this can send me their Windows crash-dump files after a crash occurs (search for the most recently created .mdmp file in your Windows directory), I may be able to do some debugging.

(Of course, there's also the possibility of Remote Desktop-ing to get a diagnose... but that could get a bit tedious)
User avatar
y0himba
HLDJ Tester
HLDJ Tester
Posts: 13
Joined: Fri Dec 26, 2008 10:49 pm
Location: My desk.
Contact:

Re: HLDJ crashes on Setup (IEBeta8 issues)

Post by y0himba »

I use my D: drive to install all games and game related files. It is a physical second drive, not a partition. Maybe that's why it won't play audio? It could also be the fact that I have Teamspeak running, but it never affected it before.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ crashes on Setup (IEBeta8 issues)

Post by Renegade »

I suspect it may be the latter. You can test it quickly by copying HLDJ to your C: drive and creating a dummy game directory on it and having HLDJ add it (the game directory should contain dummy "resource" and "cfg" directories, and a "gameinfo.txt" file).
User avatar
y0himba
HLDJ Tester
HLDJ Tester
Posts: 13
Joined: Fri Dec 26, 2008 10:49 pm
Location: My desk.
Contact:

Re: HLDJ crashes on Setup (IEBeta8 issues)

Post by y0himba »

I can tell you that the version I just grabbed from your post is working, but still no sound. I have tried shutting down Teamspeak, unplugging the front mic and restarting, all permissions are good, HLDJ is run as admin.

Code: Select all

] la
Directory: D:\games\hldj\Audio 
Current: thank_you_come_again       Next: (none) 
  1. thank_you_come_again  
] 1
Host_WriteConfiguration: Wrote cfg/hldj_selc.cfg
Loaded : thank_you_come_again
Working fine, and the wav file is the proper format, 11025mhz 16 bit mono.

Everything works, just no sound.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ crashes on Setup (IEBeta8 issues)

Post by Renegade »

After loading a song (successfully?), check that the file "voice_input.wav" exists in the directory up a level from you game directory (i.e. for CS, it would be: ...\SteamApps\username\counter-strike source\). If not, a copy error likely occurred (possibly a result of the path). I'll have to try a repro when I get a bit more time.
User avatar
y0himba
HLDJ Tester
HLDJ Tester
Posts: 13
Joined: Fri Dec 26, 2008 10:49 pm
Location: My desk.
Contact:

Re: HLDJ crashes on Setup (IEBeta8 issues)

Post by y0himba »

Its there.


----------------
Now playing: The Beatles - You Never Give Me Your Money
voice.jpg
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ crashes on Setup (IEBeta8 issues)

Post by Renegade »

HLDJ seems to be functioning per normal then; the problem may lie within the game's setup. From in-game try entering into console:

Code: Select all

voice_enable 1; voice_forcemicrecord 0; voice_inputfromfile 1; voice_loopback 1; +voicerecord
The audio file should start playing. If not, you may need to reconfigure your sound/recording options both in the game and in Vista. Does your mic regularly work via voicecomm?
Post Reply