Page 2 of 4
Re: HLDJ crashes on Setup
Posted: Sat Dec 27, 2008 12:07 am
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.
Re: HLDJ crashes on Setup
Posted: Sat Dec 27, 2008 6:46 pm
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)
Re: HLDJ crashes on Setup
Posted: Sat Dec 27, 2008 6:54 pm
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?
Re: HLDJ crashes on Setup
Posted: Sat Dec 27, 2008 7:02 pm
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.
Re: HLDJ crashes on Setup
Posted: Sat Dec 27, 2008 7:14 pm
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....
Re: HLDJ crashes on Setup
Posted: Sat Dec 27, 2008 7:40 pm
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
Re: HLDJ crashes on Setup (IEBeta8 issues)
Posted: Tue Apr 21, 2009 9:24 am
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....
Re: HLDJ crashes on Setup (IEBeta8 issues)
Posted: Tue Apr 21, 2009 10:20 am
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.
Re: HLDJ crashes on Setup (IEBeta8 issues)
Posted: Tue Apr 21, 2009 7:14 pm
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)
Re: HLDJ crashes on Setup (IEBeta8 issues)
Posted: Tue Apr 21, 2009 7:17 pm
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.
Re: HLDJ crashes on Setup (IEBeta8 issues)
Posted: Tue Apr 21, 2009 7:22 pm
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).
Re: HLDJ crashes on Setup (IEBeta8 issues)
Posted: Tue Apr 21, 2009 7:34 pm
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.
Re: HLDJ crashes on Setup (IEBeta8 issues)
Posted: Tue Apr 21, 2009 7:43 pm
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.
Re: HLDJ crashes on Setup (IEBeta8 issues)
Posted: Tue Apr 21, 2009 7:55 pm
by y0himba
Re: HLDJ crashes on Setup (IEBeta8 issues)
Posted: Tue Apr 21, 2009 8:45 pm
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?