Bitfighter

From LANCommander
Revision as of 07:26, 10 June 2024 by MrCaffeen (talk | contribs) (Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Developers = {{Game.InfoBox.Developer|eykamp}} |Publishers = |Release Date = {{Game.InfoBox.ReleaseDate|AllPlatforms|December 31, 2014}} |Genres = {{Game.InfoBox.Genre|Fighting}} }} {{Game.ActionBox |Actions = {{Game.ActionBox.Row|Name = Play|Path = bitfighter.exe|Arguments = |WorkingDirectory = {InstallDir}|Primary = True}} }} {{Game.Scripts.NameChange |Name = Name Change Script |Description = |RequiresAdmin =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
eykamp
Release Date
AllPlatforms: December 31, 2014
Genres
Fighting
View at PCGamingWiki

Actions

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

Name Change Script

$exist = Test-Path "$InstallDirectory\bitfighter.ini"
if ($exist) { 
    Write-ReplaceContentInFile -Pattern 'LastName(.+)' -Substitution "LastName=$NewPlayerAlias" -FilePath "$InstallDirectory\bitfighter.ini"
    Write-ReplaceContentInFile -Pattern 'DefaultName(.+)' -Substitution "DefaultName=$NewPlayerAlias" -FilePath "$InstallDirectory\bitfighter.ini"
}


Template:Game.Scripts.BeforeStart