Pax Imperia: Eminent Domain

From LANCommander
Revision as of 03:29, 6 January 2024 by DoctorDalek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
Heliotrope Studios
Publishers
Heliotrope Studios
Release Date
Windows: September 1, 1997
Genres
Real Time Strategy (RTS)Strategy
View at PCGamingWiki

Actions

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

Name Change Script

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

Edit-PatchBinary -FilePath "$InstallDirectory\Data\PrefData" -Offset 0x16b -Data $hostNameBytes
Edit-PatchBinary -FilePath "$InstallDirectory\Data\PrefData" -Offset 0x19e -Data $nameBytes