Grand Theft Auto 2

From LANCommander
Revision as of 02:12, 6 January 2024 by DoctorDalek (talk | contribs)
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

Name Change Script

This script requires admin access to function properly

if ($NewPlayerAlias.Length -gt 24) {
    $NewPlayerAlias = $NewPlayerAlias.Substring(0, 24)
}

New-Item -Path "HKLM:\SOFTWARE\WOW6432Node\DMA Design Ltd"
New-Item -Path "HKLM:\SOFTWARE\WOW6432Node\DMA Design Ltd\GTA2"
New-Item -Path "HKLM:\SOFTWARE\WOW6432Node\DMA Design Ltd\GTA2\Network"

New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\DMA Design Ltd\GTA2\Network" -Name "PlayerName" -Value $NewPlayerAlias -Force