Age of Empires II: The Age of Kings
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"