Dusk

From LANCommander
Revision as of 21:53, 15 January 2024 by DoctorDalek (talk | contribs) (Created new page for Dusk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
David Szymanski
Publishers
New Blood Interactive
Release Date
Windows: December 10, 2018
Genres
IndieShooter
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play Singleplayer {InstallDir}\Dusk.exe True
Play Multiplayer {InstallDir}\Duskworld.exe True

Install Script

$Display = Get-PrimaryDisplay

Write-ReplaceContentInFile -Pattern '^xres = (.+)' -Substitution "xres = $($Display.Bounds.Width)" -FilePath "$InstallDirectory\config\dusk.ini"
Write-ReplaceContentInFile -Pattern '^yres = (.+)' -Substitution "yres = $($Display.Bounds.Width)" -FilePath "$InstallDirectory\config\dusk.ini"
Write-ReplaceContentInFile -Pattern '^xres = (.+)' -Substitution "xres = $($Display.Bounds.Width)" -FilePath "$InstallDirectory\config\duskworld.ini"
Write-ReplaceContentInFile -Pattern '^yres = (.+)' -Substitution "yres = $($Display.Bounds.Width)" -FilePath "$InstallDirectory\config\duskworld.ini"

Name Change Script

Write-ReplaceContentInFile -Pattern '^multiplayername = (.+)' -Substitution "multiplayername = $NewPlayerAlias" -FilePath "$InstallDirectory\config\duskworld.ini"