Sound mounting via the workshop appears to be broken. When mounting the content as a folder directory using gameinfo.txt, or using a vpk and mounting with gameinfo.txt, the audio plays fine, but the same vpk mounted via the workshop system will not play any custom sounds, instead spitting out error messages with the following format:
[tt]Cannot figure out which search path sound\stojkeholm\sh_sinetone.wav came from. Absolute path is A:\Program Files\Steam\steamapps\workshop\content\362890\1282390981\stojkeholm.vpk\sound\stojkeholm\sh_sinetone.wav[/tt]
I have opened up the workshop version of the vpk and confirmed that the file does still exist in the vpk and hasn’t been pruned from the package by the publish tool somehow, so this is a mounting issue.
I’m just about wrapped up with a workshop release but the map relies heavily on custom audio for story and atmospheric purposes, so I’m unable to do a proper release on the workshop until this is fixed - once this is diagnosed and solved internally, I’d appreciate it if a dev responded to this thread or PM’ed me so I know I can launch the map on the workshop when the next patch is released.
EDIT: I should also mention that the same symptoms occur with .ogg files, not just .wavs, though the error message is different -
[tt]
Failed to create decoder for MP3 [ {filepath/filename}.ogg ]
[/tt] is repeated constantly after attempting to play one.