ValveSoftware / source-sdk-2013

The 2013 edition of the Source SDK
https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted
Other
3.76k stars 2k forks source link

Can't load sounds from .vpk #366

Closed 0xBADEAFFE closed 8 years ago

0xBADEAFFE commented 8 years ago

Our mod uses sounds which are packed inside .vpk files. But the engine can't load the sounds, because it fails to precache them into the sound.cache. If we use a sound.cache which was build while the sounds were unpacked in the sound folder, the engine is able to load the sounds from the .vpk. This behaviour should be changed, so the engine can precache sound files directly from .vpk's.

0xBADEAFFE commented 8 years ago

Fixed, needed to delete all sound.cache files.