Quake III Arena

From LANCommander
Revision as of 01:23, 1 August 2023 by DoctorDalek (talk | contribs) (Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Developers = {{Game.InfoBox.Developer|id Software}} {{Game.InfoBox.Developer|Bullfrog Productions}} {{Game.InfoBox.Developer|Pi Studios}} {{Game.InfoBox.Developer|Raster Productions}} |Publishers = {{Game.InfoBox.Publisher|Loki Software}} {{Game.InfoBox.Publisher|Activision}} {{Game.InfoBox.Publisher|Sega}} {{Game.InfoBox.Publisher|Electronic Arts}} |Release Date = {{Game.InfoBox.ReleaseDate|Windows|December 2, 1999}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
id Software

Bullfrog Productions Pi Studios Raster Productions

Publishers
Loki Software

Activision Sega

Electronic Arts
Release Date
Windows: December 2, 1999
Genres
Shooter
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play Quake III Arena.exe True

Name Change Script

$NewName = $args[0]
$InstallDir = $PSScriptRoot

function Write-ReplaceContentInFile([string]$Regex, [string]$Replacement, [string]$FilePath)
{
    $content = (Get-Content $FilePath) -replace $Regex, $Replacement
    [IO.File]::WriteAllLines($FilePath, $content)
}

Write-ReplaceContentInFile -Regex 'seta name (.+)' -Replacement "seta name ""$NewName""" -FilePath "$InstallDir\baseq3\q3config.cfg"