Medal of Honor: Allied Assault: Difference between revisions
DoctorDalek (talk | contribs) (Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Developers = {{Game.InfoBox.Developer|2015}} |Publishers = {{Game.InfoBox.Publisher|icculus.org}} {{Game.InfoBox.Publisher|Electronic Arts}} {{Game.InfoBox.Publisher|Aspyr Media}} |Release Date = {{Game.InfoBox.ReleaseDate|Windows|January 22, 2002}} |Genres = {{Game.InfoBox.Genre|Shooter}} | PCGamingWiki = Medal_of_Honor:_Allied_Assault }} {{Game.ActionBox |Actions = {{Game.ActionBox.Row|Name = Play Medal of Honor:...") |
DoctorDalek (talk | contribs) No edit summary |
||
Line 19: | Line 19: | ||
{{Game.ActionBox.Row|Name = Play Medal of Honor: Allied Assault|Path = MOHAA.exe|Arguments = |WorkingDirectory = |Primary = True}} | {{Game.ActionBox.Row|Name = Play Medal of Honor: Allied Assault|Path = MOHAA.exe|Arguments = |WorkingDirectory = |Primary = True}} | ||
{{Game.ActionBox.Row|Name = Play Medal of Honor: Allied Assault: Breakthrough|Path = moh_breakthrough.exe|Arguments = |WorkingDirectory = |Primary = True}} | {{Game.ActionBox.Row|Name = Play Medal of Honor: Allied Assault: Breakthrough|Path = moh_breakthrough.exe|Arguments = |WorkingDirectory = |Primary = True}} | ||
{{Game.ActionBox.Row|Name = Play Medal of Honor: Allied Assault : Spearhead|Path = moh_spearhead.exe|Arguments = |WorkingDirectory = |Primary = True}} | {{Game.ActionBox.Row|Name = Play Medal of Honor: Allied Assault: Spearhead|Path = moh_spearhead.exe|Arguments = |WorkingDirectory = |Primary = True}} | ||
}} | }} | ||
Revision as of 01:16, 1 August 2023
Developers | |
---|---|
2015 | |
Publishers | |
icculus.org Aspyr Media | |
Release Date | |
Windows: January 22, 2002 | |
Genres | |
Shooter | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play Medal of Honor: Allied Assault | MOHAA.exe | True | ||
Play Medal of Honor: Allied Assault: Breakthrough | moh_breakthrough.exe | True | ||
Play Medal of Honor: Allied Assault: Spearhead | moh_spearhead.exe | True |
Name Change Script
$NewName = $args[0]
$InstallDir = $PSScriptRoot
function Write-ReplaceContentInFile([string]$Regex, [string]$Replacement, [string]$FilePath)
{
$content = (Get-Content $FilePath) -replace $Regex, $Replacement
[IO.File]::WriteAllLines($FilePath, $content)
}
Write-ReplaceContentInFile -Regex 'seta name (.+)' -Replacement "seta name ""$NewName""" -FilePath "$InstallDir\main\configs\unnamedsoldier.cfg"
Write-ReplaceContentInFile -Regex 'seta name (.+)' -Replacement "seta name ""$NewName""" -FilePath "$InstallDir\mainta\configs\unnamedsoldier.cfg"
Write-ReplaceContentInFile -Regex 'seta name (.+)' -Replacement "seta name ""$NewName""" -FilePath "$InstallDir\maintt\configs\unnamedsoldier.cfg"