Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Left 4 Dead 2

From PCGamingWiki, the wiki about fixing PC games
Left 4 Dead 2
Left 4 Dead 2 cover
Developers
Valve Corporation
Linux Ryan C. Gordon
Publishers
Valve Corporation
Electronic Arts[1]
Retail (Russia) Akella[2]
Engines
Source
Release dates
Windows November 19, 2009
macOS (OS X) October 5, 2010
Linux May 3, 2013
Reception
Metacritic 89
IGDB 89
Taxonomy
Monetization One-time game purchase
Microtransactions None
Modes Singleplayer, Multiplayer
Pacing Real-time
Perspectives First-person
Controls Direct control
Genres Action, FPS, Shooter
Art styles Realistic
Themes Horror, North America, Post-apocalyptic, Zombies
Series Left 4 Dead
Left 4 Dead 2 on HowLongToBeat
Left 4 Dead 2 on IGDB
Left 4 Dead 2 guide on StrategyWiki
Left 4 Dead 2 on MobyGames
Left 4 Dead 2 on Wikipedia
Left 4 Dead
Left 4 Dead 2008
Left 4 Dead 2 2009

Warnings

The macOS (OS X) release of this game does not work on macOS Catalina (version 10.15) or later due to the removal of support for 32-bit-only apps.

Left 4 Dead 2 is a singleplayer and multiplayer first-person action, FPS and shooter game in the Left 4 Dead series.

General information

Article on the official Valve Developer Community wiki
GitHub Issue Tracker for Left 4 Dead 2 and other Source-based games
Steam Community Discussions

Availability

Source DRM Notes Keys OS
Retail
Icon overlay.png
Windows
Steam
Icon overlay.png
Left 4 Dead Bundle also available.
Windows
macOS (OS X)
Linux
All versions require Steam DRM. Uses Steamworks API.
Includes the campaigns of the original Left 4 Dead and its DLC.

Version differences

Some content is censored in Australia and Germany. Install the official Uncensored DLC to remove the limitations.

Essential improvements

Skip intro videos

Use the -novid command line argument[3]
Delete, move or rename .bik[4]
  1. Go to <path-to-game>\left4dead2\media.
  2. Delete, move or rename l4d2_intro.bik and valve.bik.

Game data

Configuration file(s) location

System Location
Windows <path-to-game>\left4dead2\cfg\config.cfg[Note 1]
macOS (OS X)
Linux

Save game data location

System Location
Windows <Steam-folder>\userdata\<user-id>\550\remote\
Linux <Steam-folder>\userdata\<user-id>\550\remote\

Save game cloud syncing

System Native Notes
Steam Cloud
Approx. 1 GB available.

Video

In-game video settings.
In-game video settings.

Graphics feature State WSGF Notes
Widescreen resolution
Multi-monitor
Ultra-widescreen
4K Ultra HD
Closed captions font does not scale with resolution and may appear small at 4K resolution.
Field of view (FOV)
75-120º in multiplayer settings.[5] Though the option is in multiplayer settings, it also applies for singleplayer. See Viewmodel FOV to adjust the weapon viewmodel.
Windowed
Labeled as Run in a window.
Borderless fullscreen windowed
Labeled as Windowed (No Border).
Anisotropic filtering (AF)
Up to 16x.
Anti-aliasing (AA)
Up to 8x MSAA.
High-fidelity upscaling
See the glossary page for potential workarounds.
Frame generation
See the glossary page for potential workarounds.
Vertical sync (Vsync)
Labeled as Wait For Vertical Sync. Disabled and Enabled with Double and Triple Buffered options.
60 FPS and 120+ FPS
Capped at 300 FPS by default.[6] Use -refresh xxx command line parameter to set custom refresh rates.
High dynamic range display (HDR)
See the glossary page for potential alternatives.
Ray tracing (RT)
Color blind mode
Only for Multiplayer; affects crosshair, HUD, and survivor outlines. Enabled, Crosshair Only and Disabled options. Default is Disabled.

Anti-aliasing (AA)

Force SGSSAA (Nvidia only)[7]
  1. Download and run Nvidia Profile Inspector.
  2. Select the Left 4 Dead 2 profile.
  3. Change Antialiasing compatibility (DX9) value to 0x000000C0.
  4. Change Antialiasing (MSAA) - Behavior Flags to None.
  5. Change Antialiasing (MSAA) - Mode to Override any application setting.
  6. Change Antialiasing (MSAA) - Setting to 4x [4x Multisampling].
  7. Change Antialiasing - Transparency Supersampling to 4x Sparse Grid Supersampling.
  8. Press "Apply Changes" in the top-right corner.

Notes

Antialiasing fix is needed.[8]

Ambient occlusion

Force HBAO+ (Nvidia only)[9][10]
  1. Download and run Nvidia Profile Inspector.
  2. Select the Left 4 Dead 2 profile.
  3. Change Ambient Occlusion compatibility value to 0x00000014.
  4. Change Ambient Occlusion setting to High Quality.
  5. Change Ambient Occlusion usage to Enabled.
  6. Press "Apply Changes" in the top-right corner.

Disable motion blur

Use the +mat_motion_blur_percent_of_screen_max 0 command line argument[11]

Viewmodel FOV

Works in multiplayer.
The default FOV value is 51.
Change viewmodel FOV
  1. Bring up the in-game console.
  2. Type in cl_viewmodelfovsurvivor XX to change the viewmodel FOV (replace "XX" with the desired value).

Input

In-game control settings.
In-game control settings.
In-game key map settings.
In-game key map settings.
"Gamepad" option in Keyboard/Mouse settings menu is to enable legacy Xinput controller mode. Enabling this erases all keyboard bindings.

Keyboard and mouse State Notes
Remapping
Movement, Combat, Communication, Menu and Miscellaneous groups.
Mouse sensitivity
From 0 to 19. For a better accuracy edit the config.cfg at line sensitivity.[12]
Mouse acceleration
Enabled and Disabled options. Raw Mouse Input also availabe with Enabled and Disabled options.
In order to disable it completely, the lines m_filter and m_customaccel must be set to 0 in config.cfg.
Mouse input in menus
Keyboard and mouse prompts
Mouse Y-axis inversion
Labeled as Reverse Mouse. Enabled and Disabled options. Default is Disabled.
Controller
Controller support
While menu controls can be fully navigated with an XInput-compatible controller, in-game controls will not work. Controller Support must be fully enabled by heading over to Options > Keyboard/Mouse and enable [Gamepad] and save.[Note 2][13].

When a Controller is in use during gameplay: the game prevents keyboard and mouse controls to prevent autoaim exploits. However, this becomes inconvenient, because the chat and voting keys become unbinded. See Text chat with keyboard in controller mode.
Full controller support
certain UI aspects (such as Button prompts) can be enlarged using -gamepadui command line argument .[Note 3].
Controller remapping
Controller sensitivity
Horizontal and Vertical. From 0 to 13. Default is 1.
Controller Y-axis inversion
Labeled as Reverse Gamepad Up-Down Axis. Enabled and Disabled options. Default is Disabled.
Controller types
XInput-compatible controllers
Xbox button prompts
Impulse Trigger support
DirectInput-compatible controllers
PlayStation controllers
DualShock 3, DualShock 4, DualSense
Dualshock 3 button prompts are only available on Linux version.
PlayStation button prompts
Motion sensors support
Light bar support
Adaptive trigger support
DualSense haptic feedback support
Connection modes Wired, Wireless (Bluetooth)
Nintendo controllers
Other controller(s)
Generic and Nintendo Switch controllers are supported via Steam Input API.
Additional button prompts
Additional information
Controller hotplugging
Input prompt override
Haptic feedback
Steam Input API must be enabled for all supported controllers to enable haptic feedback. Labeled as Vibration. Enabled and Disabled options. Default is Enabled.
HD haptic feedback
Steam Input API
Simultaneous controller+KB/M
Steam Input
Steam Input API support
Steam Input prompt modes
 
 
 

SIAPI Button Icons
Steam Deck button prompts
Steam Controller (1st gen) button prompts
Motion sensors support
Camera (SIAPI Game Action)
Scoped Sensitivity gets increased.
Official controller preset(s)
Xbox One, DualShock 4, Nintendo Switch Pro Controller, Steam Controller, Steam Deck.

Audio

In-game audio settings.
In-game audio settings.

Audio feature State Notes
Separate volume controls
Game and Music volumes. From 0 to 20.
Surround sound
7.1, 5.1 surround sound, 4 speaker surround. 7.1 option is broken and only outputs 5 channels. Try typing snd_surround_speakers 7 to fix this issue.[14]
Subtitles
Closed captions
None, Subtitles Only and Full Captions options.
Mute on focus lost
Royalty free audio
[15][dubious – discuss]

Localizations

Language UI Audio Sub Notes
English
Bulgarian
Simplified Chinese
Traditional Chinese
Czech
Czech
Fan translation for The Sacrifice; download.
Danish
Dutch
Finnish
French
Not all original voice lines have been completely dubbed, including some unused original ones.
German
Greek
Hungarian
Italian
Japanese
Korean
Norwegian
Polish
Portuguese
Brazilian Portuguese
Romanian
Russian
Spanish
Latin American Spanish
Fan translation by Primera Llamada and KROSK; download via Nexus Mods and Steam Workshop.
Swedish
Thai
Turkish
Ukrainian
Vietnamese

Network

In-game multiplayer settings.
In-game multiplayer settings.

Multiplayer types

Type Native Players Notes
Local play
2 Co-op
See Local play.
LAN play
8 Co-op, Versus
Co-op (4 players) or "Versus" mode (up to 4v4 Survivors vs. Infected).
Online play
8 Co-op, Versus
Co-op (4 players) or "Versus" mode (up to 4v4 Survivors vs. Infected).
Crossplay

Connection types

Type Native Notes
Matchmaking
Peer-to-peer
Dedicated
Self-hosting
Direct IP
Use connect [IP address here] in the console.
Server must have set sv_allow_lobby_connect_only 0

Ports

Protocol Port(s) and/or port range(s)
TCP 27014-27050
UDP 4380, 27000-27030
This game does not support Universal Plug and Play (UPnP) for automatic port configuration.

Local play

A list of useful console commands is available below.
If using a single 4:3 or 16:9 monitor, see Split-screen without bezels.
If loading bar is stuck, quickly pause and unpause game
Playing with two controllers[16][17]
If you want to play with only a controller and a mouse+keyboard, check Mouse + Keyboard in split-screen
  1. Download custom split.cfg file
  2. Extract it inside <path-to-game>\left4dead2\cfg.
  3. Start the game and open the console
  4. Load up the desired map with the ss_map #map-name# command
  5. Type connect_splitscreen localhost 2
  6. Load second player keys bindings by typing exec exec split in console (all bindings are reset).
Alternative method: use Kaotic's UI mod[citation needed]

Mouse and keyboard in split-screen

Bind controller to second player[citation needed]
  1. Configure x360ce to force controller on the guest slot
  2. Copy x360ce.ini and xinput1_3.dll to <path-to-game>.
  3. Go to <path-to-game>\bin and rename xinput1_3.dll to something else.
  4. Follow standard procedure.
Use Kush's menu[citation needed]

Split-screen without bezels

The file which needs be edited is packed. Minimal hex editing knowledge is required.
Edit split-screen aspect-ratio[18][19]
  1. Go to <path-to-game>\left4dead2.
  2. Open pak01_000.vpk with a hex editor such as HxD.
  3. Look for the "aspect"...."8 by 3" string (offset 0x1C4CCFB, just under hex 73 20 34 78 33).
  4. Change it according to the desired aspect ratio divided by 2.
  5. Save the changes.

Notes

After hex editing, the original and final file size must remain the same. Therefore if a digit is added or removed, it may be necessary to add or remove a character elsewhere as well.
For horizontal split-screen aspect ratio, change the "aspect"...."32 by 9" string according to the desired aspect ratio multiplied by 2.
As long as the Valve pak file is modified, it may be impossible to join pure servers.

VR support

3D modes State GG3D Notes
Nvidia 3D Vision
TriDef 3D
iZ3D
vorpX
G3D, DirectVR
Officially supported game, see official vorpx game list.

Issues fixed

Purple and black broken textures

A generic fix for this issue can be found on the Source engine page.

Improper sniper scope on 1366x768 resolution

Set resolution to 1360x768[citation needed]
Subscribe to this workshop addon: L4D2 Default Scope: OVSF[citation needed]

Other information

API

Technical specs Supported Notes
Direct3D 9
OpenGL 2.1 OS X and Linux only.
Vulkan 1.0 Need to run with -vulkan in launch options. Uses DXVK wrapper (DXVK-Native on Linux).
Executable 32-bit 64-bit Notes
Windows
[20]
macOS (OS X)
[citation needed]
Linux
[citation needed]

Middleware

Middleware Notes
Physics Havok Physics Heavily modified variant.
Audio Miles Sound System
Cutscenes Bink Video Used for opening movie and main menu backgrounds.
Multiplayer Steamworks
Anti-cheat Valve Anti-Cheat (VAC)

Console commands

Games running on the Source engine can utilize Source Engine Console Commands for various tasks.[21]
Enabling the console in Source games[citation needed]
  1. Launch the game.
  2. From the main menu, select Options.
  3. Select the Keyboard/Mouse tab.
  4. Set Allow Developer Console to Enabled.

Notes

Press ~ to open the console.
Some commands may first require enabling sv_cheats with the sv_cheats 1 command.
Many servers will not allow playing with cheats enabled, or will disable them upon entering the server.
Users without a US keyboard could experience some problems.

Creating a custom CFG file

A CFG is a file that contains a list of commands that will be executed when called.

Creating a custom CFG file[citation needed]
  1. Go to <path-to-game>\left4dead2\cfg.
  2. Create a .cfg file.
  3. Open the file with a text editor and type in all desired commands, separating each with a ; character.
  4. Save the file.
  5. To run the .cfg file, open the console during the game and type in exec [filename].cfg.

Notes

To run the .cfg file on every launch, name it autoexec.cfg

Third-person view support

The game in third-person view, featuring multiple other modifications
The game in third-person view, featuring multiple other modifications
Pressing F10 will toggle between first and third person after enabled.
A simplified setup can be achieved with the 3PS mod.
Command set 1[citation needed]
  • Input the following commands in the console:
c_thirdpersonshoulderaimdist 360
c_thirdpersonshoulderdist 90
c_thirdpersonshoulderheight 0
c_thirdpersonshoulderoffset 20
bind "F10" "thirdpersonshoulder"
Command set 2 (camera centered on player, higher zoom)[citation needed]
  • Input the following commands in the console:
c_thirdpersonshoulderaimdist 1000
c_thirdpersonshoulderdist 115
c_thirdpersonshoulderheight 15
c_thirdpersonshoulderoffset 0
bind "F10" "thirdpersonshoulder"

Warnings

  • Some cutscene intros may be angled incorrectly.
  • Several graphical glitches may occur: an inaccurate weapon shadow, flashlight glows seen at character's back, motion blur for melee weapons looking broken (see mod to remove this effect), and potential others.
  • Switching between first and third person in-game may cause the HUD to disappear.
  • The crosshair may be slightly off-center; use the cam_idealyaw function to correct this.
  • The camera may occasionally see through walls and objects.
  • The shotgun will sound very quiet. Try this mod (may cause online games to crash).
  • Dying and entering new areas may revert it to first person.

Text chat with keyboard in controller mode

If playing using a controller and the text chat needs to be used (press Y) online, there are several methods. This also applies to the voting keys.
Enable Steam Input from game porperties from Steam's library[citation needed]

Notes

This allows simultaneous input from both keyboard, mouse and controller.
Edit .cfg file[citation needed]
  1. Go to <path-to-game>\cfg.
  2. Open 360controller.cfg in a text editor.
  3. Find the line which starts with unbindall and comment it out by adding // before it (resulting in //unbindall).
If this still does not work, it is possible that the key bindings were unbound, so re-binding them in the settings menu is required.

Remove item/character glows

Some players may wish to remove the item glows and/or character glows since they are unrealistic and makes discovery of other players/items too easy.

Create a custom .cfg file
  1. See instructions on creating and running .cfg files
Copy and paste the following lines
//Glow of barfed survivors
cl_glow_survivor_vomit_b 0
cl_glow_survivor_vomit_g 0
cl_glow_survivor_vomit_r 0

//Glow of survivors
cl_glow_survivor_b 0
cl_glow_survivor_g 0
cl_glow_survivor_r 0

//Glow of incapped survivors
cl_glow_survivor_hurt_b 0
cl_glow_survivor_hurt_g 0
cl_glow_survivor_hurt_r 0

//Glow of items after you are in black and white mode (after 3rd incap)
cl_glow_thirdstrike_item_b 0
cl_glow_thirdstrike_item_g 0
cl_glow_thirdstrike_item_r 0

//GLOW from FAR distance:
cl_glow_item_far_b 0
cl_glow_item_far_g 0
cl_glow_item_far_r 0

//GLOW from UP CLOSE:
cl_glow_item_b 0
cl_glow_item_g 0
cl_glow_item_r 0

cl_glow_ability_r 0
cl_glow_ability_g 0
cl_glow_ability_b 0

Command line arguments

See command line arguments on how to use the following options.
Parameter Description
-w X -h Y Sets screen resolution (or window resolution if using -window). Example: -w 1920 -h 1080.
-refresh X Sets the screen refresh rate (Hz). Example: -refresh 60.
-noborder -window Launches the game in a borderless windowed mode. This may result in a minor performance loss. Windows Aero (Vista/7) may cause stuttering.
-novid Skips intro videos.
-high Sets the game's process priority to High.
-autoconfig Restores video and performance settings to default for the current hardware detected. Ignores settings inside any .cfg files until this parameter is removed.
+mat_motion_blur_percent_of_screen_max 0 Removes motion blur.
-vulkan Forces the Vulkan renderer.[22]

Useful split-screen commands

Relevant only when using split-screen mode.
Parameter Description
connect_splitscreen localhost [ip-address] 2 Connects to a LAN or Internet server. Direct connections must be allowed
[cmd/cmd2] jointeam (2/3) Assigns selected player (cmd) to either survivor or infected team
ss_map <map-name> [realism/survival/versus/mutation#
ss_splitmode (0/1/2) Toggles horizontal and vertical screen split (0 is auto selection)
z_difficulty (Easy/Normal/Hard/Impossible) Changes game difficulty
setinfo name Max
name2 Tony

System requirements

Windows
MinimumRecommended
Operating system (OS) 7, Vista, XP[Note 4]
Processor (CPU) Intel Pentium 4 3.0 GHz
System memory (RAM) 2 GB
Storage drive (HDD/SSD) 13 GB[23]
Video card (GPU) ATI Radeon X800
Nvidia GeForce 6600
128 MB of VRAM
DirectX 9.0c compatible
Shader model 2.0 support
Sound (audio device) DirectX 9.0c compatible sound card
macOS (OS X)
Minimum
Operating system (OS) 10.7
Processor (CPU) Intel Dual Core 2 GHz
System memory (RAM) 2 GB
Storage drive (HDD/SSD) 13 GB
Video card (GPU) ATI Radeon HD 2400 Pro
Nvidia GeForce 8600M GT
Intel HD Graphics 3000
Linux
Minimum
Operating system (OS) Ubuntu 12.04
Processor (CPU) Intel Dual core 2.8 GHz
AMD Dual core 2.8 GHz
System memory (RAM) 2 GB
Storage drive (HDD/SSD) 13 GB
Video card (GPU) ATI/AMD Radeon HD2600/3600
Nvidia GeForce 8600/9600GT
OpenGL 2.1 compatible
Sound (audio device) OpenAL Compatible Sound Card
Other (Graphic Drivers: Nvidia 310, AMD 12.11)
OpenGL versions require the GL_EXT_draw_buffers2 extension.[24] A hacky workaround exists.
Not supported: OS X 10.5.x (Leopard), ATI Radeon X1600 or X1900 graphics, Nvidia GeForce 7 graphics or Intel graphics less than Intel HD 3000.


Notes

  1. When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).
  2. However: It might be automatically enabled if you launch Left 4 Dead 2 with an XInput-compatible controller already connected. This behavior is similar to Half-Life 2/Portal's Native Controller support
  3. -gamepadui is always-on via Steam Deck
  4. Since January 1st, 2024, the Steam Client only supports Windows 10 and later versions.

References

  1. [1] - last accessed on 2025-08-31
  2. [2] - last accessed on 2023-03-06
  3. Verified by User:Rose on 2020-09-25
  4. Verified by User:Faust8 on 2025-12-27
  5. How Left 4 Dead 2 Players Reacted When The FOV Slider Was Added On PC - last accessed on 2021-07-02
  6. New 120Hz Games Report - last accessed on May 2023
  7. NVidia Profile Inspector - AA Flags - Google Drive - last accessed on May 2023
  8. NVidia Profile Inspector - AA Flags - Google Kalkylark - last accessed on 2025-07-23
  9. HBAO+ Compatibility Flags - last accessed on May 2023
  10. Original HBAO+ Post at Guru3D.com Forums - last accessed on May 2023
  11. Verified by User:Keith on 2020-10-24
  12. Mouse Sensitivity - last accessed on 2025-12-27
  13. Verified by User:Al2009man on 2024-10-11
    Tested by using a Xbox One Controller and ensuring Steam Input API is fully disabled.
  14. Verified by User:Dogman15 on 2026-01-01
  15. Verified by User:Faust8 on 2025-12-27
    It's fine for the main campaign. In Dead Air campaign from the first game Content ID can be seen: Sin Miedo - Keiner.
  16. Official L4D2 split-screen Steam thread (retrieved)
  17. Left 4 Dead: SplitScreen PC Guide - Steam Users' Forums (retrieved)
  18. WSGF Left 4 Dead 1 Eyefinity Guide - last accessed on May 2023
  19. Replace a file in vpk - Steam Users' Forums (retrieved)
  20. Verified by User:Faust8 on 2025-12-27
    In Task Manager at Details left4dead2.exe reports x86.
  21. Left 4 Dead Wiki - Console commands - last accessed on May 2023
  22. Left 4 Dead 2 Vulkan DXVK implementation - last accessed on 2015-12-02
    "The Left 4 Dead 2 Vulkan implementation is through the use of DXVK-native, a native implementation of DXVK, a Vulkan-based translation layer for Direct3D 9/10/11."
  23. Verified by User:Faust8 on 2025-12-27
    Install size is 13.94 GB as of latest game version.
    Installing custom add-ons or playing on a server that has custom content can increase the game size.
    Different language than English may also increase size.
  24. Could not find required OpenGL entry point 'glColorMaskIndexedEXT'! · ValveSoftware/steam-for-linux - last accessed on 9 June 2023