Empire Earth: Difference between revisions

From LANCommander
(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...")
 
No edit summary
Line 5: Line 5:
{{Game.InfoBox.Developer|Stainless Steel Studios}}
{{Game.InfoBox.Developer|Stainless Steel Studios}}
|Publishers =
|Publishers =
{{Game.InfoBox.Publisher|Sierra Entertainment}}
{{Game.InfoBox.Developer|Sierra Entertainment}}
|Release Date =
|Release Date =
{{Game.InfoBox.ReleaseDate|Windows|November 12, 2001}}
{{Game.InfoBox.ReleaseDate|Windows|November 12, 2001}}
|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 = Empire_Earth}}
| PCGamingWiki = Empire_Earth
}}


{{Game.ActionBox
{{Game.ActionBox
Line 19: Line 17:
{{Game.ActionBox.Row|Name = Play Empire Earth: The Art of Conquest|Path = EE-AOC.exe|Arguments = |WorkingDirectory = {InstallDir}/Empire Earth - The Art of Conquest|Primary = True}}
{{Game.ActionBox.Row|Name = Play Empire Earth: The Art of Conquest|Path = EE-AOC.exe|Arguments = |WorkingDirectory = {InstallDir}/Empire Earth - The Art of Conquest|Primary = True}}
}}
}}


{{Game.Scripts.Install
{{Game.Scripts.Install
Line 24: Line 23:
|Description = The game requires many registry entries in order to launch.
|Description = The game requires many registry entries in order to launch.
|RequiresAdmin = False
|RequiresAdmin = False
|Contents = <syntaxhighlight lang="powershell" line>
|Contents =
$InstallDir = $PSScriptRoot
<syntaxhighlight lang="powershell" line>
$Path = "HKCU:\Software\SSSI\Empire Earth"
#$Path = "HKCU:\Software\SSSI\Empire Earth"


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


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


New-ItemProperty -Path "$Path" -Name "Take JPG Screenshots" -Value 1 -Force
#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 Volume" -Value $Volume -Force
New-ItemProperty -Path "$Path" -Name "Installed From Directory" -Value $Directory -Force
#New-ItemProperty -Path "$Path" -Name "Installed From Directory" -Value $Directory -Force
New-ItemProperty -Path "$Path" -Name "UseCandidateWindow" -Value 0 -Force
#New-ItemProperty -Path "$Path" -Name "UseCandidateWindow" -Value 0 -Force
 
# Get the Drive letter and folder path
$drive = (Split-Path -Path $installdirectory -Qualifier)
$folderpath = $installdirectory.Substring(2)
 
# Get the screen resolution
Add-Type -AssemblyName System.Windows.Forms
$screen = [System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Size
$width = $screen.Width
$height= $screen.Height
 
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\SSSI"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC"
 
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Rasterizer Name" -Value "Direct3D" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Mouse Sensitivity" -Value 31 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Side Scroll Speed" -Value 200 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Grab Scroll Speed" -Value 17 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Game Bit Depth" -Value 32 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Network Adapter" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Game Window Height" -Value $Height -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Game Window Width" -Value $Width -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Screen ID" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Texture Bit Depth" -Value 32 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Wait for VSync" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Installed From Volume" -Value "$drive" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Installed From Directory" -Value "$folderpath" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Player Name" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "WonNet Password" -Value ""-Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Host Game Name" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Sierra.com User ID" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Sierra.com Game Name" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Last Quick Save" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Last Auto Save" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Music Volume" -Value 62 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Sound Volume" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Reverb Enabled" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "AutoSave In Milliseconds" -Value 600000 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Number Of AutoSaves" -Value 10 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Max PTs per Second" -Value 125 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Min PTs per Second" -Value 15 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "PT Rate Tuning Threshold (percent)" -Value 30 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Max CT Send Interval" -Value 2250 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "CT Send Interval Step Down" -Value 10 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "CT Send Interval Step Up" -Value 125 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Enable Animal Herds" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Ambient Sounds" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "UseAreaEffectOverlays" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "UseCandidateWindow" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Last Game File" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Last Scenario File" -Value -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Show Blood" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Right Hand Mouse Orientation" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Music Enabled" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Max Number Of Sounds (percent)" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "ZoomStyle" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Unit Scale Factor" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Unit Lighting" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Model Detail" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "MIP Levels to Drop" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Zoom Lock" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Effect Detail" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Trilinear Filter" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Button MIP Levels to Drop" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Terrain MIP Levels to Drop" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Animation Smoothing" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Display Shadows" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Display Clouds" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Computer Player Difficulty Level" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Debug OOS Handling" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Take JPG Screenshots" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Take End Game Screenshots" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Show Auto Waypoints" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Last Open Post Game Stats Page" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Map Size" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Map Type" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Starting Resources" -Value 5 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Starting Epoch" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Ending Epoch" -Value 13 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Game Unit Limit" -Value 500 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Wonders For Victory" -Value 3 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Game Variant" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Difficulty Level" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Game Speed" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Record Game" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Reveal Map" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Allow Custom Civs" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Lock Teams" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Lock Speed" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Cheat Codes" -Value 1 -Force
 
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" -Name "$InstallDirectory\Empire Earth\Empire Earth.exe" -Value "DWM8And16BitMitigation" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" -Name "$InstallDirectory\Empire Earth - The Art of Conquest\EE-AOC.exe" -Value "DWM8And16BitMitigation" -Force
 
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Rasterizer Name" -Value "Direct3D" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Mouse Sensitivity" -Value 31 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Side Scroll Speed" -Value 200 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Grab Scroll Speed" -Value 17 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Game Bit Depth" -Value 32 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Network Adapter" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Game Window Height" -Value $Height -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Game Window Width" -Value $Width -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Screen ID" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Texture Bit Depth" -Value 32 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Wait for VSync" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Installed From Volume" -Value "$drive" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Installed From Directory" -Value "$folderpath" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Player Name" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "WonNet Password" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Host Game Name" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Sierra.com User ID" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Sierra.com Game Name" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Last Quick Save" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Last Auto Save" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Music Volume" -Value 62 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Sound Volume" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Reverb Enabled" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "AutoSave In Milliseconds" -Value 600000 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Number Of AutoSaves" -Value 10 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Max PTs per Second" -Value 125 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Min PTs per Second" -Value 15 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "PT Rate Tuning Threshold (percent)" -Value 30 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Max CT Send Interval" -Value 2250 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "CT Send Interval Step Down" -Value 10 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "CT Send Interval Step Up" -Value 125 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Enable Animal Herds" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Ambient Sounds" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "UseAreaEffectOverlays" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "UseCandidateWindow" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Last Game File" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Last Scenario File" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Show Blood" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Right Hand Mouse Orientation" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Music Enabled" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Max Number Of Sounds (percent)" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "ZoomStyle" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Unit Scale Factor" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Unit Lighting" -Value 1 -Force
</syntaxhighlight>
</syntaxhighlight>
}}
}}
 
           
{{Game.Scripts.Uninstall
{{Game.Scripts.Uninstall
|Name = Uninstall Script
|Name = Uninstall Script
|Description = Removes keys that the install script added
|Description = Removes keys that the install script added
|RequiresAdmin = False
|RequiresAdmin = False
|Contents = <syntaxhighlight lang="powershell" line>
|Contents =
$Path = "HKCU:\Software\SSSI\Empire Earth"
<syntaxhighlight lang="powershell" line>
#$Path = "HKCU:\Software\SSSI\Empire Earth"
#
#Remove-Item -Path "$Path" -Force -Recurse
#
Remove-Item -Path "registry::\HKEY_CURRENT_USER\Software\SSSI" -recurse
Remove-Item -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software" -recurse


Remove-Item -Path "$Path" -Force -Recurse
</syntaxhighlight>
</syntaxhighlight>
}}
}}

Revision as of 02:09, 6 January 2024

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.

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

#$Volume = Split-Path -Path $InstallDirectory -Qualifier
#$Directory = $($(Split-Path -Path $InstallDirectory -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

# Get the Drive letter and folder path
$drive = (Split-Path -Path $installdirectory -Qualifier)
$folderpath = $installdirectory.Substring(2)

# Get the screen resolution
Add-Type -AssemblyName System.Windows.Forms
$screen = [System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Size
$width = $screen.Width
$height= $screen.Height

New-Item -Path "registry::\HKEY_CURRENT_USER\Software\SSSI"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC"

New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Rasterizer Name" -Value "Direct3D" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Mouse Sensitivity" -Value 31 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Side Scroll Speed" -Value 200 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Grab Scroll Speed" -Value 17 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Game Bit Depth" -Value 32 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Network Adapter" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Game Window Height" -Value $Height -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Game Window Width" -Value $Width -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Screen ID" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Texture Bit Depth" -Value 32 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Wait for VSync" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Installed From Volume" -Value "$drive" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Installed From Directory" -Value "$folderpath" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Player Name" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "WonNet Password" -Value ""-Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Host Game Name" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Sierra.com User ID" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Sierra.com Game Name" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Last Quick Save" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Last Auto Save" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Music Volume" -Value 62 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Sound Volume" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Reverb Enabled" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "AutoSave In Milliseconds" -Value 600000 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Number Of AutoSaves" -Value 10 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Max PTs per Second" -Value 125 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Min PTs per Second" -Value 15 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "PT Rate Tuning Threshold (percent)" -Value 30 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Max CT Send Interval" -Value 2250 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "CT Send Interval Step Down" -Value 10 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "CT Send Interval Step Up" -Value 125 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Enable Animal Herds" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Ambient Sounds" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "UseAreaEffectOverlays" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "UseCandidateWindow" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Last Game File" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Last Scenario File" -Value -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Show Blood" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Right Hand Mouse Orientation" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Music Enabled" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Max Number Of Sounds (percent)" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "ZoomStyle" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Unit Scale Factor" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Unit Lighting" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Model Detail" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "MIP Levels to Drop" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Zoom Lock" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Effect Detail" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Trilinear Filter" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Button MIP Levels to Drop" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Terrain MIP Levels to Drop" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Animation Smoothing" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Display Shadows" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Display Clouds" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Computer Player Difficulty Level" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Debug OOS Handling" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Take JPG Screenshots" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Take End Game Screenshots" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Show Auto Waypoints" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth" -Name "Last Open Post Game Stats Page" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Map Size" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Map Type" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Starting Resources" -Value 5 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Starting Epoch" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Ending Epoch" -Value 13 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Game Unit Limit" -Value 500 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Wonders For Victory" -Value 3 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Game Variant" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Difficulty Level" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Game Speed" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Record Game" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Reveal Map" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Allow Custom Civs" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Lock Teams" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Lock Speed" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\SSSI\Empire Earth\Game Options" -Name "Cheat Codes" -Value 1 -Force

New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" -Name "$InstallDirectory\Empire Earth\Empire Earth.exe" -Value "DWM8And16BitMitigation" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" -Name "$InstallDirectory\Empire Earth - The Art of Conquest\EE-AOC.exe" -Value "DWM8And16BitMitigation" -Force

New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Rasterizer Name" -Value "Direct3D" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Mouse Sensitivity" -Value 31 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Side Scroll Speed" -Value 200 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Grab Scroll Speed" -Value 17 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Game Bit Depth" -Value 32 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Network Adapter" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Game Window Height" -Value $Height -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Game Window Width" -Value $Width -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Screen ID" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Texture Bit Depth" -Value 32 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Wait for VSync" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Installed From Volume" -Value "$drive" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Installed From Directory" -Value "$folderpath" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Player Name" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "WonNet Password" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Host Game Name" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Sierra.com User ID" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Sierra.com Game Name" -Value "Unknown" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Last Quick Save" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Last Auto Save" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Music Volume" -Value 62 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Sound Volume" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Reverb Enabled" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "AutoSave In Milliseconds" -Value 600000 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Number Of AutoSaves" -Value 10 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Max PTs per Second" -Value 125 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Min PTs per Second" -Value 15 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "PT Rate Tuning Threshold (percent)" -Value 30 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Max CT Send Interval" -Value 2250 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "CT Send Interval Step Down" -Value 10 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "CT Send Interval Step Up" -Value 125 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Enable Animal Herds" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Ambient Sounds" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "UseAreaEffectOverlays" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "UseCandidateWindow" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Last Game File" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Last Scenario File" -Value "" -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Show Blood" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Right Hand Mouse Orientation" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Music Enabled" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Max Number Of Sounds (percent)" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "ZoomStyle" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Unit Scale Factor" -Value 100 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software\EE-AOC" -Name "Unit Lighting" -Value 1 -Force

Uninstall Script

Removes keys that the install script added

#$Path = "HKCU:\Software\SSSI\Empire Earth"
#
#Remove-Item -Path "$Path" -Force -Recurse
#
Remove-Item -Path "registry::\HKEY_CURRENT_USER\Software\SSSI" -recurse
Remove-Item -Path "registry::\HKEY_CURRENT_USER\Software\Mad Doc Software" -recurse