[SOLVED] HLDJ plays after I toggle it the 2nd time

Help with using HLDJ
Post Reply
Shadow86
Game DJ
Posts: 12
Joined: Mon Mar 14, 2011 3:11 am

[SOLVED] HLDJ plays after I toggle it the 2nd time

Post by Shadow86 »

In order to fix this yourself; refrain from entering any metadata in your .wav on export.
If there's metadata, or if you're not sure if there's metadata, Audacity 1.3 Beta is able to support the editing of metadata on export, and HLDJ's converter will remove it all as well.
Simply remove it all by double-clicking the box and pressing Backspace.






1) Does HLDJ launch the game correctly for you?
Yes
2) Does "HLDJ Loaded Successfully" appear in console on starting the game (with no errors)?
No, it gives this error:
HLDJ loaded - some files could not be written ( 1 error ) !
Perhaps because Steam is in Program Files (x86)?
3) What is the console output after selecting a song, or issuing other HLDJ commands such as "hldj_next"?
] la
Current: (none) Next: 1_giygas_2_right_before_gygas
Directory: C:\d_drive_copy\HLDJ\Audio
1. 1_giygas_1_inside_the_brain_of_gygas 2. 1_giygas_2_right_before_gygas
3. 1_giygas_3_beginning_of_gygas_fight 4. 1_giygas_4_middle_of_gygas_fight
5. 1_giygas_5_near_end_of_gygas_fight 6. 1_giygas_6_gygas_dying
7. 1_giygas_7_gygas-s_demise_1 8. 1_giygas_7_gygas-s_demise_2
9. 4_same_attention_tone
] 2
Host_WriteConfiguration: Wrote cfg/hldj_cmd_b.cfg
Loaded : 1_giygas_2_right_before_gygas
4) After loading one of the sample audio files, perform a search of your Steam directory (without stopping HLDJ) for the file "voice_input.wav" - does it show up, and if so, where?
No; this is probably the file HLDJ had an error writing to.
5) Does voice normally work for you? If not, or you do not have a mic, have you remembered to set up any applicable options in your operating system and/or the game? *
Yes



On second thought, it would probably be more helpful to just move Steam into another Windows 7 folder :l (Or perhaps making HLDJ run as an admin by default?)
Edit: Nope, that didn't do anything. Moving Steam is the best option then.
Edit 2: Still doesn't work. Steam isn't allowing write access for some reason. However, there's a trick in Minecraft that disables auto-redownloading of sound files. Maybe the Steam folder is set to read only? It is, apparently.
Edit 3: Nope, Steam's still being butthurt of me, automatically setting everything back to read-only.
Last edited by Shadow86 on Sun Mar 20, 2011 7:02 pm, edited 6 times in total.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ plays for one frame after I toggle it the 2nd time

Post by Renegade »

The file writing error is not related to voice_input.wav (probably a duplicate .cfg file that could not be overwritten, you can clear this by deleting all "hldj_" or ".hldj" files from the game directory). You likely have write access to Steam otherwise your games would not function properly (although you can try running HLDJ as administrator).

If in step #4, nothing shows up, create your own voice_input.wav by copying, pasting, and renaming (to "voice_input.wav") one of your audio files into the directory one level up from your game directory. If you're not sure exactly where this is, see finding the game audio directory
Shadow86
Game DJ
Posts: 12
Joined: Mon Mar 14, 2011 3:11 am

Re: HLDJ plays for one frame after I toggle it the 2nd time

Post by Shadow86 »

Alright, it didn't work the first few times until I selected a 2nd file. Thanks!
Old hldj_/.hldj files deleted, and voice_input.wav is go. HLDJ runs with no error.

Edit: 2nd run of tf2, and it doesn't work anymore for some reason.
voice_input.wav is still there, and HLDJ loads without error.
Also after exiting TF2 and stopping HLDJ, no config files related to HLDJ are showing.

When TF2 is loaded:

Code: Select all

execing hldj_init.cfg
Unknown command "hldjsf"
Not playing a local game.
[Cloud]: SUCCEESS saving cfg/hldj_cmd_a.cfg in remote storage
[Cloud]: SUCCEESS saving materials/vgui/logos/spray.vtf in remote storage
[Cloud]: SUCCEESS saving materials/vgui/logos/spray.vmt in remote storage
Host_WriteConfiguration: Wrote cfg/hldj_cmd_a.cfg
execing hldj_quickselect.cfg
execing hldj_custom.cfg

HLDJ successfully loaded! 
execing hldj_help.cfg
Quick-Start Guide: 
1 ) enter 'la' to display the audio list. 
2 ) enter the number of the file to load. 
3 ) press the F6 key to start/stop audio. 

Basic Commands: 
hldjn, hldjp, hldjr - loads the next/previous/random audio file. 
hldjca, hldjcd - displays the current audio file/directory in console. 
hldjsca, hldjstca - displays the current audio file in public/team chat. 
hldjsq, hldjqa - stops HLDJ and quits the current game/quits both. 

[enter 'hldj1' for more commands/help] 
[enter 'hldj' to display this guide again] 

Steamworks Stats: Received CLIENT session id: 907569159
When I select an audio file:

Code: Select all

] la
execing hldj_curaudio.cfg
Current: (none)       Next: Earthbound _ Boss Fight Starmen 
execing hldj_curdir.cfg
Directory: C:\d_drive_copy\HLDJ\Audio 
execing hldj_listaudio.cfg
 1. [refresh]\                               2. [up one level]\                        
 3. Earthbound _ Boss Fight Starmen          4. Earthbound _ Gygas Dying               
 5. Earthbound _ Gygass Demise A             6. Earthbound _ Gygass Demise B           
 7. Earthbound _ Info Entry                  8. Earthbound _ Middle of Gygas Fight     
 9. Earthbound _ Near End of Gygas Fight    10. Earthbound _ Nesss Flashback           
11. Earthbound _ Onett at Morning           12. Earthbound _ Paula Prays               
13. Earthbound _ Pokeys Sound Machine A     14. Earthbound _ Pokeys Sound Machine B    
15. Earthbound _ Pokeys Theme               16. Earthbound _ Right Before Gygas        
17. Earthbound _ Robot Plains Without Suit  18. Micspam _ SAME Attention Tone          
19. Micspam _ SAME Tone                    
] 11
[Cloud]: SUCCEESS saving cfg/hldj_cmd_b.cfg in remote storage
[Cloud]: SUCCEESS saving materials/vgui/logos/spray.vtf in remote storage
[Cloud]: SUCCEESS saving materials/vgui/logos/spray.vmt in remote storage
Host_WriteConfiguration: Wrote cfg/hldj_cmd_b.cfg
Loaded : Earthbound _ Onett at Morning
I'm running the game in -dev now so it'll show things like [Cloud]: SUCCEESS saving materials/vgui/logos/spray.vtf in remote storage
They only concern TF2 though, likely.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ plays for one frame after I toggle it the 2nd time

Post by Renegade »

It could be Cloud backing up things it's not supposed to, try disabling it and see if that works. Also make sure you are testing on your own server with voice input enabled.
Shadow86
Game DJ
Posts: 12
Joined: Mon Mar 14, 2011 3:11 am

Re: HLDJ plays for one frame after I toggle it the 2nd time

Post by Shadow86 »

I disabled Steam Cloud both ways (This post: http://forums.steampowered.com/forums/s ... stcount=10), however, the Cloud messages are still showing in the console for some reason. (And for that matter, saving HLDJ config files)

I heard HLDJ had quite a few bugs because of Windows 7 x64

Edit: Played a full round of RED Demoman bots vs BLU Soldier bots on KotH_Viaduct, once again reporting HLDJ as non-functional
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ plays for one frame after I toggle it the 2nd time

Post by Renegade »

My only other suggestion is to maybe not run the game in -dev. There are no known bugs with HLDJ, nor Windows 7 specifically, and in testing Steam Cloud actually doesn't pose a problem.
Other than that, and assuming you've followed manual & stickies where they apply, try a complete re-install of your game/Steam.
Shadow86
Game DJ
Posts: 12
Joined: Mon Mar 14, 2011 3:11 am

Re: HLDJ plays for one frame after I toggle it the 2nd time

Post by Shadow86 »

I will attempt the reinstall then. Currently backing up, will post what happens.

Edit: Backup complete, now reinstalling. (I have a crapload of mods, mostly concerning GMod) Also, just dropping by to say that you need to make a debug logging version of HLDJ, it might help you guys source out problems like this.
Shadow86
Game DJ
Posts: 12
Joined: Mon Mar 14, 2011 3:11 am

Re: HLDJ plays for one frame after I toggle it the 2nd time

Post by Shadow86 »

Still no dice after a complete reinstall of Steam, then only installing TF2 and copying over models, materials, sounds, some scripts for weapon sound mods, and autoexec.cfg (my fps config)
(Yes, -dev is removed; since I reinstalled Steam)

I'm not sure, but this might be a full-fledged bug! :o

Code: Select all

HLDJ successfully loaded! 
Quick-Start Guide: 
1 ) enter 'la' to display the audio list. 
2 ) enter the number of the file to load. 
3 ) press the F6 key to start/stop audio. 

Basic Commands: 
hldjn, hldjp, hldjr - loads the next/previous/random audio file. 
hldjca, hldjcd - displays the current audio file/directory in console. 
hldjsca, hldjstca - displays the current audio file in public/team chat. 
hldjsq, hldjqa - stops HLDJ and quits the current game/quits both. 

[enter 'hldj1' for more commands/help] 
[enter 'hldj' to display this guide again] 

Code: Select all

] la
Current: (none)       Next: Earthbound _ Boss Fight Starmen 
Directory: C:\d_drive_copy\HLDJ\MicSpam\SpamSounds 
 1. [refresh]\                               2. [up one level]\                        
 3. Earthbound _ Boss Fight Starmen          4. Earthbound _ Gygas Dying               
 5. Earthbound _ Gygass Demise A             6. Earthbound _ Gygass Demise B           
 7. Earthbound _ Info Entry                  8. Earthbound _ Middle of Gygas Fight     
 9. Earthbound _ Near End of Gygas Fight    10. Earthbound _ Nesss Flashback           
11. Earthbound _ Onett at Morning           12. Earthbound _ Paula Prays               
13. Earthbound _ Pokeys Sound Machine A     14. Earthbound _ Pokeys Sound Machine B    
15. Earthbound _ Pokeys Theme               16. Earthbound _ Right Before Gygas        
17. Earthbound _ Robot Plains Without Suit  18. Micspam _ Pokemon Glitchy Tunes        
19. Micspam _ SAME Attention Tone           20. Micspam _ SAME Tone                    
] 17
Host_WriteConfiguration: Wrote cfg/hldj_cmd_b.cfg
Loaded : Earthbound _ Robot Plains Without Suit
Someone suggested moving the files away from the Audio folder just to test, so you see "C:\d_drive_copy\HLDJ\MicSpam\SpamSounds"
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ plays for one frame after I toggle it the 2nd time

Post by Renegade »

Shadow86 wrote:some scripts for weapon sound mods, and autoexec.cfg (my fps config)
You should really try it on a clean install. I can create a debug version if you're willing to continue testing, but all signs point to a scripting/game issue outside of HLDJ. I cannot reproduce the problem on my end.
Shadow86
Game DJ
Posts: 12
Joined: Mon Mar 14, 2011 3:11 am

Re: HLDJ plays for one frame after I toggle it the 2nd time

Post by Shadow86 »

That, I already did, but only once. If I really have to, I could just delete my entire scripts and cfg folder, then extract default ones from the TF2 .gcf into the folders. Just to try again, anyway.
Shadow86
Game DJ
Posts: 12
Joined: Mon Mar 14, 2011 3:11 am

Re: HLDJ plays for one frame after I toggle it the 2nd time

Post by Shadow86 »

Apparently it still doesn't work. I'm willing to try the debug, as long as it fixes my and anyone else's future problem.

Edit: Small update, I now tried it in Garry's Mod as well, but it doesn't seem to work there either. That means it could be a problem with HLDJ, Steam, or my PC iteself, rather than the games.
Also, I have Steam installed (and in the registry) out of Program Files (x86).
Shadow86
Game DJ
Posts: 12
Joined: Mon Mar 14, 2011 3:11 am

Re: HLDJ plays for one frame after I toggle it the 2nd time

Post by Shadow86 »

-snip-; -extrasnip-; Some of the audio files don't actually work, for some reason. This pertains to (likely all, but I haven't tested all of them) my Earthbound songs, and the S.A.M.E. attention tone micspam. Might as well reconvert.

Just out of pure speculation, perhaps it could do with the end or start bit of information being non silent; or the fact that it has metadata?
I will export 3 new versions: one with 1/10th second pauses at the start and end, one with no metadata, and then copypaste the entire audio file into a new Audacity project (so extra information is milked away)
Shadow86
Game DJ
Posts: 12
Joined: Mon Mar 14, 2011 3:11 am

Re: HLDJ plays for one frame after I toggle it the 2nd time

Post by Shadow86 »

QUADRUPLE POST.

Anyway, it seems HLDJ doesn't support the exsistance of metadata. (You can edit it in Audacity 1.3 Beta) For some reason, it screws with playback.

Edit: It's in bug reports section now. You can delete this thread if you want.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ plays for one frame after I toggle it the 2nd time

Post by Renegade »

a) it is the game that does not support metadata
b) testing with (i) the sample audio files as stated in the rules or (ii) the built-in audio converter (which even eliminates meta-data for you) would have led to an immediate diagnoses

in short, 99.999% of all problems posted here are solved by simply reading the rules (no "debug" version in the world can help with that), that is why they are there, next time follow them.
Post Reply