Shattered Steel: Difference between revisions

From LANCommander
No edit summary
No edit summary
 
Line 15: Line 15:
|Actions =  
|Actions =  
{{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.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