HLDJ wont change WAVs
Posted: Mon Jun 08, 2009 11:51 am
[note: problem should be fixed in the HLDJ 1.5.0 Beta]
I've browsed this help forum in its entirety and i've seen quite a few topics on this exact problem but none that offer any working solution yet. So here it is...
What happens is HLDJ works and functions normally for a short while, and then randomly will refuse to change WAVs. The current loaded file will always be the same one, whichever one HLDJ got stuck on, and you cannot change it through any of the console commands or any other way. You can only fix the problem by restarting HLDJ and the game.
I've found that the source of the problem lies in autoexec.cfg. When HLDJ runs a game, it makes all these hldj_xxx.cfg files in the game's /cfg/ folder. Executing HLDJ_init.cfg is what actually starts HLDJ when you start the game. Unfortunately if you execute it twice while your game is up, it will cause HLDJ to get stuck on the current WAV. So a lot of us have added scripts for TF2, right? Mine all say to execute autoexec.cfg whenever I change classes, to reset everything. So it would happen that anytime I switched classes, HLDJ would stop working. I traced the problem down to autoexec.cfg and found that when HLDJ runs a game, it temporarily appends "exec hldj_init.cfg" to its list of things to do. No wonder!
My solution: Run HLDJ and rename "hldj_init.cfg" to "hldj.cfg". Create a new blank txt file and rename it to "hldj_init.cfg". Right click on the new file and go to properties and make it Read-Only.
Now, whenever my game starts, I type in "exec hldj" to get HLDJ started, the same effect as running hldj_init.cfg. Whenever autoexec.cfg runs, it will find your blank read-only hldj_init.cfg and just skip over it doing nothing. The WAV wont get stuck. Thats it.
PS I also wanted to say that HLDJ wouldn't detect my WAVs as playable files until I changed the actual WAV extension from uppercase to lowercase.
I've browsed this help forum in its entirety and i've seen quite a few topics on this exact problem but none that offer any working solution yet. So here it is...
What happens is HLDJ works and functions normally for a short while, and then randomly will refuse to change WAVs. The current loaded file will always be the same one, whichever one HLDJ got stuck on, and you cannot change it through any of the console commands or any other way. You can only fix the problem by restarting HLDJ and the game.
I've found that the source of the problem lies in autoexec.cfg. When HLDJ runs a game, it makes all these hldj_xxx.cfg files in the game's /cfg/ folder. Executing HLDJ_init.cfg is what actually starts HLDJ when you start the game. Unfortunately if you execute it twice while your game is up, it will cause HLDJ to get stuck on the current WAV. So a lot of us have added scripts for TF2, right? Mine all say to execute autoexec.cfg whenever I change classes, to reset everything. So it would happen that anytime I switched classes, HLDJ would stop working. I traced the problem down to autoexec.cfg and found that when HLDJ runs a game, it temporarily appends "exec hldj_init.cfg" to its list of things to do. No wonder!
My solution: Run HLDJ and rename "hldj_init.cfg" to "hldj.cfg". Create a new blank txt file and rename it to "hldj_init.cfg". Right click on the new file and go to properties and make it Read-Only.
Now, whenever my game starts, I type in "exec hldj" to get HLDJ started, the same effect as running hldj_init.cfg. Whenever autoexec.cfg runs, it will find your blank read-only hldj_init.cfg and just skip over it doing nothing. The WAV wont get stuck. Thats it.
PS I also wanted to say that HLDJ wouldn't detect my WAVs as playable files until I changed the actual WAV extension from uppercase to lowercase.