Brutal Doom: Difference between revisions

From LANCommander
(Created new page for Brutal Doom)
 
No edit summary
 
Line 14: Line 14:
{{Game.ActionBox
{{Game.ActionBox
|Actions =  
|Actions =  
{{Game.ActionBox.Row|Name = TNT: Evilution|Path = {InstallDir}/zandronum.exe|Arguments = -file brutalv21.pk3 -file TNT.WAD|WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = TNT: Evilution|Path = {InstallDir}/zandronum.exe|Arguments = -file brutalv21.pk3 -iwad TNT.WAD -config zandronum.ini -savedir saves|WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Ultimate Doom|Path = {InstallDir}/zandronum.exe|Arguments = -file brutalv21.pk3 -file DOOM.WAD|WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Ultimate Doom|Path = {InstallDir}/zandronum.exe|Arguments = -file brutalv21.pk3 -iwad DOOM.WAD -config zandronum.ini -savedir saves|WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Doom II|Path = {InstallDir}/zandronum.exe|Arguments = -file brutalv21.pk3 -file DOOM2.WAD|WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Doom II|Path = {InstallDir}/zandronum.exe|Arguments = -file brutalv21.pk3 -iwad DOOM2.WAD -config zandronum.ini -savedir saves|WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Maps of Chaos|Path = {InstallDir}/zandronum.exe|Arguments = -file brutalv21.pk3 -file DOOMII.WAD -file mapsofchaos.wad|WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Maps of Chaos|Path = {InstallDir}/zandronum.exe|Arguments = -file brutalv21.pk3 mapsofchaos.wad -iwad DOOM2.WAD -config zandronum.ini -savedir saves|WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = The Plutonia Experiment|Path = {InstallDir}/zandronum.exe|Arguments = -file brutalv21.pk3 -file PLUTONIA.WAD|WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = The Plutonia Experiment|Path = {InstallDir}/zandronum.exe|Arguments = -file brutalv21.pk3 -iwad PLUTONIA.WAD -config zandronum.ini -savedir saves|WorkingDirectory = |Primary = True}}
}}
 
 
{{Game.Scripts.Install
|Name = Install Script
|Description =
|RequiresAdmin = False
|Contents =
<syntaxhighlight lang="powershell" line>
$Config = "$InstallDirectory\zandronum.ini"
 
# Updates Screen Resolution to match desktop resolution
#######################################################################
$Display = Get-PrimaryDisplay
 
# Use regex to replace text within a file. Quotes are escaped by double quoting ("")
Write-ReplaceContentInFile -Pattern '^con_virtualheight=(.+)' -Substitution "con_virtualheight=$($Display.Bounds.Height)" -FilePath "$Config"
Write-ReplaceContentInFile -Pattern '^con_virtualwidth=(.+)' -Substitution "con_virtualwidth=$($Display.Bounds.Width)" -FilePath "$Config"
Write-ReplaceContentInFile -Pattern '^vid_defheight=(.+)' -Substitution "vid_defheight=$($Display.Bounds.Height)" -FilePath "$Config"
Write-ReplaceContentInFile -Pattern '^vid_defwidth=(.+)' -Substitution "vid_defwidth=$($Display.Bounds.Width)" -FilePath "$Config"
#######################################################################
</syntaxhighlight>
}}
           
{{Game.Scripts.NameChange
|Name = Name Change Script
|Description =
|RequiresAdmin = False
|Contents =
<syntaxhighlight lang="powershell" line>
Write-ReplaceContentInFile -Pattern '^name=(.+)' -Substitution "name=$NewPlayerAlias" -FilePath "$InstallDirectory\zandronum.ini"
</syntaxhighlight>
}}
}}

Latest revision as of 00:38, 22 February 2024

Developers
Marcos Abenante
Release Date
Windows: March 6, 2012
Genres
Shooter
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
TNT: Evilution {InstallDir}/zandronum.exe -file brutalv21.pk3 -iwad TNT.WAD -config zandronum.ini -savedir saves True
Ultimate Doom {InstallDir}/zandronum.exe -file brutalv21.pk3 -iwad DOOM.WAD -config zandronum.ini -savedir saves True
Doom II {InstallDir}/zandronum.exe -file brutalv21.pk3 -iwad DOOM2.WAD -config zandronum.ini -savedir saves True
Maps of Chaos {InstallDir}/zandronum.exe -file brutalv21.pk3 mapsofchaos.wad -iwad DOOM2.WAD -config zandronum.ini -savedir saves True
The Plutonia Experiment {InstallDir}/zandronum.exe -file brutalv21.pk3 -iwad PLUTONIA.WAD -config zandronum.ini -savedir saves True

Install Script

$Config = "$InstallDirectory\zandronum.ini"

# Updates Screen Resolution to match desktop resolution
#######################################################################
$Display = Get-PrimaryDisplay

# Use regex to replace text within a file. Quotes are escaped by double quoting ("")
Write-ReplaceContentInFile -Pattern '^con_virtualheight=(.+)' -Substitution "con_virtualheight=$($Display.Bounds.Height)" -FilePath "$Config"
Write-ReplaceContentInFile -Pattern '^con_virtualwidth=(.+)' -Substitution "con_virtualwidth=$($Display.Bounds.Width)" -FilePath "$Config"
Write-ReplaceContentInFile -Pattern '^vid_defheight=(.+)' -Substitution "vid_defheight=$($Display.Bounds.Height)" -FilePath "$Config"
Write-ReplaceContentInFile -Pattern '^vid_defwidth=(.+)' -Substitution "vid_defwidth=$($Display.Bounds.Width)" -FilePath "$Config"
#######################################################################

Name Change Script

Write-ReplaceContentInFile -Pattern '^name=(.+)' -Substitution "name=$NewPlayerAlias" -FilePath "$InstallDirectory\zandronum.ini"