Empire Earth

From LANCommander
Revision as of 00:33, 1 August 2023 by DoctorDalek (talk | contribs) (Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Developers = {{Game.InfoBox.Developer|Stainless Steel Studios}} |Publishers = {{Game.InfoBox.Publisher|Sierra Entertainment}} |Release Date = {{Game.InfoBox.ReleaseDate|Windows|November 12, 2001}} |Genres = {{Game.InfoBox.Genre|Real Time Strategy (RTS)}} {{Game.InfoBox.Genre|Strategy}} | PCGamingWiki = Empire_Earth }} {{Game.ActionBox |Actions = {{Game.ActionBox.Row|Name = Play Empire Earth|Path = Empire Earth.exe|A...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
Stainless Steel Studios
Publishers
Sierra Entertainment
Release Date
Windows: November 12, 2001
Genres
Real Time Strategy (RTS)

Strategy

View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play Empire Earth Empire Earth.exe {InstallDir}/Empire Earth True
Play Empire Earth: The Art of Conquest EE-AOC.exe {InstallDir}/Empire Earth - The Art of Conquest True

Install Script

The game requires many registry entries in order to launch.

$InstallDir = $PSScriptRoot
$Path = "HKCU:\Software\SSSI\Empire Earth"

$Volume = Split-Path -Path $InstallDir -Qualifier
$Directory = $($(Split-Path -Path $InstallDir -NoQualifier) + "\Empire Earth").ToUpper()

New-Item -Path "$Path"
New-Item -Path "$Path\Game Options"

New-ItemProperty -Path "$Path" -Name "Take JPG Screenshots" -Value 1 -Force
New-ItemProperty -Path "$Path" -Name "Installed From Volume" -Value $Volume -Force
New-ItemProperty -Path "$Path" -Name "Installed From Directory" -Value $Directory -Force
New-ItemProperty -Path "$Path" -Name "UseCandidateWindow" -Value 0 -Force

Uninstall Script

Removes keys that the install script added

$Path = "HKCU:\Software\SSSI\Empire Earth"

Remove-Item -Path "$Path" -Force -Recurse