KKND: Krush, Kill 'N' Destroy: Difference between revisions

From LANCommander
(Created new page for KKND: Krush, Kill 'N' Destroy)
 
No edit summary
 
Line 21: Line 21:
|Name = Install Script
|Name = Install Script
|Description =  
|Description =  
|RequiresAdmin = True
|RequiresAdmin = False
|Contents =
|Contents =
<syntaxhighlight lang="powershell" line>
<syntaxhighlight lang="powershell" line>
New-Item -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay"
$VirtualStore = "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE"
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "dwReserved1" -Value 50 -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "dwReserved2" -Value 0 -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "Guid" -Value "{685BC400-9D2C-11cf-A9CD-00AA006886E3}" -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "Path" -Value "dpwsockx.dll" -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "DescriptionA" -Value "IPX Connection For DirectPlay" -Force
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay" -Name "DescriptionW" -Value "IPX Connection For DirectPlay" -Force


New-Item -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}"
New-Item -Path "$VirtualStore\Wow6432Node\Microsoft\DirectPlay\Service Providers\IPX Connection For DirectPlay"
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}" -Name "Description" -Value "WinSock IPX Connection For DirectPlay" -Force
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 "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}\Players"
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 "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}\Sessions"
New-Item -Path "$VirtualStore\Wow6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}\Players"


New-Item -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Melbourne House"
New-Item -Path "$VirtualStore\Wow6432Node\Microsoft\DirectPlay\Services\{5146ab8cb6b1ce11920c00aa006c4972}\Sessions"


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


New-Item -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Melbourne House\Krush, Kill 'n' Destroy Xtreme\1.00.000"
New-Item -Path "$VirtualStore\WOW6432Node\Melbourne House\Krush, Kill 'n' Destroy Xtreme"
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Melbourne House\Krush, Kill 'n' Destroy Xtreme\1.00.000" -Name "GamePath" -Value "." -Force
 
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Melbourne House\Krush, Kill 'n' Destroy Xtreme\1.00.000" -Name "DriveLetter" -Value "." -Force
New-Item -Path "$VirtualStore\WOW6432Node\Melbourne House\Krush, Kill 'n' Destroy Xtreme\1.00.000"
New-ItemProperty -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Melbourne House\Krush, Kill 'n' Destroy Xtreme\1.00.000" -Name "MinimumInstall" -Value 0 -Force
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
</syntaxhighlight>
</syntaxhighlight>
}}
}}
Line 53: Line 55:
|Name = Uninstall Script
|Name = Uninstall Script
|Description =  
|Description =  
|RequiresAdmin = True
|RequiresAdmin = False
|Contents =
|Contents =
<syntaxhighlight lang="powershell" line>
<syntaxhighlight lang="powershell" line>
Remove-Item -Path "registry::\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Melbourne House\Krush, Kill 'n' Destroy Xtreme" -recurse - force
$VirtualStore = "registry::\HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE"
 
Remove-Item -Path "$VirtualStore\WOW6432Node\Melbourne House\Krush, Kill 'n' Destroy Xtreme" -recurse - force
</syntaxhighlight>
</syntaxhighlight>
}}
}}

Latest revision as of 00:45, 22 February 2024

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