Grand Theft Auto 2: Difference between revisions
DoctorDalek (talk | contribs) No edit summary |
DoctorDalek (talk | contribs) No edit summary |
||
Line 20: | Line 20: | ||
{{Game.Scripts.Uninstall | |||
|Name = Uninstall Script | |||
|Description = | |||
|RequiresAdmin = False | |||
|Contents = | |||
<syntaxhighlight lang="powershell" line> | |||
Remove-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\DMA Design Ltd\GTA2" -Recurse | |||
</syntaxhighlight> | |||
}} | |||
{{Game.Scripts.NameChange | {{Game.Scripts.NameChange | ||
|Name = Name Change Script | |Name = Name Change Script | ||
|Description = | |Description = | ||
|RequiresAdmin = | |RequiresAdmin = False | ||
|Contents = | |Contents = | ||
<syntaxhighlight lang="powershell" line> | <syntaxhighlight lang="powershell" line> | ||
Line 30: | Line 40: | ||
} | } | ||
New-Item -Path " | New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\DMA Design Ltd" | ||
New-Item -Path " | New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\DMA Design Ltd\GTA2" | ||
New-Item -Path " | New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\DMA Design Ltd\GTA2\Network" | ||
New-ItemProperty -Path " | New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\DMA Design Ltd\GTA2\Network" -Name "PlayerName" -Value $NewPlayerAlias -Force | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} |
Latest revision as of 00:43, 22 February 2024
Developers | |
---|---|
DMA Design | |
Publishers | |
Take-Two InteractiveRockstar Games | |
Release Date | |
Windows: October 22, 1999 | |
Genres | |
RacingShooter | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play Singleplayer | {InstallDir}\gta2.exe | True | ||
Run GTA2 Manager | {InstallDir}\gta2 manager.exe | False | ||
Play Multiplayer | {InstallDir}\gta2 manager.exe | True |
Uninstall Script
Remove-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\DMA Design Ltd\GTA2" -Recurse
Name Change Script
if ($NewPlayerAlias.Length -gt 24) {
$NewPlayerAlias = $NewPlayerAlias.Substring(0, 24)
}
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\DMA Design Ltd"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\DMA Design Ltd\GTA2"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\DMA Design Ltd\GTA2\Network"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\DMA Design Ltd\GTA2\Network" -Name "PlayerName" -Value $NewPlayerAlias -Force