Left 4 Dead 2

Left 4 Dead 2

165 人が評価
Setup a Custom Sound Folder
作者: Zaeryn
Are you tired of glitchy sound mods that shriek or groan at you? Tired of having to use sounds the exact same length as the originals?
This guide shows you how to setup a custom sound folder, which bypasses those limits.

DO NOT use the console commands "snd_rebuildaudiocache" or "snd_updateaudiocache". If you've used them before, verify the game's files. Those commands modify the game's default sound cache and are a major cause of glitches.
   
アワード
お気に入り
お気に入り
お気に入りから削除
Guide
1. Navigate to Steamapps/common/Left 4 Dead 2.

2. Right-click > new > folder. Name it "custom".


3. Open "custom", create a new folder there and name it "sound" (left image).
This acts like a mirror image of your left4dead2/sound folder (right image), so put any custom sounds you want in here. Matching duration to the original sounds is not important, but I think the bitrate (mostly 44100hz) and number of channels (stereo or mono) is.


4. Run Left 4 Dead 2, open the console and enter "snd_buildsoundcachefordirectory ../custom".


5. You'll see a loading screen as the sounds are cached.
Once it's finished, it should look like this.


6. Exit or restart the game by entering exit or _restart

You should only have to build your custom sound cache once. I think it gets automatically updated when you change things.

7. Navigate to steamapps/common/Left 4 Dead 2/left4dead2.
Locate gameinfo.txt and open it with a text editor (Notepad++ recommended).


8. Add the following at the top of SearchPaths:
"Game custom"


Finally, save the TXT file. Now you can launch L4D2 and play with custom sounds!
Remember that when you verify local files (and sometimes when the game updates), gameinfo.txt will reset and disable your custom folder, so keep a backup handy.
23 件のコメント
King of PC 8月27日 16時58分 
does this work for addons from the steam workshop too?
Crabby Cakes 6月12日 14時10分 
If I replaced Jockey sounds without editing them in audacity, does that mean they play without issue or no?
BaconBacoon 4月21日 7時43分 
i noticed that sometimes i do have to rebuild my cache for my custom folder after changing sounds but it works nice afterwards, thank you for putting this guide together <3
ChapCanai 2月4日 19時37分 
Thanks a lot for this guide. I noticed survivor lips no longer move when talking with custom voice?
⭐Subaru Natsuki⭐ 2024年12月8日 7時13分 
does this rebuild the sound cache of addons too ?
CraZyDuDe 2023年1月29日 11時56分 
Helpful Guide nice work
Denji el Motosierra 2022年1月19日 18時22分 
my sound works but for some reason it doesn't work on vpk
CosmicD 2021年6月6日 3時38分 
it's something I tried but you cannot easily pack that in a workshop item. It won't work well if you pack this into a vpk. Even if it would read the gameinfo file, other soundmods would conflict because it doesn't have that definition of your custom sound dir.

It's a mystory to me that valve has never made it perfectly pluggable, by allowing other sound dirs to be defined in the addoninfo.txt and making it soundmod only, with their own soundcache dir.

It would have been convenient that you could just add subdirs to the /sound/ main , where you could define your own custom sounds in soundcache files that plug onto the base sound cache.
Metal Tigerlily 2021年6月4日 11時48分 
For some reason, when I try to cache the sounds the loading screen comes up, but it never touches the file, and just continues loading. Has anybody else had this issue?
Sealknight 2021年2月2日 9時51分 
somehow it doesn't recognize the custom folder, idk what i did wrong.