Age of Empires II: The Age of Kings: Difference between revisions
DoctorDalek (talk | contribs) (Created page with "Category:Games {{InfoBox.Game |Cover = cover.jpg |Developers = {{InfoBox.Game.Developer|Ensemble Studios}} |Publishers = {{InfoBox.Game.Publisher|Konami}} {{InfoBox.Game.Publisher|Microsoft}} |Release Date = {{InfoBox.Game.ReleaseDate|Windows|September 30, 1999}} |Genres = {{InfoBox.Game.Genre|Real Time Strategy (RTS)}} {{InfoBox.Game.Genre|Strategy}} | PCGamingWiki = Age_of_Empires_II:_The_Age_of_Kings }} == Install Script == Names are encoded in a compressed `play...") |
DoctorDalek (talk | contribs) No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Games]] | [[Category:Games]] | ||
{{InfoBox | {{Game.InfoBox | ||
|Cover = cover.jpg | |Cover = cover.jpg | ||
|Developers = | |Developers = | ||
{{InfoBox | {{Game.InfoBox.Developer|Ensemble Studios}} | ||
|Publishers = | |Publishers = | ||
{{InfoBox | {{Game.InfoBox.Publisher|Konami}}{{Game.InfoBox.Publisher|Microsoft}} | ||
{{InfoBox | |||
|Release Date = | |Release Date = | ||
{{InfoBox | {{Game.InfoBox.ReleaseDate|Windows|September 30, 1999}} | ||
|Genres = | |Genres = | ||
{{InfoBox | {{Game.InfoBox.Genre|Real Time Strategy (RTS)}}{{Game.InfoBox.Genre|Strategy}} | ||
{{InfoBox | |PCGamingWiki = Age_of_Empires_II:_The_Age_of_Kings}} | ||
| PCGamingWiki = Age_of_Empires_II:_The_Age_of_Kings | |||
{{Game.ActionBox | |||
|Actions = | |||
{{Game.ActionBox.Row|Name = Play|Path = {InstallDir}\age2_x1\age2_x2.exe|Arguments = |WorkingDirectory = |Primary = True}} | |||
}} | }} | ||
Names are encoded in a compressed `player.nfz` file. This is potentially different for older versions of the game. They cannot be changed without running into corruption issues. Removing the file and replacing it with a copy that has no profiles forces the player to create a profile when going into multiplayer. | {{Game.Scripts.Install | ||
|Name = Install Script | |||
|Description = Names are encoded in a compressed `player.nfz` file. This is potentially different for older versions of the game. They cannot be changed without running into corruption issues. Removing the file and replacing it with a copy that has no profiles forces the player to create a profile when going into multiplayer. | |||
|RequiresAdmin = False | |||
|Contents = | |||
<syntaxhighlight lang="powershell" line> | <syntaxhighlight lang="powershell" line> | ||
$ | $Display = Get-PrimaryDisplay | ||
Remove-Item "$ | Remove-Item "$InstallDirectory\Games\Forgotten Empires\player.nfz" -ErrorAction Ignore | ||
Copy-Item -Path "$ | Copy-Item -Path "$InstallDirectory\blankplayer.nfz" -Destination "$InstallDirectory\Games\Forgotten Empires\player.nfz" | ||
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion" | |||
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Graphics Detail Level" -Value 3 -Force | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Music Volume" -Value 5000 -Force | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Sound Volume" -Value 0 -Force | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Advanced Buttons" -Value 2 -Force | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "One Click Garrisoning" -Value 2 -Force | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Screen Width" -Value $Display.Bounds.Width -Force | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Screen Height" -Value $Display.Bounds.Height -Force | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Rollover Text" -Value 1 -Force | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Mouse Style" -Value 2 -Force | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Game Speed" -Value 15 -Force | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "MP Game Speed" -Value 20 -Force | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Difficulty" -Value 4 -Force | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Scroll Speed" -Value 84 -Force | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Default Age Of Empires Multiplayer Service" -Value "Local (LAN) TCP/IP Connection" -Force | |||
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0\EULA" | |||
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0\EULA" -Name "FIRSTRUN" -Value 1 -Force | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | |||
{{Game.Scripts.Uninstall | |||
|Name = Uninstall Script | |||
|Description = | |||
|RequiresAdmin = False | |||
|Contents = | |||
<syntaxhighlight lang="powershell" line> | |||
Remove-Item -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion" -Recurse -Force | |||
</syntaxhighlight> | |||
}} |
Latest revision as of 00:37, 22 February 2024
Developers | |
---|---|
Ensemble Studios | |
Publishers | |
KonamiMicrosoft | |
Release Date | |
Windows: September 30, 1999 | |
Genres | |
Real Time Strategy (RTS)Strategy | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play | {InstallDir}\age2_x1\age2_x2.exe | True |
Install Script
Names are encoded in a compressed `player.nfz` file. This is potentially different for older versions of the game. They cannot be changed without running into corruption issues. Removing the file and replacing it with a copy that has no profiles forces the player to create a profile when going into multiplayer.
$Display = Get-PrimaryDisplay
Remove-Item "$InstallDirectory\Games\Forgotten Empires\player.nfz" -ErrorAction Ignore
Copy-Item -Path "$InstallDirectory\blankplayer.nfz" -Destination "$InstallDirectory\Games\Forgotten Empires\player.nfz"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion"
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Graphics Detail Level" -Value 3 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Music Volume" -Value 5000 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Sound Volume" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Advanced Buttons" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "One Click Garrisoning" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Screen Width" -Value $Display.Bounds.Width -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Screen Height" -Value $Display.Bounds.Height -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Rollover Text" -Value 1 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Mouse Style" -Value 2 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Game Speed" -Value 15 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "MP Game Speed" -Value 20 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Difficulty" -Value 4 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Scroll Speed" -Value 84 -Force
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0" -Name "Default Age Of Empires Multiplayer Service" -Value "Local (LAN) TCP/IP Connection" -Force
New-Item -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0\EULA"
New-ItemProperty -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion\1.0\EULA" -Name "FIRSTRUN" -Value 1 -Force
Uninstall Script
Remove-Item -Path "registry::\HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II: The Conquerors Expansion" -Recurse -Force