Difference between revisions of "Left 4 Dead 2"
Line 183: | Line 183: | ||
# Open <code>pak01_000.vpk</code> with a hex editor such as [https://mh-nexus.de/en/downloads.php?product=HxD HxD]. | # Open <code>pak01_000.vpk</code> with a hex editor such as [https://mh-nexus.de/en/downloads.php?product=HxD HxD]. | ||
# Look for <code>"aspect"...."8 by 3"</code> string (offset 0x1C4CCFB, just under hex <code>73 20 34 78 33</code>). | # Look for <code>"aspect"...."8 by 3"</code> string (offset 0x1C4CCFB, just under hex <code>73 20 34 78 33</code>). | ||
− | # Change it according to the desired aspect ratio | + | # Change it according to the desired aspect ratio divided by 2. |
# Save the changes. | # Save the changes. | ||
'''Notes''' | '''Notes''' | ||
− | {{ii}} Like any other worthy hex editing, original and final file size | + | {{ii}} Like any other worthy hex editing, original and final file size must remain the same. Therefore if a digit is added or subtracted a digit, it may be necessary to ''remove'' or ''add'' a character elsewhere as well. |
{{ii}} For horizontal split-screen aspect ratio, change <code>"aspect"...."32 by 9"</code> string (the desired aspect ratio multiplied by 2). | {{ii}} For horizontal split-screen aspect ratio, change <code>"aspect"...."32 by 9"</code> string (the desired aspect ratio multiplied by 2). | ||
{{--}} As long as the Valve pak file is modified, it may be impossible to join [https://developer.valvesoftware.com/wiki/Pure_Servers pure servers]. | {{--}} As long as the Valve pak file is modified, it may be impossible to join [https://developer.valvesoftware.com/wiki/Pure_Servers pure servers]. |
Revision as of 23:04, 11 March 2022
Developers | |
---|---|
Valve Corporation | |
Linux | Ryan C. Gordon |
Publishers | |
Valve Corporation | |
Engines | |
Source | |
Release dates | |
Windows | November 19, 2009 |
macOS (OS X) | October 5, 2010 |
Linux | May 3, 2013 |
Reception | |
Metacritic | 89 |
IGDB | 89 |
Taxonomy | |
Microtransactions | None |
Modes | Singleplayer, Multiplayer |
Pacing | Real-time |
Perspectives | First-person |
Controls | Direct control |
Genres | Action, FPS |
Art styles | Realistic |
Themes | Horror, North America, Post-apocalyptic, Zombies |
Series | Left 4 Dead |
Left 4 Dead | |
---|---|
Left 4 Dead | 2008 |
Left 4 Dead 2 | 2009 |
Warnings
- The macOS (OS X) version 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.
Key points
- A hack enabling split-screen co-op is available; see Local play.
- Extensive modding community, including Steam Workshop integration.
- Includes the original Left 4 Dead campaigns and all DLC campaigns.
General information
- GitHub Issue Tracker for Left 4 Dead 2 and other Source-based games
- Steam Community Discussions
- Steam Workshop for Left 4 Dead 2
Availability
Source | DRM | Notes | Keys | OS |
---|---|---|---|---|
Retail | ||||
Steam | Left 4 Dead Bundle also available. |
Version differences
- Some content is censored in Australia and Germany. Install the official Left 4 Dead 2 - Uncensored DLC to remove the limitations.
Essential improvements
Skip intro videos
Use the -novid command line argument[1]
|
---|
Delete or rename video files |
---|
|
4K Remastered Intro Cutscene & Pre-Rendered Main Menu Backgrounds
Remastered Intro Cutscene and Main Menu Backgrounds to 4K. |
---|
Game data
Configuration file(s) location
System | Location |
---|---|
Windows | <path-to-game>\left4dead2\cfg\[Note 1] |
macOS (OS X) | |
Linux |
Save game data location
System | Location |
---|---|
Windows | <Steam-folder>\userdata\<user-id>\550\remote\ |
- It's unknown whether this game follows the XDG Base Directory Specification on Linux. Please fill in this information.
Save game cloud syncing
System | Native | Notes |
---|---|---|
Steam Cloud | Approx. 1 GB available |
Video
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.[3] Though the option is in multiplayer settings, it also applies for singleplayer. See Viewmodel field of view to adjust the weapon model view. | ||
Windowed | |||
Borderless fullscreen windowed | |||
Anisotropic filtering (AF) | Up to 16 samples. | ||
Anti-aliasing (AA) | Up to 8x MSAA. | ||
Vertical sync (Vsync) | |||
60 FPS and 120+ FPS | Capped at 300 FPS by default.[4] | ||
High dynamic range display (HDR) | See the glossary page for potential alternatives. | ||
Color blind mode | Set in Settings, Multiplayer; Affects crosshair, HUD and survivor outlines. |
Affinity Settings
- The game runs slightly better with CPU affinity set to 4 cores.[citation needed] See set affinity and Multi-Threading on game performance.
Anti-aliasing (AA)
Force SGSSAA (Nvidia only)[5] |
---|
Notes
|
Ambient occlusion
Force HBAO+ (Nvidia only)[7][8] |
---|
|
Disable motion blur
Use the +mat_motion_blur_percent_of_screen_max 0 command line argument[9]
|
---|
Split-screen without bezels
- Split-screen mode was meant to be played on a single 4:3 or 16:9 screen. The image may not entirely fit the monitor with different aspect ratios.
- The file which needs be edited is packed. Minimal hex editing knowledge is required.
Edit split-screen aspect-ratio[10][11] |
---|
Notes
|
Viewmodel field of view
Change viewmodel FOV |
---|
|
Input
Keyboard and mouse | State | Notes |
---|---|---|
Remapping | ||
Mouse acceleration | ||
Mouse sensitivity | ||
Mouse input in menus | ||
Mouse Y-axis inversion | ||
Controller | ||
Controller support | When gamepad is in use, 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 | The gamepad option in the keyboard/mouse settings first needs to be enabled and saved. | |
Controller remapping | ||
Controller sensitivity | ||
Controller Y-axis inversion |
Controller types |
---|
XInput-compatible controllers | ||
---|---|---|
Xbox button prompts | ||
Impulse Trigger vibration |
PlayStation controllers | Officially supported via Steam Input. | |
---|---|---|
PlayStation button prompts | Both DualShock 4 and DualSense prompts. | |
Light bar support | Static Yellow. Doesn't have any gameplay purpose. | |
Adaptive trigger support | ||
DualSense haptic feedback support | ||
Connection modes | Wired, Wireless (Bluetooth) |
Generic/other controllers | Any controller supported by Steam Input. | |
---|---|---|
Button prompts |
Additional information | ||
---|---|---|
Button prompts | Steam Input must be enabled for all supported prompts else Xbox prompts are shown instead. | |
Controller hotplugging | ||
Haptic feedback | Steam Controller only. | |
Digital movement supported | ||
Simultaneous controller+KB/M |
Steam Input | ||
---|---|---|
Steam Input API support | ||
Official controller preset(s) | ||
Steam Controller button prompts |
- "Gamepad" option in Keyboard/Mouse is to enable legacy Xinput controller mode. Enabling this erases all Keyboard bindings.
Mouse+Keyboard in split-screen
Bind controller to 2nd player[citation needed] |
---|
|
Audio
Audio feature | State | Notes |
---|---|---|
Separate volume controls | Game and music volume sliders. | |
Surround sound | 7.1, 5.1 surround sound, 4 speaker surround. | |
Subtitles | ||
Closed captions | ||
Mute on focus lost |
Localizations
Language | UI | Audio | Sub | Notes |
---|---|---|---|---|
English | ||||
Simplified Chinese | ||||
Traditional Chinese | ||||
Czech | ||||
Danish | ||||
Dutch | ||||
Finnish | ||||
French | ||||
German | ||||
Hungarian | ||||
Italian | ||||
Japanese | ||||
Korean | ||||
Norwegian | ||||
Polish | ||||
Portuguese | ||||
Brazilian Portuguese | ||||
Russian | ||||
Spanish | ||||
Swedish | ||||
Turkish |
Network
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). |
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 |
- Universal Plug and Play (UPnP) support status is unknown.
Local play
- "SFKTeam - Kaotic" created an UI mod which should simplify even more these steps.
- A list of useful console commands is available below.
Playing with 2 controllers[12][13] |
---|
Notes
|
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. |
---|
Download the L4D2 Default Scope: OVSF Mod from the Steam Workshop[14] |
---|
No Music playing in Main Menu on Linux
- Shared Library filename bug in Linux depot of the game.
Go to <path-to-game>\bin\
and rename the file libmiles.so
to libMiles.so
[15]
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). |
Shader Model support | 2.0, 3.0 |
Executable | 32-bit | 64-bit | Notes |
---|---|---|---|
Windows | |||
macOS (OS X) | [citation needed] | ||
Linux | [citation needed] |
Middleware
Middleware | Notes | |
---|---|---|
Physics | Havok | Heavily modified variant. |
Audio | Miles Sound System | |
Cutscenes | Bink Video | |
Multiplayer | Steamworks |
Console commands
- Games running on the Source engine can utilize Source Engine Console Commands for various tasks.[16]
Enabling the console in Source games[citation needed] |
---|
Notes
|
Creating your own CFG (to run multiple console commands together)
A CFG is a file that contains a list of commands that when run will attempt to execute them all
Open a text editor such as Notepad and type in all the commands you want separating each with a ;
When done save the file as filename.cfg in <path-to-game>\left4dead2\cfg\
. To run the cfg file, open the console during the game and type in exec filename.cfg
If you want the CFG file to run automatically, name it autoexec.cfg
Notable Workshop mods
The game has a huge variety of mods, however, what may be "better" is subjective and opinionated (so Shrek Tank won't be listed here, for example). These mods help improve the base game, though use them at your discretion.
Graphics
- Informal Skyboxes
- Improved Blood textures (alternative is Paintball)
- Left 4 Dead 2 HD Remaster - HD texture pack
- Tuned flashlight
- Post process disabler (can also increase FPS. Note: This disables the black and white that lets you know you'll immediately die the next time you go down)
- No blood/mud splatter
UI
- Team Health Counter - Adds numbered HP for teammates.
- Urik Color Icons - Adds color to the black-and-white icons.
- SFKTeam's custom main menu - Makes splitscreen easier.
- HD Portraits - Adds HD portraits.
- HD Interface, HD Textures For UI - Adds HD interface elements.
Audio
- Resident Evil Weapon Sounds (low mid) - Lowers the volume of loud gunshot sounds, but has a glitch with the combat shotgun where there is a very loud static noise after each shot.
- Shut Up Survivors - Mutes some of the more annoying survivors' quotes. Important quotes are left intact.
Gameplay
- Improved Bots (Advanced) - Makes the bots less stupid. The advanced version of this mod is not compatible with SFKTeam's custom main menu mod, but Improved Bots (Simple) is.
Third person support
- An instant mod is 3PS
Input these 5 commands in the console.
c_thirdpersonshoulderaimdist 360 c_thirdpersonshoulderdist 90 c_thirdpersonshoulderheight 0 c_thirdpersonshoulderoffset 20 bind "F10" "thirdpersonshoulder"
Alternate third person which places the player in the center under the crosshair and raises the camera higher.
c_thirdpersonshoulderaimdist 1000 c_thirdpersonshoulderdist 115 c_thirdpersonshoulderheight 15 c_thirdpersonshoulderoffset 0
Pressing F10 will toggle between first and third person. You will have a greater FOV.
Some warnings:
- Some cutscene intros may be angled incorrectly.
- You may see a weird inaccurate weapon shadow.
- The crosshair may be slightly off-center. You can mess around with the "cam_idealyaw" function to correct this. This isn't usually a hindrance anyway.
- Flashlight glows may be seen at your character's back.
- When survivors heal you, their animations will look glitchy.
- The camera may occasionally see through walls and objects.
- The shotgun will sound very quiet. Try this, however, it may cause online games to crash.
- The motion blur for the fire axe and possibly other melee weapons may look ridiculous. Here's a mod to remove melee motion blur.
- Switching between first and third person in-game may cause the HUD to disappear.
- Dying and entering new areas may revert it to first person.
Useful split-screen commands
Since Split-screen mode in Left 4 Dead 2 isn't officially supported, there are multiple important key settings which aren't immediately available.
Command | Description | |
---|---|---|
connect_splitscreen localhost [ip-address] 2 | Connect to a LAN or Internet server. Direct connections must be allowed | |
[cmd/cmd2] jointeam (2/3) | Assign selected player (cmd) to either survivor or infected team | |
ss_map <map-name> [realism/survival/versus/mutation# | Play the selected map in the desired mode | |
ss_splitmode (0/1/2) | Toggle horizontal and vertical screen split (0 is auto selection) | |
z_difficulty (Easy/Normal/Hard/Impossible) | Change game difficulty | |
setinfo name Max | Change player 1 name | |
name2 Tony | Change player 2 name |
Text chat with keyboard in controller mode
- If you play using a controller and want to use the text chat (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] |
---|
This allows simultaneous input from both keyboard, mouse and controller |
Edit .cfg file[citation needed] |
---|
Open the 360controller.cfg file in Notepad, which can be found in the cfg folder in the installation folder. If you can't find it, search "360controller" in the game's folder. The text starts with "unbindall", but change it to "//unbindall".
|
Bind the buttons back manually in the in-game control settings[citation needed] |
---|
Make sure the game settings has the gamepad option enabled. When you get into a level, open the button settings and bind the buttons again on your keyboard.
|
Enabling HBAO+ for Nvidia graphics cards
- Use the Ambient Occlusion flag
0x00000014
withQuality
orHigh Quality
.
Using Ambient Occlusion flag 0x00000014 [citation needed]
|
---|
|
Remove item/character glows
Some players may wish to remove the item glows and/or character glows since they are unrealistic and makes knowing where other players/items are too easy.
In the installation folder, in the "cfg" folder, in the "autoexec.cfg" file in Notepad, add these lines. If there is no "autoexe.cfg" file, then copy and paste "autoexec.360" and rename it.
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 your screen refresh-rate (Hz). Example: -refresh 60 . |
-noborder -window | Launches the game in a borderless fullscreen window (i.e. very alt-tab friendly). This may result in a minor performance loss. If you experience stuttering, disable Windows Aero. |
-novid | Skip intro videos. |
-high | Sets the game's 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. |
System requirements
Windows | ||
---|---|---|
Minimum | Recommended | |
Operating system (OS) | 7, 8.1, 10 | |
Processor (CPU) | Intel Pentium 4 3.0 GHz | Intel Core 2 Duo 2.4 GHz |
System memory (RAM) | 2 GB | |
Hard disk drive (HDD) | 13 GB | |
Video card (GPU) | ATI Radeon X800 Nvidia GeForce 6600 128 MB of VRAM DirectX 9.0c compatible Shader model 2.0 support |
ATI Radeon X1600 Nvidia GeForce 7600 Shader model 3.0 support |
Sound (audio device) | DirectX 9.0c compatible sound card |
- Windows XP and Vista were previously supported, but as future updates for this game and Steam occurred; the support was dropped, even with retail copies.
macOS (OS X) | ||
---|---|---|
Minimum | ||
Operating system (OS) | 10.7 | |
Processor (CPU) | Intel Dual Core 2 GHz | |
System memory (RAM) | 2 GB | |
Hard disk drive (HDD) | 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 | |
Hard disk drive (HDD) | 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.[17] 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
- ↑ 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).
References
- ↑ Verified by User:Rose on 2020-09-25
- ↑ Verified by User:No_one_17 on 2021-12-25
- ↑ How Left 4 Dead 2 Players Reacted When The FOV Slider Was Added On PC - last accessed on 2021-07-02
- ↑ New 120Hz Games Report
- ↑ NVidia Profile Inspector - AA Flags - Google Drive
- ↑ https://docs.google.com/spreadsheets/u/0/d/1ekUZsK2YXgd5XjjH1M7QkHIQgKO_i4bHCUdPeAd6OCo/pub?output=html
- ↑ HBAO+ Compatibility Flags
- ↑ https://forums.guru3d.com/threads/hbao-compatibility-flags-thread.387114/page-22#post-4818767 Original HBAO+ Post at Guru3D.com Forums]
- ↑ Verified by User:Keith on 2020-10-24
- ↑ WSGF Left 4 Dead 1 Eyefinity Guide
- ↑ Replace a file in vpk - Steam Users' Forums (retrieved)
- ↑ Official L4D2 split-screen Steam thread (retrieved)
- ↑ Left 4 Dead: SplitScreen PC Guide - Steam Users' Forums (retrieved)
- ↑ https://steamcommunity.com/sharedfiles/filedetails/?id=707130221
- ↑ L4D2 Beta/Linux Missing music in main menu
- ↑ Left 4 Dead Wikia - Console commands
- ↑ Could not find required OpenGL entry point 'glColorMaskIndexedEXT'! · ValveSoftware/steam-for-linux