SimCity 2000

From LANCommander
Revision as of 01:28, 1 August 2023 by DoctorDalek (talk | contribs) (Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Developers = {{Game.InfoBox.Developer|Maxis}} |Publishers = {{Game.InfoBox.Publisher|Zoo Digital}} {{Game.InfoBox.Publisher|DSI Games}} {{Game.InfoBox.Publisher|Maxis}} {{Game.InfoBox.Publisher|Electronic Arts}} |Release Date = {{Game.InfoBox.ReleaseDate|Windows|December 31, 1993}} |Genres = {{Game.InfoBox.Genre|Simulator}} {{Game.InfoBox.Genre|Strategy}} | PCGamingWiki = SimCity_2000 }} {{Game.ActionBox |Actions =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Developers
Maxis
Publishers
Zoo Digital

DSI Games Maxis

Electronic Arts
Release Date
Windows: December 31, 1993
Genres
Simulator

Strategy

View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Sim City 2000 SIMCITY.EXE {InstallDir}/WIN95/SC2K True
Sim City 2000 Urban Renewal Kit WINSCURK.EXE {InstallDir}/WIN95/SC2K False

Save Paths

Type Path
File {InstallDir}/WIN95/SC2K/BITMAPS/
File {InstallDir}/WIN95/SC2K/CITIES/

Install

$Company = " "
$InstallDir = $PSScriptRoot

New-Item -Path "HKCU:\Software\Maxis\SimCity 2000" -Force

New-Item -Path "HKCU:\Software\Maxis\SimCity 2000\Localize" -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Localize' -Name 'Language' -Value 'USA' -PropertyType String -Force

New-Item -Path "HKCU:\Software\Maxis\SimCity 2000\Options" -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Options' -Name 'Speed' -Value 1 -PropertyType DWord -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Options' -Name 'Sound' -Value 1 -PropertyType DWord -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Options' -Name 'Music' -Value 1 -PropertyType DWord -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Options' -Name 'AutoGoto' -Value 1 -PropertyType DWord -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Options' -Name 'AutoBudget' -Value 0 -PropertyType DWord -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Options' -Name 'Disasters' -Value 1 -PropertyType DWord -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Options' -Name 'AutoSave' -Value 0 -PropertyType DWord -Force

New-Item -Path "HKCU:\Software\Maxis\SimCity 2000\Paths" -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Paths' -Name 'Home' -Value "$InstallDir\WIN95\SC2K" -PropertyType String -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Paths' -Name 'Graphics' -Value "$InstallDir\WIN95\SC2K\Bitmaps" -PropertyType String -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Paths' -Name 'Music' -Value "$InstallDir\WIN95\SC2K\Sounds" -PropertyType String -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Paths' -Name 'Data' -Value "$InstallDir\WIN95\SC2K\Data" -PropertyType String -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Paths' -Name 'Goodies' -Value "$InstallDir\WIN95\SC2K\Goodies" -PropertyType String -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Paths' -Name 'Cities' -Value "$InstallDir\WIN95\SC2K\Cities" -PropertyType String -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Paths' -Name 'SaveGame' -Value "$InstallDir\WIN95\SC2K\Cities" -PropertyType String -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Paths' -Name 'TileSets' -Value "$InstallDir\WIN95\SC2K\ScurkArt" -PropertyType String -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Paths' -Name 'Scenarios' -Value "$InstallDir\WIN95\SC2K\Scenario" -PropertyType String -Force

New-Item -Path "HKCU:\Software\Maxis\SimCity 2000\Registration" -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Registration' -Name "Mayor Name" -Value "" -PropertyType String -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Registration' -Name "Company Name" -Value "$Company" -PropertyType String -Force

New-Item -Path "HKCU:\Software\Maxis\SimCity 2000\SCURK" -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\SCURK' -Name 'CycleColors' -Value 1 -PropertyType DWord -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\SCURK' -Name 'GridHeight' -Value 2 -PropertyType DWord -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\SCURK' -Name 'GridWidth' -Value 2 -PropertyType DWord -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\SCURK' -Name 'ShowClipRegion' -Value 0 -PropertyType DWord -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\SCURK' -Name 'ShowDrawGrid' -Value 0 -PropertyType DWord -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\SCURK' -Name 'SnapToGrid' -Value 0 -PropertyType DWord -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\SCURK' -Name 'Sound' -Value 1 -PropertyType DWord -Force

New-Item -Path "HKCU:\Software\Maxis\Maxis\SimCity 2000\Version" -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\Maxis\SimCity 2000\Version' -Name 'SimCity 2000' -Value 256 -PropertyType DWord -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\Maxis\SimCity 2000\Version' -Name 'SCURK' -Value 256 -PropertyType DWord -Force

New-Item -Path "HKCU:\Software\Maxis\SimCity 2000\Windows" -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Windows' -Name 'Display' -Value '8 1' -PropertyType String -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Windows' -Name 'Color Check' -Value 0 -PropertyType DWord -Force
New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Windows' -Name 'Last Color Depth' -Value 32 -PropertyType DWord -Force

Uninstall

Remove-Item -Path "HKCU:\Software\Maxis\SimCity 2000" -Force -Recurse
Remove-Item -Path "HKCU:\Software\Maxis\Maxis\SimCity 2000" -Force -Recurse

Name Change Script

$InstallDir = $PSScriptRoot
$NewName = $args[0]

New-ItemProperty -Path 'HKCU:\Software\Maxis\SimCity 2000\Registration' -Name "Mayor Name" -Value "$NewName" -PropertyType String -Force