Doom II: Hell on Earth: Difference between revisions
DoctorDalek (talk | contribs) (Created new page for Doom II: Hell on Earth) |
DoctorDalek (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
{{Game.InfoBox.Developer|id Software}} | {{Game.InfoBox.Developer|id Software}} | ||
|Publishers = | |Publishers = | ||
{{Game.InfoBox. | {{Game.InfoBox.Publisher|Virgin Interactive Entertainment (Europe) Ltd.}}{{Game.InfoBox.Publisher|Imagineer}}{{Game.InfoBox.Publisher|id Software}}{{Game.InfoBox.Publisher|Tapwave}}{{Game.InfoBox.Publisher|GT Interactive Software}}{{Game.InfoBox.Publisher|Bethesda Softworks}} | ||
|Release Date = | |Release Date = | ||
{{Game.InfoBox.ReleaseDate|Windows|September 30, 1994}} | {{Game.InfoBox.ReleaseDate|Windows|September 30, 1994}} | ||
Line 14: | Line 14: | ||
{{Game.ActionBox | {{Game.ActionBox | ||
|Actions = | |Actions = | ||
{{Game.ActionBox.Row|Name = Play | {{Game.ActionBox.Row|Name = Play Doom II: Hell on Earth|Path = {InstallDir}\zandronum.exe |Arguments = -iwad "{InstallDir}/doom2.wad" -config zandronum.ini -savedir saves|WorkingDirectory = |Primary = True}} | ||
}} | }} | ||
Line 25: | Line 24: | ||
|Contents = | |Contents = | ||
<syntaxhighlight lang="powershell" line> | <syntaxhighlight lang="powershell" line> | ||
# Updates Screen Resolution to match desktop resolution | |||
#Updates Screen Resolution to match desktop resolution | |||
####################################################################### | ####################################################################### | ||
$Config = "$InstallDirectory\zandronum.ini" | |||
$Config = | |||
$Display = Get-PrimaryDisplay | $Display = Get-PrimaryDisplay | ||
Line 53: | Line 36: | ||
Write-ReplaceContentInFile -Pattern '^vid_defwidth=(.+)' -Substitution "vid_defwidth=$($Display.Bounds.Width)" -FilePath "$Config" | Write-ReplaceContentInFile -Pattern '^vid_defwidth=(.+)' -Substitution "vid_defwidth=$($Display.Bounds.Width)" -FilePath "$Config" | ||
####################################################################### | ####################################################################### | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
Line 63: | Line 45: | ||
|Contents = | |Contents = | ||
<syntaxhighlight lang="powershell" line> | <syntaxhighlight lang="powershell" line> | ||
Write-ReplaceContentInFile -Pattern '^name=(.+)' -Substitution "name=$NewPlayerAlias" -FilePath "$InstallDirectory\zandronum.ini" | |||
Write-ReplaceContentInFile -Pattern '^name=(.+)' -Substitution "name=$NewPlayerAlias" -FilePath "$ | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} |
Latest revision as of 00:42, 22 February 2024
Developers | |
---|---|
id Software | |
Publishers | |
Virgin Interactive Entertainment (Europe) Ltd.Imagineerid SoftwareTapwaveGT Interactive SoftwareBethesda Softworks | |
Release Date | |
Windows: September 30, 1994 | |
Genres | |
PuzzleShooter | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play Doom II: Hell on Earth | {InstallDir}\zandronum.exe | -iwad "{InstallDir}/doom2.wad" -config zandronum.ini -savedir saves | True |
Install Script
# Updates Screen Resolution to match desktop resolution
#######################################################################
$Config = "$InstallDirectory\zandronum.ini"
$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"