Marathon 2: Durandal
Developers | |
---|---|
Freeverse SoftwareBungie | |
Publishers | |
BungieMicrosoft Game Studios | |
Release Date | |
Windows: November 24, 1995 | |
Genres | |
Shooter | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play | {InstallDir}\Marathon 2.exe | True |
Install Script
New-Item -ItemType Directory -Force -Path "$($env:LOCALAPPDATA)\AlephOne"
Copy-Item -Path "$InstallDirectory\Preferences" -Destination "$($env:LOCALAPPDATA)\AlephOne\Marathon 2 Preferences"
Name Change Script
$Path = "$($env:LOCALAPPDATA)\AlephOne\Marathon 2 Preferences"
Write-ReplaceContentInFile -Pattern "player name=""[^""]+""" -Substitution "player name=`"$NewPlayerAlias`"" -FilePath $Path