Last Half Life update broke HLDJ

Help with using HLDJ
Jeff
Game DJ
Posts: 7
Joined: Wed Dec 14, 2011 12:59 pm

Last Half Life update broke HLDJ

Post by Jeff »

Note1: The 'writecfg' command seems to have been broken in the last update. I'll look into it. -Renegade
Note2: written configs are now placed under common\Half-Life\<game>_hd. fix to come later. -Renegade

Hello, I'm not sure if you're aware of the new Half Life update. This one broke a few things in some mods, including HLDJ. Now, I'm not sure if this happens in other mods, but in Sven-Coop, nobody can hear my sounds, not even me. I've tested it in three different servers and in one I made and the result was always the same. The orange thing that comes up when you talk is there, however my username doesn't come up. I'm aware that Valve changed the spot where Half Life is, and I've changed it and it seems to be where it should be. Before this, HLDJ always worked wonders with me, so I don't know what's wrong. I was checking what they fixed, and I think this may be it;

Added "speak_enabled" cvar, if set to 0 then the "spk" and "speak" commands are disabled

No idea..help please?
bandora
Game DJ
Posts: 3
Joined: Sun Feb 17, 2013 1:13 am

Re: Last Half Life update broke HLDJ

Post by bandora »

I can confirm this is the case with all if not most HL1 games..

Even HLSS doesn't work (which used to work before the update).. It has something to do with the new protocol.

Here's one of CS dev's response: https://github.com/ValveSoftware/halflife/issues/168
Jeff
Game DJ
Posts: 7
Joined: Wed Dec 14, 2011 12:59 pm

Re: Last Half Life update broke HLDJ

Post by Jeff »

bandora wrote:Here's one of CS dev's response: https://github.com/ValveSoftware/halflife/issues/168
Yeah, I saw that before... I think our only hope is Renegade here..
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Last Half Life update broke HLDJ

Post by Renegade »

the writecfg command seems to have been broken. I'll have to look into, thanks for the update.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Last Half Life update broke HLDJ

Post by Renegade »

the configs now appear to be created in common\Half-Life\<game>_hd
as long as that rule applies to all games, it should be easy to fix.
anyone who can confirm/deny this, please do so; I'll give it about a week to see what Valve does before pushing a fix.
Jeff
Game DJ
Posts: 7
Joined: Wed Dec 14, 2011 12:59 pm

Re: Last Half Life update broke HLDJ

Post by Jeff »

Renegade wrote:the configs now appear to be created in common\Half-Life\<game>_hd
as long as that rule applies to all games, it should be easy to fix.
anyone who can confirm/deny this, please do so; I'll give it about a week to see what Valve does before pushing a fix.
Ohh yeah, I think you're right. For svencoop there isn't any svencoop_hd folder, but there's a new svencoop_lv folder, and for some reason all my hldj stuff config stuff is there.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Last Half Life update broke HLDJ

Post by Renegade »

For those who want a workaround now, you can try the following:
1) create or copy a file named "config.cfg" into the <game>_hd folder
2) In HLDJ, open the Add Game dialog
2a) specify the <game>_hd folder as the game folder,
2b) in the Advanced drop-down section, enable 'Use alternate Game Audio Directory', and specify the original game directory here.

this will force the configs to show up in the <game>_hd folder, and voice_input.wav to show up in the usual game folder.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Last Half Life update broke HLDJ

Post by Renegade »

Jeff wrote:but there's a new svencoop_lv folder, and for some reason all my hldj stuff config stuff is there.
this looks like it could be a non-english localization folder, which could make things trickier to find where the game expects the configs to be.
from what I've seen, the game doesn't particularly care in which localization folders the configs are placed (it seems to let you exec configs across various locale folders); however voice_input.wav has to be located in the usual game folder. So you can probably set the game directory to any of the locale folders (make sure a config.cfg exists there first) as long as the Game Audio Directory is set to the original game folder.
Jeff
Game DJ
Posts: 7
Joined: Wed Dec 14, 2011 12:59 pm

Re: Last Half Life update broke HLDJ

Post by Jeff »

Renegade wrote:
Jeff wrote:but there's a new svencoop_lv folder, and for some reason all my hldj stuff config stuff is there.
this looks like it could be a non-english localization folder, which could make things trickier to find where the game expects the configs to be.
from what I've seen, the game doesn't particularly care in which localization folders the configs are placed (it seems to let you exec configs across various locale folders); however voice_input.wav has to be located in the usual game folder. So you can probably set the game directory to any of the locale folders (make sure a config.cfg exists there first) as long as the Game Audio Directory is set to the original game folder.
Weird, It's true that I'm not from an english speaking country, but I have Steam on english, so I don't know why it's named svencoop_la.
Well.. the fix didn't work for me... :S
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Last Half Life update broke HLDJ

Post by Renegade »

did the hldj configs show up in _lv? do the hldj commands work? was voice_input.wav created?

writecfg gives errors until the _hd folder is created. I can't say exactly how it was created, but after a few minutes of playing online and tinkering in the console (I am testing on cstrike), writecfg began to work. it may be necessary for this folder to exist (although I would have assumed that _lv etc would take its place for non-english locales).
Jeff
Game DJ
Posts: 7
Joined: Wed Dec 14, 2011 12:59 pm

Re: Last Half Life update broke HLDJ

Post by Jeff »

Renegade wrote:did the hldj configs show up in _lv? do the hldj commands work? was voice_input.wav created?

writecfg gives errors until the _hd folder is created. I can't say exactly how it was created, but after a few minutes of playing online and tinkering in the console (I am testing on cstrike), writecfg began to work. it may be necessary for this folder to exist (although I would have assumed that _lv etc would take its place for non-english locales).
The hldj configs did show up, and hldj shows up in the console it just doesn't play any sound at all. Voice_input.wav wasn't created.
I'll take your advice and play around a little if I get it to show up.
Peyton
Game DJ
Posts: 1
Joined: Thu Feb 21, 2013 10:55 pm

Re: Last Half Life update broke HLDJ

Post by Peyton »

Renegade,

Due to the latest updates, which resulted in higher sound quality, do you think that C.S. 1.6 can finally support .mp3 files through HLDJ?
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Last Half Life update broke HLDJ

Post by Renegade »

no, I'm not aware of any changes, but even so they would be independent of the mechanism that allows audio to be streamed, which I doubt will ever be changed.

Let's keep this discussion focused on the file layout changes that affect half-life engine games.
Fr33m@n
Game DJ
Posts: 9
Joined: Wed Oct 06, 2010 6:25 pm

Re: Last Half Life update broke HLDJ

Post by Fr33m@n »

renegade, your tips don't work with cs 1.6 because cs 1.6 folder is cstrike. and still hldj don't work.
mic icon is displayed but nothing is working. song seems to be loaded correctly.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Last Half Life update broke HLDJ

Post by Renegade »

there are 2 folders: cstrike and cstrike_hd
where does voice_input.wav show up? what are your game path and game audio path set to?
Post Reply