Grand Theft Auto 2: Difference between revisions
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...") |
DoctorDalek (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
{{Game.InfoBox.Developer|DMA Design}} | {{Game.InfoBox.Developer|DMA Design}} | ||
|Publishers = | |Publishers = | ||
{{Game.InfoBox.Publisher|Rockstar Games}} | {{Game.InfoBox.Publisher|Take-Two Interactive}}{{Game.InfoBox.Publisher|Rockstar Games}} | ||
|Release Date = | |Release Date = | ||
{{Game.InfoBox.ReleaseDate|Windows|October | {{Game.InfoBox.ReleaseDate|Windows|October 22, 1999}} | ||
|Genres = | |Genres = | ||
{{Game.InfoBox.Genre| | {{Game.InfoBox.Genre|Racing}}{{Game.InfoBox.Genre|Shooter}} | ||
| PCGamingWiki = Grand_Theft_Auto_2 | |PCGamingWiki = Grand_Theft_Auto_2}} | ||
}} | |||
{{Game.ActionBox | {{Game.ActionBox | ||
|Actions = | |Actions = | ||
{{Game.ActionBox.Row|Name = Play Singleplayer|Path = gta2.exe|Arguments = |WorkingDirectory = |Primary = True}} | {{Game.ActionBox.Row|Name = Play Singleplayer|Path = {InstallDir}\gta2.exe|Arguments = |WorkingDirectory = |Primary = True}} | ||
{{Game.ActionBox.Row|Name = Run GTA2 Manager|Path = gta2 manager.exe|Arguments = |WorkingDirectory = |Primary = False}} | {{Game.ActionBox.Row|Name = Run GTA2 Manager|Path = {InstallDir}\gta2 manager.exe|Arguments = |WorkingDirectory = |Primary = False}} | ||
{{Game.ActionBox.Row|Name = Play Multiplayer|Path = gta2 manager.exe|Arguments = |WorkingDirectory = |Primary = True}} | {{Game.ActionBox.Row|Name = Play Multiplayer|Path = {InstallDir}\gta2 manager.exe|Arguments = |WorkingDirectory = |Primary = True}} | ||
}} | }} | ||
{{Game.Scripts.NameChange | {{Game.Scripts.NameChange | ||
Line 24: | Line 24: | ||
|Description = | |Description = | ||
|RequiresAdmin = True | |RequiresAdmin = True | ||
|Contents = <syntaxhighlight lang="powershell" line> | |Contents = | ||
<syntaxhighlight lang="powershell" line> | |||
if ($NewPlayerAlias.Length -gt 24) { | |||
if ($ | $NewPlayerAlias = $NewPlayerAlias.Substring(0, 24) | ||
$ | |||
} | } | ||
Line 35: | Line 34: | ||
New-Item -Path "HKLM:\SOFTWARE\WOW6432Node\DMA Design Ltd\GTA2\Network" | 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 $ | New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\DMA Design Ltd\GTA2\Network" -Name "PlayerName" -Value $NewPlayerAlias -Force | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} |
Revision as of 02:12, 6 January 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 |
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