ValveSoftware / halflife

Half-Life 1 engine based games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Startup videos use hardcoded sound instead of the video's audio track

IntriguingTiles opened this issue · comments

Instead of playing the audio track for each startup video, which would be expected behavior, the engine simply plays sound/UI/valve_sound.wav for each startup video. This makes it impossible to have multiple startup videos with different audio without merging them all into one video.

This is an infuriating one. I think the reason Valve's programmers did this is because Goldsource downsamples any mono sound to 11025Hz automatically, and using the wav creates the compressed 8-bit sound. It's not exactly how the Valve intro sounded in 1998 but clearly what Valve were going for.

Another thing to note is that gamestartup.mp3 starts playing at the same time as the WEBM / valve_sound.wav (tracked at #3438)

the engine simply plays sound/UI/valve_sound.wav for each startup video.

Yep, it's really annoying,
Since I made THIS https://github.com/ValveSoftware/halflife/assets/90470156/2ab029be-8989-4097-ad27-0cf4aff38196
And I can't use it due to the fact of that stupid valve_sound.wav file, and the worst part of it?
It doesn't play the audio from the .webm

GoldSrc Sierra used .avi files for the startup videos, and didn't use a .wav for audio on the startup videos from my knowledge,

And what the heck, i should mention, the .webm also has audio too.

And add a whole bunch if the bugs from the HL25 update and valve did kinda mess up, but could be worse.

Could be WWE 2K20.

Update:
I have noticed this
image
when I replace valve_sound.wav with a renamed .txt file.
never heard of RIFF before.

and GoldSrc Sierra (WON GoldSrc) uses the .avi's audio
Proof:
image
Left. Half-Life WON Right, Half-Life Steam