Krush Kill 'N Destroy 2: Krossfire: Difference between revisions
DoctorDalek (talk | contribs) (Created new page for Krush Kill 'N Destroy 2: Krossfire) |
DoctorDalek (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
{{Game.ActionBox | {{Game.ActionBox | ||
|Actions = | |Actions = | ||
{{Game.ActionBox.Row|Name = Play|Path = {InstallDir}\ | {{Game.ActionBox.Row|Name = Play|Path = {InstallDir}\KKND2_HD.exe|Arguments = -width {DisplayWidth} -height {DisplayHeight}|WorkingDirectory = |Primary = True}} | ||
}} | }} | ||
Line 21: | Line 21: | ||
|Name = Install Script | |Name = Install Script | ||
|Description = | |Description = | ||
|RequiresAdmin = | |RequiresAdmin = False | ||
|Contents = | |Contents = | ||
<syntaxhighlight lang="powershell" line> | <syntaxhighlight lang="powershell" line> | ||
$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 | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
Line 42: | Line 35: | ||
|Name = Uninstall Script | |Name = Uninstall Script | ||
|Description = | |Description = | ||
|RequiresAdmin = | |RequiresAdmin = False | ||
|Contents = | |Contents = | ||
<syntaxhighlight lang="powershell" line> | <syntaxhighlight lang="powershell" line> | ||
$VirtualStore = "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE" | |||
Remove-Item -Path "$VirtualStore\WOW6432Node\Melbourne House\KKND Krossfire" -recurse - force | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} |
Latest revision as of 00:45, 22 February 2024
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"