Shattered Steel: Difference between revisions

From LANCommander
(Created new page for Shattered Steel)
 
No edit summary
 
(One intermediate revision by the same user not shown)
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}}
}}
 
 
{{Game.Scripts.Install
|Name = Install Script
|Description =
|RequiresAdmin = False
|Contents =
<syntaxhighlight lang="powershell" line>
$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"
</syntaxhighlight>
}}
}}

Latest revision as of 00:49, 22 February 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