Star on GitHubStar1.1k stars

Case study

OpenSC4: an early open-source reimplementation of SimCity 4

Reimplements SimCity 4 as a Godot project in GDScript that reads DBPF archives, region folders and city saves from the user’s own SimCity 4 installation. The code draws a region view with city thumbnails and interface elements built from the game’s UI definitions, opens a saved city’s terrain and water in 3D, and includes a DAT explorer for previewing archive subfiles. It is an early, inactive engine case without simulation gameplay, not a playable replacement.

Targets
Game
Category
Independent reconstruction cases
Relationship
Independent reconstruction project
Sources reviewed

Requirements & limits

  • The reviewed main snapshot (2024-03-29) only added a README and a Discord invite; the last code change dates from 2023-02-17, and the repository has no releases or tags. README describes an open source “clone” meant to use modern hardware and run on other platforms. The code covers DBPF parsing, a region view for the hard-coded Timbuktu region, a city terrain view and the DAT explorer, with no zoning, budget or growth simulation.
  • Needs the user’s own SimCity 4 installation: the boot screen asks for its folder and checks for SimCity 4.ini, Sound.dat, Intro.dat, SimCity_1.dat to SimCity_5.dat and EP1.dat, then reads .sc4 city saves, config.bmp and region music from that folder. .gitignore excludes SimCity 4 data, although the tree contains a “Graphics Rules.sgr.backup” text file whose header says SC4Launcher generated it.
  • Runs from source in the Godot editor: README’s setup is to install Godot, import the cloned project and run it, without naming a version. project.godot uses config_version 4 and the scripts call Godot 3 APIs such as yield and Directory; no export presets or packaged builds are provided.
  • The repository has no tests or CI workflows and publishes no comparison with SimCity 4’s behaviour or output.
  • GitHub detects no license and the tree has no license file; nine GDScript files carry AGPL-3.0-or-later headers for “The OpenSC4 contributors” (2023), and utils/logger.gd is MIT-licensed code from KOBUGE Games’ godot-logger. SimCity 4 and its data keep their owners’ rights.

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · OpenSC4-org/OpenSC4 · Revision fdc90c3
  2. BootScreen.gd GitHub · OpenSC4-org/OpenSC4 · Revision fdc90c3
  3. Region.gd GitHub · OpenSC4-org/OpenSC4 · Revision fdc90c3
  4. CityView/CityScene/City.gd GitHub · OpenSC4-org/OpenSC4 · Revision fdc90c3
  5. DATExplorer/SubfilePreview.gd GitHub · OpenSC4-org/OpenSC4 · Revision fdc90c3
  6. addons/dbpf GitHub · OpenSC4-org/OpenSC4 · Revision fdc90c3
  7. project.godot GitHub · OpenSC4-org/OpenSC4 · Revision fdc90c3
  8. .gitignore GitHub · OpenSC4-org/OpenSC4 · Revision fdc90c3
  9. Core.gd GitHub · OpenSC4-org/OpenSC4 · Revision fdc90c3
  10. utils/logger.gd GitHub · OpenSC4-org/OpenSC4 · Revision fdc90c3

More in Games

All 318 entries in GamesGames case studies (239)

↑↓ move↵ open⌘↵ new tab