Left 4 Dead

From LANCommander
Revision as of 00:32, 11 January 2024 by DoctorDalek (talk | contribs) (Created new page for Left 4 Dead)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
Turtle Rock StudiosCertain AffinityValve
Publishers
Valve
Release Date
Windows: November 17, 2008
Genres
Shooter
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play left4dead.exe -novid {InstallDir} True

Install Script

$Display = Get-PrimaryDisplay

Write-ReplaceContentInFile -Pattern '"setting.defaultres"\s+"(.+)"' -Substitution """setting.defaultres"" ""$($Display.Bounds.Width)""" -FilePath "$InstallDirectory\left4dead\cfg\video.txt"
Write-ReplaceContentInFile -Pattern '"setting.defaultresheight"\s+"(.+)"' -Substitution """setting.defaultresheight"" ""$($Display.Bounds.Width)""" -FilePath "$InstallDirectory\left4dead\cfg\video.txt"

Name Change Script

Write-ReplaceContentInFile -Pattern '^name "(.+)"' -Substitution "name ""$NewPlayerAlias""" -FilePath "$InstallDirectory\left4dead\cfg\config.cfg"