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 2025년 8월 27일 오후 4시 58분 
does this work for addons from the steam workshop too?
Crabby Cakes 2025년 6월 12일 오후 2시 10분 
If I replaced Jockey sounds without editing them in audacity, does that mean they play without issue or no?
BaconBacoon 2025년 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 2025년 2월 4일 오후 7시 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일 오후 6시 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.