Carmageddon II: Carpocalypse Now: Difference between revisions
DoctorDalek (talk | contribs) (Fixes to deprecated PowerShell scripts) |
DoctorDalek (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
{{Game.InfoBox.Developer|Stainless Games Ltd.}} | {{Game.InfoBox.Developer|Stainless Games Ltd.}} | ||
|Publishers = | |Publishers = | ||
{{Game.InfoBox. | {{Game.InfoBox.Publisher|Sales Curve Interactive}}{{Game.InfoBox.Publisher|Interplay Entertainment}} | ||
|Release Date = | |Release Date = | ||
{{Game.InfoBox.ReleaseDate|Windows|October 12, 1998}} | {{Game.InfoBox.ReleaseDate|Windows|October 12, 1998}} | ||
Line 21: | Line 21: | ||
|Name = Install Script | |Name = Install Script | ||
|Description = | |Description = | ||
|RequiresAdmin = | |RequiresAdmin = False | ||
|Contents = | |Contents = | ||
<syntaxhighlight lang="powershell" line> | <syntaxhighlight lang="powershell" line> | ||
New-Item -Path " | New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" | ||
New-ItemProperty -Path " | New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" -Name "$InstallDirectory\CARMA2_HW.EXE" -Value "~ WINXPSP2 HIGHDPIAWARE" -Force | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} |
Latest revision as of 00:39, 22 February 2024
Developers | |
---|---|
Stainless Games Ltd. | |
Publishers | |
Sales Curve InteractiveInterplay Entertainment | |
Release Date | |
Windows: October 12, 1998 | |
Genres | |
IndieRacing | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play | {InstallDir}\CARMA2_HW.EXE | True |
Install Script
New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"
New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" -Name "$InstallDirectory\CARMA2_HW.EXE" -Value "~ WINXPSP2 HIGHDPIAWARE" -Force
Name Change Script
if ($NewPlayerAlias.Length -gt 8) {
$NewPlayerAlias = $NewPlayerAlias.Substring(0, 8)
}
Write-ReplaceContentInFile -Pattern '^PlayerName 0\s+.+' -Substitution "PlayerName 0`r`n$NewPlayerAlias" -FilePath "$InstallDirectory\DATA\OPTIONS.TXT"