Quake III Arena

From LANCommander
Revision as of 21:55, 8 January 2024 by DoctorDalek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
id SoftwareBullfrog ProductionsPi StudiosRaster Productions
Publishers
Loki SoftwareActivisionSegaElectronic Arts
Release Date
Windows: December 2, 1999
Genres
Shooter
View at PCGamingWiki

Actions

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

Install Script

$Display = Get-PrimaryDisplay

Write-ReplaceContentInFile -Pattern 'seta com_skipIdLogo (.+)' -Substitution "seta com_skipIdLogo ""1""" -FilePath "$InstallDirectory\baseq3\q3config.cfg"
Write-ReplaceContentInFile -Pattern 'seta r_customWidth (.+)' -Substitution "seta r_customWidth ""$($Display.Bounds.Width)""" -FilePath "$InstallDirectory\baseq3\q3config.cfg"
Write-ReplaceContentInFile -Pattern 'seta r_customHeight (.+)' -Substitution "seta r_customHeight ""$($Display.Bounds.Height)""" -FilePath "$InstallDirectory\baseq3\q3config.cfg"
Write-ReplaceContentInFile -Pattern 'seta r_mode (.+)' -Substitution "seta r_mode ""-1""" -FilePath "$InstallDirectory\baseq3\q3config.cfg"

Name Change Script

Write-ReplaceContentInFile -Pattern 'seta name (.+)' -Substitution "seta name ""$NewPlayerAlias""" -FilePath "$InstallDirectory\baseq3\q3config.cfg"