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

From LANCommander
(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...")
 
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)

Revision as of 00:48, 27 July 2023

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"