Age of Empires II: The Age of Kings

From LANCommander
Revision as of 00:48, 27 July 2023 by DoctorDalek (talk | contribs) (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)

Template:InfoBox.Game

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"