Left 4 Dead 2

Left 4 Dead 2

151 vurderinger
Setup a Custom Sound Folder
Af 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.
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
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.
22 kommentarer
Crabby Cakes 12. juni kl. 14:10 
If I replaced Jockey sounds without editing them in audacity, does that mean they play without issue or no?
BaconBacoon 21. apr. kl. 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 4. feb. kl. 19:37 
Thanks a lot for this guide. I noticed survivor lips no longer move when talking with custom voice?
⭐Subaru Natsuki⭐ 8. dec. 2024 kl. 7:13 
does this rebuild the sound cache of addons too ?
CraZyDuDe 29. jan. 2023 kl. 11:56 
Helpful Guide nice work
Denji el Motosierra 19. jan. 2022 kl. 18:22 
my sound works but for some reason it doesn't work on vpk
CosmicD 6. juni 2021 kl. 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 4. juni 2021 kl. 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 2. feb. 2021 kl. 9:51 
somehow it doesn't recognize the custom folder, idk what i did wrong.
MadTing69 Fam 1. dec. 2020 kl. 8:15 
I'm lost at the step where you make a folder called 'sound' in the 'custom' folder, could someone please explain this to me please?