[Mirror] Libreopolis is a cross-platform city simulation game fully compatible with SimCity 2000. gitlab.com/conasg/libreopolis
README.md

Libreopolis #

A modern city simulation that brings your old cities forward.

A dense city in Libreopolis — the isometric map with the tool palette, minimap and status bar

Libreopolis is a from-scratch recreation of SimCity 2000's city simulation, with a new interface and room to grow beyond the original game's limits. It imports real .SC2 cities and .SCN scenarios, then converts them to its versioned .lcity format before play. The original file is left untouched.

Libreopolis does not ship the original game assets required to play. You bring your own copy, and a small script pulls the required art and sounds into a local folder. Screenshots show the game running with those user-supplied resources.

Why this exists #

When I was a kid, I played a lot of SimCity 2000, but I hadn't touched it in years. Then one day I got curious about how its city simulation worked. As always, the curiosity got out of hand. This is where it ended up: a whole engine that behaves like the one I remember, recreated in modern C++ with SDL3.

Each system is recreated from the original game's behaviour and checked against it wherever the numbers can be pinned down. The tax model, the way pollution and land value creep across the map, the three separate random number generators, the fact that a new power plant fills its grid one tile per tick — it's all rebuilt to match.

Getting started #

You'll need a C++20 compiler, Python 3, zlib, SDL3, and your own legally obtained copy of the original game — specifically the Windows 95 Special Edition. The DOS release does not contain the assets Libreopolis currently expects.

# pull the art and sounds out of your game install
python3 extract_assets.py /path/to/SC2K # the folder with SIMCITY.EXE in it

# build and play
make app
./build/libreopolis

make test runs the test suite on its own, with nothing but a compiler. For SDL, it's brew install sdl3 sdl3_image sdl3_mixer on macOS, or the equivalent SDL3 packages from your Linux package manager.

Legacy cities and scenarios can be imported straight from the game install; set SC2K_DATA_DIR to read them from somewhere else. On import, Libreopolis asks where to create a new .lcity save and never overwrites the .SC2 or .SCN source. For music, drop a General MIDI soundfont into assets/soundfonts/ (the free GeneralUser GS sounds great), and if you don't, it'll try to find one already on your system.

What works #

Most of the game, and I'm filling in the gaps as I find them. Zoning and growth, the economy of tax, budget, bonds and ordinances, power and water networks, police and fire, disasters, weather, City Wire notifications, inventions and rewards, military, scenarios, and the map editor. The interface has been comprehensively rebuilt around a modern HUD, contextual toolbox, minimap, stacked in-game dialogs, smooth panning, and continuous zoom. The sound effects and MIDI soundtrack play.

The idea is that it feels a lot like the game you remember, so mostly it just does. Whatever's still rough is in my personal issue tracker, and you're more than welcome to open issues here.

How close to the original is it? #

Getting that right is the whole point, so it goes a long way. The RNG is the same as the original, power and water networks match saved cities tile for tile, and land value, crime, pollution and traffic are validated against real cities made in the original game.

That being said, it deliberately deviates to fix bugs, add quality-of-life improvements, modernise the interface, and support features that do not fit the old save format. You will still be able to import SimCity 2000 .SC2 and .SCN files, while normal saves use Libreopolis's safer, versioned .lcity format.

If you want to lend a hand, have a look at CONTRIBUTING.md.

Libreopolis is an independent project. It is not affiliated with, endorsed by, or associated with the makers or publishers of the original game.

The repository contains Libreopolis's original implementation and does not ship the SimCity 2000 assets required to run it. Screenshots depict the game using resources supplied by the person running it. You need your own lawfully obtained Windows 95 Special Edition copy to play, and the extraction scripts read its resources into a local folder on your machine.

The code is under the GNU GPL v3, which covers this implementation alone and grants no rights to any other game. If you're a rights holder with a concern, please open an issue and I'll respond quickly.