Krush Kill 'N Destroy 2: Krossfire

From LANCommander
Revision as of 00:45, 22 February 2024 by DoctorDalek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
Beam Software
Publishers
InfogramesGT Interactive SoftwareMelbourne House
Release Date
Windows: October 31, 1998
Genres
Real Time Strategy (RTS)Strategy
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play {InstallDir}\KKND2_HD.exe -width {DisplayWidth} -height {DisplayHeight} True

Install Script

$VirtualStore = "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE"

New-Item -Path "$VirtualStore\WOW6432Node\Melbourne House\KKND Krossfire\1.00.000"
New-ItemProperty -Path "$VirtualStore\WOW6432Node\Melbourne House\KKND Krossfire\1.00.000" -Name "InstallPath" -Value "C:\Games\KKND2 Krossfire" -Force
New-ItemProperty -Path "$VirtualStore\WOW6432Node\Melbourne House\KKND Krossfire\1.00.000" -Name "CDPath" -Value ".\" -Force

Uninstall Script

$VirtualStore = "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE"
Remove-Item -Path "$VirtualStore\WOW6432Node\Melbourne House\KKND Krossfire" -recurse - force

Name Change Script

Write-ReplaceContentInFile -Pattern '^USERNAME        			(.+)' -Substitution "USERNAME        			$NewPlayerAlias" -FilePath "$InstallDirectory\Options.cfg"