Warcraft III: The Frozen Throne

From LANCommander
Revision as of 01:40, 1 August 2023 by DoctorDalek (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
Blizzard Entertainment
Publishers
Sierra Entertainment

Capcom

Blizzard Entertainment
Release Date
Windows: July 3, 2002
Genres
Real Time Strategy (RTS)

Strategy

View at PCGamingWiki

Actions

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

Name Change Script

$NewName = $args[0]
$InstallDir = $PSScriptRoot

if ($NewName.Length -gt 24) {
    $NewName = $NewName.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 $NewName -Force

Install Script

This script requires admin access to function properly

$NewName = $args[0]
$InstallDir = $PSScriptRoot

if ($NewName.Length -gt 24) {
    $NewName = $NewName.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\DelOption0"
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption1"
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2"
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption3"
New-Item -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\String"

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

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

New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption1" -Name "File0" -Value "w3g" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption1" -Name "Path0" -Value "$InstallDir\replay" -Force

New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File0" -Value "log" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File1" -Value "txt" -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption2" -Name "File2" -Value "w3g" -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-ItemProperty -Path "HKCU:\SOFTWARE\Blizzard Entertainment\Warcraft III\DelOption3" -Name "Path0" -Value "$InstallDir\Errors" -Force

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

cd "$InstallDir\Warcraft III Key Changer"
Start-Process "Change WarCraft III CD Key.exe" -Wait
Start-Process "Change WarCraft III TFT CD Key.exe" -Wait