Grand Theft Auto 2

From LANCommander
Revision as of 00:34, 1 August 2023 by DoctorDalek (talk | contribs) (Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Developers = {{Game.InfoBox.Developer|DMA Design}} |Publishers = {{Game.InfoBox.Publisher|Rockstar Games}} |Release Date = {{Game.InfoBox.ReleaseDate|Windows|October 26, 1999}} |Genres = {{Game.InfoBox.Genre|Arcade}} | PCGamingWiki = Grand_Theft_Auto_2 }} {{Game.ActionBox |Actions = {{Game.ActionBox.Row|Name = Play Singleplayer|Path = gta2.exe|Arguments = |WorkingDirectory = |Primary = True}} {{Game.ActionBox.Row|Na...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
DMA Design
Publishers
Rockstar Games
Release Date
Windows: October 26, 1999
Genres
Arcade
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play Singleplayer gta2.exe True
Run GTA2 Manager gta2 manager.exe False
Play Multiplayer gta2 manager.exe True

Name Change Script

This script requires admin access to function properly

$NewName = $args[0]

if ($NewName.Length -gt 24) {
    $NewName = $NewName.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 $NewName -Force