StarCraft: Difference between revisions
DoctorDalek (talk | contribs) No edit summary |
DoctorDalek (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
{{Game.InfoBox.ReleaseDate|Windows|March 31, 1998}} | {{Game.InfoBox.ReleaseDate|Windows|March 31, 1998}} | ||
|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 = StarCraft}} | ||
| PCGamingWiki = StarCraft | |||
{{Game.ActionBox | |||
|Actions = | |||
{{Game.ActionBox.Row|Name = Play|Path = {InstallDir}\StarCraft.exe|Arguments = |WorkingDirectory = |Primary = True}} | |||
}} | }} | ||
{{Game.Scripts. | |||
|Name = | {{Game.Scripts.Install | ||
|Name = Install Script | |||
|Description = | |Description = | ||
|RequiresAdmin = False | |RequiresAdmin = False | ||
|Contents = <syntaxhighlight lang="powershell" line> | |Contents = | ||
$ | <syntaxhighlight lang="powershell" line> | ||
cd "$InstallDirectory\StarCraft Key Changer" | |||
Start-Process "Change StarCraft Key.exe" -ArgumentList "$InstallDirectory" -Wait | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
{{Game.Scripts. | {{Game.Scripts.NameChange | ||
|Name = | |Name = Name Change Script | ||
|Description = | |Description = | ||
|RequiresAdmin = False | |RequiresAdmin = False | ||
|Contents = | |Contents = | ||
<syntaxhighlight lang="powershell" line> | <syntaxhighlight lang="powershell" line> | ||
$NewPlayerAlias = $NewPlayerAlias.Split([IO.Path]::GetInvalidFileNameChars()) -join '_' | |||
New-Item -ItemType Directory -Force -Path "$InstallDirectory\characters" | |||
Copy-Item -Path "$InstallDirectory\Default.mpc" -Destination "$InstallDirectory\characters\$NewPlayerAlias.mpc" | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} |
Latest revision as of 21:57, 8 January 2024
Developers | |
---|---|
Blizzard Entertainment | |
Publishers | |
Blizzard Entertainment | |
Release Date | |
Windows: March 31, 1998 | |
Genres | |
Real Time Strategy (RTS)Strategy | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play | {InstallDir}\StarCraft.exe | True |
Install Script
cd "$InstallDirectory\StarCraft Key Changer"
Start-Process "Change StarCraft Key.exe" -ArgumentList "$InstallDirectory" -Wait
Name Change Script
$NewPlayerAlias = $NewPlayerAlias.Split([IO.Path]::GetInvalidFileNameChars()) -join '_'
New-Item -ItemType Directory -Force -Path "$InstallDirectory\characters"
Copy-Item -Path "$InstallDirectory\Default.mpc" -Destination "$InstallDirectory\characters\$NewPlayerAlias.mpc"