Page 1 of 1

HLDJ only plays some songs.

Posted: Mon Aug 08, 2011 7:46 am
by burning_phoneix
Whenever I boot up TF2 through HLDJ. Only some of the songs I've loaded actually work.

This is not random, it's always the same songs. At first, I thought that I didn't convert some of the songs properly but all of them were 16bit 11025Hz Mono .wav files (though for some reason, Audacity keeps saying it's 32bit). I have sv_use_steam_voice 0 ON as well.
---
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)? Yes
3) What is the console output after selecting a song, or issuing other HLDJ commands such as "hldj_next"?
] 22
Host_WriteConfiguration: Wrote cfg/hldj_cmd_c.cfg
Loaded : sample_src

4) After creating your own local server and enabling playing of audio files:
4-a) Load one of the sample audio files and perform a search of your Steam directory (without stopping HLDJ) for the file "voice_input.wav" - does it show up, and if so, where? It shows up in steam>steamapps>[username]>teamfortress2
4-b) If it exists, open it in an audio player: does it sound like the audio file you loaded? Yes. It was exactly like the sample file.
4-c) If it exists, return to the game, and enter the following into console:

Code: Select all
voice_inputfromfile 1; voice_loopback 1; voice_forcemicrecord 0; voice_modenable 1; voice_enable 1; +voicerecordDoes the audio file start to play? Yes it does.
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, I have a mic and used it frequently before HLDJ and still use it now with no problems.
--------------
By all accounts, HLDJ should be able to play all the files. What's going on? :cry:

Re: HLDJ only plays some songs.

Posted: Tue Aug 09, 2011 3:04 am
by Renegade
When you enter the code do all the audio files play, even the ones that are problematic?
If that's the case, ensure no other scripts are interfering with HLDJ, i.e. delete any config files in your Steam directory that have "hldj" in them and examine any other scripts in your game's cfg directory to make sure they aren't doing anything odd. You might also try turning off Steam's Cloud service for that game.

Otherwise if the problematic files will not play regardless of the method used to play them, it is likely it is a conversion problem. Try the sample audio files. Convert with the built-in converter, and if you use Audacity, clear any and all ID3 or metadata during the export process.