Warcraft II: Battle.net Edition: Difference between revisions
DoctorDalek (talk | contribs) (Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Developers = {{Game.InfoBox.Developer|Blizzard Entertainment}} |Publishers = {{Game.InfoBox.Publisher|Blizzard Entertainment}} |Release Date = {{Game.InfoBox.ReleaseDate|Windows|September 30, 1999}} |Genres = {{Game.InfoBox.Genre|Real Time Strategy (RTS)}} {{Game.InfoBox.Genre|Strategy}} | PCGamingWiki = Warcraft_II:_Battle.net_Edition }} {{Game.ActionBox |Actions = {{Game.ActionBox.Row|Name = Play|Path = Warcraft I...") |
DoctorDalek (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
{{Game.InfoBox.ReleaseDate|Windows|September 30, 1999}} | {{Game.InfoBox.ReleaseDate|Windows|September 30, 1999}} | ||
|Genres = | |Genres = | ||
{{Game.InfoBox.Genre|Real Time Strategy (RTS)}} | {{Game.InfoBox.Genre|Real Time Strategy (RTS)}}{{Game.InfoBox.Genre|Strategy}} | ||
{{Game.InfoBox.Genre|Strategy}} | |PCGamingWiki = Warcraft_II:_Battle.net_Edition}} | ||
| PCGamingWiki = Warcraft_II:_Battle.net_Edition | |||
}} | |||
{{Game.ActionBox | {{Game.ActionBox | ||
|Actions = | |Actions = | ||
{{Game.ActionBox.Row|Name = Play|Path = Warcraft II BNE_dx.exe|Arguments = |WorkingDirectory = |Primary = True}} | {{Game.ActionBox.Row|Name = Play|Path = {InstallDir}\Warcraft II BNE_dx.exe|Arguments = |WorkingDirectory = |Primary = True}} | ||
}} | }} | ||
{{Game.Scripts.NameChange | {{Game.Scripts.NameChange | ||
Line 23: | Line 22: | ||
|Description = | |Description = | ||
|RequiresAdmin = False | |RequiresAdmin = False | ||
|Contents = <syntaxhighlight lang="powershell" line> | |Contents = | ||
<syntaxhighlight lang="powershell" line> | |||
if ($NewPlayerAlias.Length -gt 24) { | |||
if ($ | $NewPlayerAlias = $NewPlayerAlias.Substring(0, 24) | ||
$ | |||
} | } | ||
Line 33: | Line 31: | ||
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft II BNE" | New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft II BNE" | ||
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft II BNE" -Name "name" -Value $ | New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft II BNE" -Name "name" -Value $NewPlayerAlias -Force | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} |
Latest revision as of 21:58, 8 January 2024
Developers | |
---|---|
Blizzard Entertainment | |
Publishers | |
Blizzard Entertainment | |
Release Date | |
Windows: September 30, 1999 | |
Genres | |
Real Time Strategy (RTS)Strategy | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play | {InstallDir}\Warcraft II BNE_dx.exe | True |
Name Change Script
if ($NewPlayerAlias.Length -gt 24) {
$NewPlayerAlias = $NewPlayerAlias.Substring(0, 24)
}
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment"
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft II BNE"
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft II BNE" -Name "name" -Value $NewPlayerAlias -Force