Army Men: RTS

From LANCommander
Revision as of 21:52, 15 January 2024 by DoctorDalek (talk | contribs) (Created new page for Army Men: RTS)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
Pandemic Studios
Publishers
3DO
Release Date
Windows: March 28, 2002
Genres
Real Time Strategy (RTS)Strategy
View at PCGamingWiki

Actions

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

Install Script

$Display = Get-PrimaryDisplay

New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" -Name "$InstallDirectory\amrts.exe" -Value "~ DWM8And16BitMitigation HIGHDPIAWARE WIN98" -Force

Write-ReplaceContentInFile -Pattern '^Resolution.+' -Substitution "Resolution = h:$($Display.Bounds.Width), v:$($Display.Bounds.Height)" -FilePath "$InstallDirectory\dgVoodoo.conf"
Write-ReplaceContentInFile -Pattern '^dgVoodooWatermark.+' -Substitution "dgVoodooWatermark = false" -FilePath "$InstallDirectory\dgVoodoo.conf"

Name Change Script

$bytes = ConvertTo-StringBytes -Input $NewPlayerAlias -MaxLength 16 -MinLength 16

Edit-PatchBinary -FilePath "$InstallDirectory\user\data.cfg" -Offset 0x1C28 -Data $bytes