Myth II: Soulblighter
Developers | |
---|---|
Bungie | |
Publishers | |
Bungie | |
Release Date | |
Windows: November 30, 1998 | |
Genres | |
Real Time Strategy (RTS)Strategy | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play | {InstallDir}\Myth II.exe | True |
Install Script
The "preferences\screen preferences" file is a binary file that stores the selected resolution as a 16-bit integer. This script will patch the location of those values.
$Display = Get-PrimaryDisplay
$Width = [System.BitConverter]::GetBytes($Display.Bounds.Width)
$Height = [System.BitConverter]::GetBytes($Display.Bounds.Height)
Edit-PatchBinary -FilePath "$InstallDirectory\preferences\screen preferences" -Offset 0x4c -Data $Width
Edit-PatchBinary -FilePath "$InstallDirectory\preferences\screen preferences" -Offset 0x4e -Data $Width
Name Change Script
The name is stored in binary files in the "preferences" directory. This script will update "GateofStormsNet" to automatically populate the online service login name and the "networking" file to update the LAN multiplayer name.
$bytes = ConvertTo-StringBytes -Input $NewPlayerAlias -MinLength 17 -MaxLength 17
Edit-PatchBinary -FilePath "$InstallDirectory\preferences\GateofStormsNet" -Offset 0x140 -Data $bytes
Edit-PatchBinary -FilePath "$InstallDirectory\preferences\networking" -Offset 0x334 -Data $bytes
Edit-PatchBinary -FilePath "$InstallDirectory\preferences\networking" -Offset 0x354 -Data $bytes