Warcraft III: The Frozen Throne

From LANCommander
Revision as of 21:58, 8 January 2024 by DoctorDalek (talk | contribs)
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 "$InstallDir" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III" -Name "InstallPathX" -Value "$InstallDir" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\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" -Name "ProgramX" -Value "$InstallDir\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 "$InstallDir\save" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "Path1" -Value "$InstallDir\save" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption0" -Name "Path2" -Value "$InstallDir\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 "$InstallDir\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 "$InstallDir\Logs" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path1" -Value "$InstallDir\Logs" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path2" -Value "$InstallDir\Logs" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "Path3" -Value "$InstallDir\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 "$InstallDir\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

This script requires admin access to function properly

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