Blood: Difference between revisions

From LANCommander
(Created new page for Blood)
 
No edit summary
 
Line 5: Line 5:
{{Game.InfoBox.Developer|Monolith Productions}}
{{Game.InfoBox.Developer|Monolith Productions}}
|Publishers =
|Publishers =
{{Game.InfoBox.Developer|GT Interactive Software}}
{{Game.InfoBox.Publisher|GT Interactive Software}}
|Release Date =
|Release Date =
{{Game.InfoBox.ReleaseDate|Windows|May 31, 1997}}
{{Game.InfoBox.ReleaseDate|Windows|May 31, 1997}}
Line 14: Line 14:
{{Game.ActionBox
{{Game.ActionBox
|Actions =  
|Actions =  
{{Game.ActionBox.Row|Name = Play|Path = {InstallDir}\BloodGDX\BloodGDX.bat|Arguments = |WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Play Blood|Path = {InstallDir}\BloodGDX\BloodGDX.bat|Arguments = |WorkingDirectory = |Primary = True}}
}}
}}



Latest revision as of 00:38, 22 February 2024

Developers
Monolith Productions
Publishers
GT Interactive Software
Release Date
Windows: May 31, 1997
Genres
Shooter
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play Blood {InstallDir}\BloodGDX\BloodGDX.bat True

Install Script

# Define the path to the bloodgdx.ini file
$configPath = "$InstallDirectory\BloodGDX\bloodgdx.ini"

# Bounds are accessible by $Display.Bounds.Width and $Display.Bounds.Height
$Display = Get-PrimaryDisplay

# Use regex to replace text within a file. Quotes are escaped by double quoting ("")
Write-ReplaceContentInFile -Pattern '^Path = (.+)' -Substitution "Path = $InstallDirectory\BloodGDX\" -FilePath "$InstallDirectory\$configPath"
Write-ReplaceContentInFile -Pattern '^SoundBank = (.+)' -Substitution "Path = $InstallDirectory\SC-55.SoundFont.v1.2b.sf2" -FilePath "$InstallDirectory\$configPath"
Write-ReplaceContentInFile -Pattern '^ScreenWidth = (.+)' -Substitution "ScreenWidth = $($Display.Bounds.Width)" -FilePath "$InstallDirectory\$configPath"
Write-ReplaceContentInFile -Pattern '^ScreenHeight = (.+)' -Substitution "ScreenHeight = $($Display.Bounds.Height)" -FilePath "$InstallDirectory\$configPath"
Write-ReplaceContentInFile -Pattern '^Fullscreen = (.+)' -Substitution "Fullscreen = 1" -FilePath "$InstallDirectory\$configPath"

Name Change Script

# Define the path to the bloodgdx.ini file
$configPath = "$InstallDirectory\BloodGDX\bloodgdx.ini"

# Use regex to replace text within a file. Quotes are escaped by double quoting ("")
Write-ReplaceContentInFile -Pattern '^Player_name =(.+)' -Substitution "Player_name = $NewPlayerAlias" -FilePath "$configPath"