Age of Empires II: The Age of Kings: Difference between revisions

From LANCommander
m (DoctorDalek moved page Games/Age of Empires II: The Age of Kings to Age of Empires II: The Age of Kings without leaving a redirect)
No edit summary
Line 1: Line 1:
[[Category:Games]]
[[Category:Games]]
{{InfoBox.Game
{{Game.InfoBox
|Cover = cover.jpg
|Cover = cover.jpg
|Developers =
|Developers =
{{InfoBox.Game.Developer|Ensemble Studios}}
{{Game.InfoBox.Developer|Ensemble Studios}}
|Publishers =
|Publishers =
{{InfoBox.Game.Publisher|Konami}}
{{Game.InfoBox.Publisher|Konami}}
{{InfoBox.Game.Publisher|Microsoft}}
{{Game.InfoBox.Publisher|Microsoft}}
|Release Date =
|Release Date =
{{InfoBox.Game.ReleaseDate|Windows|September 30, 1999}}
{{Game.InfoBox.ReleaseDate|Windows|September 30, 1999}}
|Genres =
|Genres =
{{InfoBox.Game.Genre|Real Time Strategy (RTS)}}
{{Game.InfoBox.Genre|Real Time Strategy (RTS)}}
{{InfoBox.Game.Genre|Strategy}}
{{Game.InfoBox.Genre|Strategy}}
| PCGamingWiki = Age_of_Empires_II:_The_Age_of_Kings
| PCGamingWiki = Age_of_Empires_II:_The_Age_of_Kings
}}
}}


== Install Script ==
{{Game.ActionBox
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.
|Actions =
<syntaxhighlight lang="powershell" line>
{{Game.ActionBox.Row|Name = Play|Path = AoFE_Launcher.exe|Arguments = |WorkingDirectory = |Primary = True}}
}}
 
{{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>
$InstallDir = $PSScriptRoot
$InstallDir = $PSScriptRoot


Line 23: Line 30:
Copy-Item -Path "$InstallDir\blankprofiles.nfz" -Destination "$InstallDir\Games\Forgotten Empires\player.nfz"
Copy-Item -Path "$InstallDir\blankprofiles.nfz" -Destination "$InstallDir\Games\Forgotten Empires\player.nfz"
</syntaxhighlight>
</syntaxhighlight>
}}

Revision as of 06:41, 31 July 2023

Developers
Ensemble Studios
Publishers
Konami Microsoft
Release Date
Windows: September 30, 1999
Genres
Real Time Strategy (RTS)

Strategy

View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play AoFE_Launcher.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.

$InstallDir = $PSScriptRoot

Remove-Item "$InstallDir\Games\Forgotten Empires\player.nfz" -ErrorAction Ignore
Copy-Item -Path "$InstallDir\blankprofiles.nfz" -Destination "$InstallDir\Games\Forgotten Empires\player.nfz"