Shattered Steel: Difference between revisions

From LANCommander
(Created new page for Shattered Steel)
 
No edit summary
Line 14: Line 14:
{{Game.ActionBox
{{Game.ActionBox
|Actions =  
|Actions =  
{{Game.ActionBox.Row|Name = Play|Path = {InstallDir}\dosbox\dosbox-x.exe|Arguments = -conf dosbox.conf|WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Play|Path = {InstallDir}\dosbox\dosbox-x.exe|Arguments = ..\GameData\START.BAT -c "ipxnet connect {IPXRelayHost} {IPXRelayPort}" -exit|WorkingDirectory = |Primary = True}}
}}
}}



Revision as of 06:18, 12 January 2024

Developers
BioWareLogicware
Publishers
Interplay EntertainmentLogicware
Release Date
Windows: September 30, 1996
Genres
SimulatorShooter
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play {InstallDir}\dosbox\dosbox-x.exe ..\GameData\START.BAT -c "ipxnet connect {IPXRelayHost} {IPXRelayPort}" -exit True

Install Script

$uri = New-Object System.Uri($ServerAddress)
$Server = $uri.Host

# Use regex to replace text within a file. Quotes are escaped by double quoting ("")
Write-ReplaceContentInFile -Pattern '^mount c: (.+)' -Substitution "mount c: ""$InstallDirectory""" -FilePath "$InstallDirectory\Dosbox\dosbox.conf"
Write-ReplaceContentInFile -Pattern '^ipxnet(.+)' -Substitution "ipxnet connect $($server) 213" -FilePath "$InstallDirectory\Dosbox\dosbox.conf"