Grand Theft Auto 2

From LANCommander
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