Marathon Infinity

From LANCommander
Developers
Bungie
Publishers
Bungie
Release Date
Windows: October 15, 1996
Genres
Shooter
View at PCGamingWiki

Actions

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

Install Script

$AppData = $env:LOCALAPPDATA

New-Item -ItemType Directory -Force -Path "$AppData\AlephOne"
Copy-Item -Path "$InstallDirectory\Preferences" -Destination "$AppData\AlephOne\Marathon Infinity Preferences"

Name Change Script

$AppData = $env:LOCALAPPDATA

Write-ReplaceContentInFile -Pattern "player name=""[^""]+""" -Substitution "player name=`"$NewPlayerAlias`"" -FilePath "$AppData\AlephOne\Marathon Infinity Preferences"