exec hldj_listaudio.cfg; file size larger than 1MB

Help with using HLDJ
Post Reply
kevin32
Game DJ
Posts: 13
Joined: Thu Sep 09, 2010 3:04 am

exec hldj_listaudio.cfg; file size larger than 1MB

Post by kevin32 »

Hi. I'm Running XP SP3. I downloaded the lastest version of HLDJ.

My songs play fine, but when I use the directory I get the "exec hldj_listaudio.cfg; file size larger than 1MB" error alot. Not all the time, but enough to be annoying. Also, when I try going to different directory it shows the same directory I was just in. I have to refresh it in order to show the correct directory. I find myself typing 'hldjre' alot. Any ideas for how to resolve?
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: exec hldj_listaudio.cfg; file size larger than 1MB

Post by Renegade »

That error occurs if you load an invalid audio directory (it will contain no files and the game complains when the script file is empty for some reason). Verify the directories you're loading contain proper audio files.

As for the refreshing of directories, I think a recent change in how certain source games handle the "wait" aliases (i.e. CS Source seems to be fine, but TF2 does not execute wait aliases properly, it executes them instantly without waiting at all) causes the directory to refresh too fast, before HLDJ has actually finished loading it. Unfortunately if you are playing one of these games, you'll indeed find that you need to refresh the directory again. I'd advise doing this by entering "1" (which reloads the current directory) rather than using "hldjre" every time.

If you're curious, you can verify what's going on by opening up hldj_quickselect.cfg, directory loading statements will look something like

Code: Select all

alias # "bind <key> #; echo Loading Directory: <directory name> ... ; hldj_select_dir; wait 73; echo done.; list_audio"
The problem is some games (i.e. TF2) do not properly execute "wait 73". It could be that because some of the aliases in hldj_select_dir are unrecognized (which is necessary to maintain cross-compatibility with the games that still use the old wait alias syntax) and instead of skipping them it somehow gets tripped up. I'll have to look into it further.
Post Reply