Warcraft III: The Frozen Throne: Difference between revisions

From LANCommander
(Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Developers = {{Game.InfoBox.Developer|Blizzard Entertainment}} |Publishers = {{Game.InfoBox.Publisher|Sierra Entertainment}} {{Game.InfoBox.Publisher|Capcom}} {{Game.InfoBox.Publisher|Blizzard Entertainment}} |Release Date = {{Game.InfoBox.ReleaseDate|Windows|July 3, 2002}} |Genres = {{Game.InfoBox.Genre|Real Time Strategy (RTS)}} {{Game.InfoBox.Genre|Strategy}} | PCGamingWiki = Warcraft_III:_The_Frozen_Throne }} {{G...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
{{Game.InfoBox.Developer|Blizzard Entertainment}}
{{Game.InfoBox.Developer|Blizzard Entertainment}}
|Publishers =
|Publishers =
{{Game.InfoBox.Publisher|Sierra Entertainment}}
{{Game.InfoBox.Publisher|Sierra Entertainment}}{{Game.InfoBox.Publisher|Capcom}}{{Game.InfoBox.Publisher|Blizzard Entertainment}}
{{Game.InfoBox.Publisher|Capcom}}
{{Game.InfoBox.Publisher|Blizzard Entertainment}}
|Release Date =
|Release Date =
{{Game.InfoBox.ReleaseDate|Windows|July 3, 2002}}
{{Game.InfoBox.ReleaseDate|Windows|July 1, 2003}}
|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_III:_The_Frozen_Throne}}
| PCGamingWiki = Warcraft_III:_The_Frozen_Throne
}}


{{Game.ActionBox
{{Game.ActionBox
|Actions =  
|Actions =  
{{Game.ActionBox.Row|Name = Play Warcraft III: Reign of Chaos|Path = Warcraft III.exe|Arguments = |WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Play Warcraft III: Reign of Chaos|Path = {InstallDir}\Warcraft III.exe|Arguments = |WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Play Warcraft III: The Frozen Throne|Path = FrozenThrone.exe|Arguments = |WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Play Warcraft III: The Frozen Throne|Path = {InstallDir}\Frozen Throne.exe|Arguments = |WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = World Editor|Path = World Editor.exe|Arguments = |WorkingDirectory = |Primary = False}}
{{Game.ActionBox.Row|Name = World Editor|Path = {InstallDir}\World Editor.exe|Arguments = |WorkingDirectory = |Primary = False}}
}}
}}


{{Game.Scripts.NameChange
 
|Name = Name Change Script
{{Game.Scripts.Install
|Name = Install Script
|Description =  
|Description =  
|RequiresAdmin = False
|RequiresAdmin = False
|Contents = <syntaxhighlight lang="powershell" line>
|Contents =
$NewName = $args[0]
<syntaxhighlight lang="powershell" line>
$InstallDir = $PSScriptRoot
$Display = Get-PrimaryDisplay
 
New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment" -Force


if ($NewName.Length -gt 24) {
New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III" -Force
    $NewName = $NewName.Substring(0, 24)
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III" -Name "InstallPath" -Value "$InstallDirectory" -Force
}
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III" -Name "InstallPathX" -Value "$InstallDirectory" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III" -Name "Program" -Value "$InstallDirectory\Warcraft III.exe" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III" -Name "ProgramX" -Value "$InstallDirectory\Frozen Throne.exe" -Force


New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment"
New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Force
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "File0" -Value "w3z" -Force
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\String"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "File1" -Value "w3v" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "File2" -Value "w3p" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "Path0" -Value "$InstallDirectory\save" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "Path1" -Value "$InstallDirectory\save" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "Path2" -Value "$InstallDirectory\save" -Force


New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\String" -Name "userlocal" -Value $NewName -Force
New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption1" -Force
</syntaxhighlight>
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption1" -Name "File0" -Value "w3g" -Force
}}
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption1" -Name "Path0" -Value "$InstallDirectory\replay" -Force


{{Game.Scripts.Install
New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Force
|Name = Install Script
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File0" -Value "log" -Force
|Description =
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File1" -Value "txt" -Force
|RequiresAdmin = True
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File2" -Value "w3g" -Force
|Contents = <syntaxhighlight lang="powershell" line>
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File3" -Value "j" -Force
$NewName = $args[0]
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path0" -Value "$InstallDirectory\Logs" -Force
$InstallDir = $PSScriptRoot
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path1" -Value "$InstallDirectory\Logs" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path2" -Value "$InstallDirectory\Logs" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path3" -Value "$InstallDirectory\Logs" -Force


if ($NewName.Length -gt 24) {
New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption3" -Force
    $NewName = $NewName.Substring(0, 24)
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption3" -Name "File0" -Value "txt" -Force
}
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption3" -Name "Path0" -Value "$InstallDirectory\Errors" -Force


New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment"
New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Force
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "gamespeed" -Value 3 -Force
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "mousescroll" -Value 50 -Force
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption1"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "mousescrolldisable" -Value 0 -Force
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "keyscroll" -Value 50 -Force
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption3"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "tooltips" -Value 1 -Force
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\String"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "formations" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "formationtoggle" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "herobar" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "netgameport" -Value 6112 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "inputsprocket" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "ammtype" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "ammstyles" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "ammmapprefs" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "ammmaphashes" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "ammrace" -Value 32 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "customfilter" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "custommask" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "allyFilter" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "creepFilter" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "terrainFilter" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "subgrouporder" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "multiboardon" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "customkeys" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "schedrace" -Value 32 -Force


New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\" -Name "InstallPath" -Value $InstallDir -Force
New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Map" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\" -Name "InstallPathX" -Value $InstallDir -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Map" -Name "skirmish_V0" -Value "" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\" -Name "Program" -Value "$InstallDir\Warcraft III.exe" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Map" -Name "skirmish_V1" -Value "" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\" -Name "ProgramX" -Value "$InstallDir\Frozen Throne.exe" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Map" -Name "lan_V0" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Map" -Name "lan_V1" -Value "Maps\(2)BootyBay.w3m" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Map" -Name "battlenet_V0" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Map" -Name "battlenet_V1" -Value "" -Force


New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "File0" -Value "w3z" -Force
New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "File1" -Value "w3v" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Name "seenintromovie" -Value 1 -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "File2" -Value "w3p" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Name "campaignprofile" -Value "" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "Path0" -Value "$InstallDir\save" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Name "clickedtourn" -Value 0 -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "Path1" -Value "$InstallDir\save" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Name "clickedclan" -Value 0 -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "Path2" -Value "$InstallDir\save" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Name "clickedladder" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Name "clickedad" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Name "chatsupport" -Value 0 -Force


New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption1" -Name "File0" -Value "w3g" -Force
New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption1" -Name "Path0" -Value "$InstallDir\replay" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "provider" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "positional" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "environmental" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "music" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "musicvolume" -Value 40 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "sfx" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "sfxvolume" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "ambient" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "movement" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "unit" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "subtitles" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "nomidi" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "softwaremidi" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "nosoundwarn" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "donotusewaveout" -Value 0 -Force


New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File0" -Value "log" -Force
New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\String" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File1" -Value "txt" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\String" -Name "userlocal" -Value "Vintage" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File2" -Value "w3g" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\String" -Name "userbnet" -Value "" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File3" -Value "j" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path0" -Value "$InstallDir\Logs" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path1" -Value "$InstallDir\Logs" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path2" -Value "$InstallDir\Logs" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path3" -Value "$InstallDir\Logs" -Force


New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption3" -Name "File0" -Value "txt" -Force
New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption3" -Name "Path0" -Value "$InstallDir\Errors" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "reswidth" -Value $Display.Bounds.Width -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "resheight" -Value $Display.Bounds.Height -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "colordepth" -Value 16 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "adapter" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "refreshrate" -Value 60 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "gamma" -Value 30 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "modeldetail" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "animquality" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "texquality" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "miplevel" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "texcolordepth" -Value 16 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "particles" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "lights" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "lockfb" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "unitshadows" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "occlusion" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "cinematicoverrides" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "cinematicrefresh" -Value 75 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "cinematicbpp" -Value 32 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "cinematicwidth" -Value 800 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "cinematicheight" -Value 600 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "spellfilter" -Value 2 -Force
</syntaxhighlight>
}}
           
{{Game.Scripts.NameChange
|Name = Name Change Script
|Description =
|RequiresAdmin = False
|Contents =
<syntaxhighlight lang="powershell" line>
if ($NewPlayerAlias.Length -gt 24) {
    $NewPlayerAlias = $NewPlayerAlias.Substring(0, 24)
}


New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\String" -Name "userlocal" -Value $NewName -Force
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment"
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III"
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\String"


cd "$InstallDir\Warcraft III Key Changer"
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\String" -Name "userlocal" -Value $NewPlayerAlias -Force
Start-Process "Change WarCraft III CD Key.exe" -Wait
</syntaxhighlight>
Start-Process "Change WarCraft III TFT CD Key.exe" -Wait
}}
           
{{Game.Scripts.KeyChange
|Name = Key Change Script
|Description =
|RequiresAdmin = False
|Contents =
<syntaxhighlight lang="powershell" line>
cd "$InstallDirectory\Warcraft III Key Changer"
Start-Process "Change Keys.exe" -Wait -ArgumentList "$AllocatedKey"
</syntaxhighlight>
</syntaxhighlight>
}}
}}

Latest revision as of 00:52, 22 February 2024

Developers
Blizzard Entertainment
Publishers
Sierra EntertainmentCapcomBlizzard Entertainment
Release Date
Windows: July 1, 2003
Genres
Real Time Strategy (RTS)Strategy
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play Warcraft III: Reign of Chaos {InstallDir}\Warcraft III.exe True
Play Warcraft III: The Frozen Throne {InstallDir}\Frozen Throne.exe True
World Editor {InstallDir}\World Editor.exe False

Install Script

$Display = Get-PrimaryDisplay

New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment" -Force

New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III" -Name "InstallPath" -Value "$InstallDirectory" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III" -Name "InstallPathX" -Value "$InstallDirectory" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III" -Name "Program" -Value "$InstallDirectory\Warcraft III.exe" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III" -Name "ProgramX" -Value "$InstallDirectory\Frozen Throne.exe" -Force

New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "File0" -Value "w3z" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "File1" -Value "w3v" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "File2" -Value "w3p" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "Path0" -Value "$InstallDirectory\save" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "Path1" -Value "$InstallDirectory\save" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "Path2" -Value "$InstallDirectory\save" -Force

New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption1" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption1" -Name "File0" -Value "w3g" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption1" -Name "Path0" -Value "$InstallDirectory\replay" -Force

New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File0" -Value "log" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File1" -Value "txt" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File2" -Value "w3g" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File3" -Value "j" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path0" -Value "$InstallDirectory\Logs" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path1" -Value "$InstallDirectory\Logs" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path2" -Value "$InstallDirectory\Logs" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path3" -Value "$InstallDirectory\Logs" -Force

New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption3" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption3" -Name "File0" -Value "txt" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption3" -Name "Path0" -Value "$InstallDirectory\Errors" -Force

New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "gamespeed" -Value 3 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "mousescroll" -Value 50 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "mousescrolldisable" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "keyscroll" -Value 50 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "tooltips" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "formations" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "formationtoggle" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "herobar" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "netgameport" -Value 6112 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "inputsprocket" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "ammtype" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "ammstyles" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "ammmapprefs" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "ammmaphashes" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "ammrace" -Value 32 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "customfilter" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "custommask" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "allyFilter" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "creepFilter" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "terrainFilter" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "subgrouporder" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "multiboardon" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "customkeys" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Gameplay" -Name "schedrace" -Value 32 -Force

New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Map" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Map" -Name "skirmish_V0" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Map" -Name "skirmish_V1" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Map" -Name "lan_V0" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Map" -Name "lan_V1" -Value "Maps\(2)BootyBay.w3m" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Map" -Name "battlenet_V0" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Map" -Name "battlenet_V1" -Value "" -Force

New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Name "seenintromovie" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Name "campaignprofile" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Name "clickedtourn" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Name "clickedclan" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Name "clickedladder" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Name "clickedad" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Misc" -Name "chatsupport" -Value 0 -Force

New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "provider" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "positional" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "environmental" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "music" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "musicvolume" -Value 40 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "sfx" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "sfxvolume" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "ambient" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "movement" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "unit" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "subtitles" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "nomidi" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "softwaremidi" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "nosoundwarn" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Sound" -Name "donotusewaveout" -Value 0 -Force

New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\String" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\String" -Name "userlocal" -Value "Vintage" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\String" -Name "userbnet" -Value "" -Force

New-Item -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "reswidth" -Value $Display.Bounds.Width -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "resheight" -Value $Display.Bounds.Height -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "colordepth" -Value 16 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "adapter" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "refreshrate" -Value 60 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "gamma" -Value 30 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "modeldetail" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "animquality" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "texquality" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "miplevel" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "texcolordepth" -Value 16 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "particles" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "lights" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "lockfb" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "unitshadows" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "occlusion" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "cinematicoverrides" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "cinematicrefresh" -Value 75 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "cinematicbpp" -Value 32 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "cinematicwidth" -Value 800 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "cinematicheight" -Value 600 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\Video" -Name "spellfilter" -Value 2 -Force

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 III"
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\String"

New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\String" -Name "userlocal" -Value $NewPlayerAlias -Force

Key Change Script

cd "$InstallDirectory\Warcraft III Key Changer"
Start-Process "Change Keys.exe" -Wait -ArgumentList "$AllocatedKey"