Carmageddon

From LANCommander
Revision as of 00:39, 22 February 2024 by DoctorDalek (talk | contribs) (Created new page for Carmageddon)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
Stainless Games Ltd.
Publishers
SCi GamesInterplay Entertainment
Release Date
Windows: June 30, 1997
Genres
Racing
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play {InstallDir}\Dosbox\dosbox-x.exe ..\GameData\START.BAT -c "ipxnet connect {IPXRelayHost} {IPXRelayPort}" -exit True

Name Change Script

# Trim a string down to a specified amount of characters
if ($NewPlayerAlias.Length -gt 13) {
    $NewPlayerAlias = $NewPlayerAlias.Substring(0, 13);
}

Write-ReplaceContentInFile -Pattern '^PlayerName 0\n(.+)' -Substitution "PlayerName 0\n$NewPlayerAlias" -FilePath "$InstallDirectory\GameData\DATA\OPTIONS.TXT"
Write-ReplaceContentInFile -Pattern '^NetName 0\n(.+)' -Substitution "NetName 0\n$NewPlayerAlias" -FilePath "$InstallDirectory\GameData\DATA\OPTIONS.TXT"