ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.72k stars 625 forks source link

Half-Life Opposing Force nullified sound/misc/talk.wav #3126

Open djearthquake opened 3 years ago

djearthquake commented 3 years ago

The file is there but it is corrupt or blank. Copied from Valve directory and it works again.

kisak-valve commented 3 years ago

Hello @djearthquake, have you verified the integrity of the game's files? Steam gives me a 1192 byte talk.wav in [...]/Half-Life/gearbox/sound/misc which lines up with what's in depot 51.

djearthquake commented 3 years ago

I grabbed the sha256sum but discarded it. This has been on-going for a decade or so with files via Steam platform verified umpteen times. The bad file is 1.2kb and the good one is 1.4. Bad one shows 1999 and good one does not. Bad one

sha256sum talk.wav 
c330c490f50b7c4bedb2f3548635a4bcd023ec649dc89faa1cb673b2ea1d8709  talk.wav

Good one.

sha256sum talk.wav 
043c7db547473536d128eeee88fd53a4873ae8f2452e6d1d376c944532a40602  talk.wav

Temp Amxx Patch/workaround.

#include amxmodx
new const SzFeedback[]="play ../valve/sound/misc/talk.wav"

public plugin_init()
    register_plugin("Talk Wav Response", "1.0", "SPiNX")&
    register_clcmd("say","handlesay")

public handlesay(id)
    client_cmd(id,SzFeedback);