KKND: Krush, Kill 'N' Destroy

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
Electronic Arts
Release Date
Windows: March 25, 1997
Genres
Real Time Strategy (RTS)Strategy
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Play {InstallDir}\KKNDgame.exe True

Install Script

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

New-Item -Path "$VirtualStore\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay"
New-ItemProperty -Path "$VirtualStore\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "dwReserved1" -Value 50 -Force
New-ItemProperty -Path "$VirtualStore\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "dwReserved2" -Value 0 -Force
New-ItemProperty -Path "$VirtualStore\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "Guid" -Value "{685BC400-9D2C-11cf-A9CD-00AA006886E3}" -Force
New-ItemProperty -Path "$VirtualStore\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "Path" -Value "dpwsockx.dll" -Force
New-ItemProperty -Path "$VirtualStore\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "DescriptionA" -Value "IPX Connection For DirectPlay" -Force
New-ItemProperty -Path "$VirtualStore\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "DescriptionW" -Value "IPX Connection For DirectPlay" -Force

New-Item -Path "$VirtualStore\Wow6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}"
New-ItemProperty -Path "$VirtualStore\Wow6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}" -Name "Description" -Value "WinSock IPX Connection For DirectPlay" -Force

New-Item -Path "$VirtualStore\Wow6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}\Players"

New-Item -Path "$VirtualStore\Wow6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}\Sessions"

New-Item -Path "$VirtualStore\WOW6432Node\Melbourne House"

New-Item -Path "$VirtualStore\WOW6432Node\Melbourne House\Krush, Kill 'n' Destroy Xtreme"

New-Item -Path "$VirtualStore\WOW6432Node\Melbourne House\Krush, Kill 'n' Destroy Xtreme\1.00.000"
New-ItemProperty -Path "$VirtualStore\WOW6432Node\Melbourne House\Krush, Kill 'n' Destroy Xtreme\1.00.000" -Name "GamePath" -Value "." -Force
New-ItemProperty -Path "$VirtualStore\WOW6432Node\Melbourne House\Krush, Kill 'n' Destroy Xtreme\1.00.000" -Name "DriveLetter" -Value "." -Force
New-ItemProperty -Path "$VirtualStore\WOW6432Node\Melbourne House\Krush, Kill 'n' Destroy Xtreme\1.00.000" -Name "MinimumInstall" -Value 0 -Force

Uninstall Script

$VirtualStore = "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE"
Remove-Item -Path "$VirtualStore\WOW6432Node\Melbourne House\Krush, Kill 'n' Destroy Xtreme" -recurse - force