Blockland: Difference between revisions

From LANCommander
(Created new page for Blockland)
 
No edit summary
 
Line 5: Line 5:


|Publishers =
|Publishers =
{{Game.InfoBox.Developer|Blockland LLC}}{{Game.InfoBox.Developer|Step 1 Games LLC}}
{{Game.InfoBox.Publisher|Blockland LLC}}{{Game.InfoBox.Publisher|Step 1 Games LLC}}
|Release Date =
|Release Date =
{{Game.InfoBox.ReleaseDate|Windows|February 24, 2007}}
{{Game.InfoBox.ReleaseDate|Windows|February 24, 2007}}

Latest revision as of 00:38, 22 February 2024

Publishers
Blockland LLCStep 1 Games LLC
Release Date
Windows: February 24, 2007
Genres
SimulatorAdventurePuzzleIndieRacingShooter
View at PCGamingWiki

Actions

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

Install Script

$Display = Get-PrimaryDisplay

Write-ReplaceContentInFile -Pattern '^\$pref::Video::fullScreen = "(.+)";' -Substitution "`$pref::Video::fullScreen = ""1"";" -FilePath "$InstallDirectory\config\client\prefs.cs"
Write-ReplaceContentInFile -Pattern '^\$pref::Video::resolution = "(.+)";' -Substitution "`$pref::Video::resolution = ""$($Display.Bounds.Width) $($Display.Bounds.Height) 32"";" -FilePath "$InstallDirectory\config\client\prefs.cs"

Name Change Script

Write-ReplaceContentInFile -Pattern '^\$pref::Player::LANName = "(.+)";' -Substitution "`$pref::Player::LANName = ""$NewPlayerAlias"";" -FilePath "$InstallDirectory\config\client\prefs.cs"
Write-ReplaceContentInFile -Pattern '^\$pref::Player::LANName = "(.+)";' -Substitution "`$pref::Player::LANName = ""$NewPlayerAlias"";" -FilePath "$InstallDirectory\base\client.cs"

Get-ChildItem "$InstallDirectory\config\client\AvatarFavorites" -Filter *.cs | 
Foreach-Object {
    Write-ReplaceContentInFile -Pattern '^\$pref::Player::LANName = "(.+)";' -Substitution "`$pref::Player::LANName = ""$NewPlayerAlias"";" -FilePath $_.FullName
}