Quake

From LANCommander
Developers
id Software
Publishers
id SoftwareMacSoft GamesGT Interactive SoftwareR-Comp InteractivePXL computersSegaPulse Interactive
Release Date
Windows: June 22, 1996
Genres
Shooter
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play {InstallDir}\ironwail.exe True

Install Script

$Display = Get-PrimaryDisplay

Write-ReplaceContentInFile -Pattern '^"vid_width" (.+)' -Substitution """vid_width"" ""$($Display.Bounds.Width)""" -FilePath "$InstallDirectory\Id1\config.cfg"
Write-ReplaceContentInFile -Pattern '^"vid_height" (.+)' -Substitution """vid_height"" ""$($Display.Bounds.Height)""" -FilePath "$InstallDirectory\Id1\config.cfg"
Write-ReplaceContentInFile -Pattern '^vid_width (.+)' -Substitution "vid_width ""$($Display.Bounds.Width)""" -FilePath "$InstallDirectory\Id1\ironwail.cfg"
Write-ReplaceContentInFile -Pattern '^vid_height (.+)' -Substitution "vid_height ""$($Display.Bounds.Height)""" -FilePath "$InstallDirectory\Id1\ironwail.cfg"

Name Change Script

Write-ReplaceContentInFile -Pattern '^"_cl_name" (.+)' -Substitution """_cl_name"" ""$NewPlayerAlias""" -FilePath "$InstallDirectory\Id1\config.cfg"
Write-ReplaceContentInFile -Pattern '^_cl_name (.+)' -Substitution "_cl_name ""$NewPlayerAlias""" -FilePath "$InstallDirectory\Id1\ironwail.cfg"