Warcraft III: The Frozen Throne

From LANCommander
Revision as of 00:52, 22 February 2024 by DoctorDalek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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"