Lords of the Realm II

From LANCommander
Revision as of 03:29, 6 January 2024 by DoctorDalek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
Impressions Games
Publishers
Rebellion Developments
Release Date
Windows: October 31, 1996
Genres
Turn-based strategy (TBS)Real Time Strategy (RTS)StrategyRole-playing (RPG)
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play {InstallDir}\Lords2.exe True

Name Change Script

The name is stored as the first 16 bytes of the file lords2.inf in ASCII encoding.

# Converts a string to a UTF16-encoded byte array. This looks like ASCII characters separated by 0x00 in most cases.
$bytes = ConvertTo-StringBytes -Input $NewPlayerAlias -MaxLength 16 -MinLength 16

Edit-PatchBinary -FilePath "$InstallDirectory\lords2.inf" -Offset 0x00 -Data $bytes