Age of Empires II: The Age of Kings

From LANCommander
Revision as of 06:41, 31 July 2023 by DoctorDalek (talk | contribs)
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"