Game assets #
Libreopolis keeps redistributable project art separate from locally extracted classic art:
classic/is generated byextract_assets.py, ignored by Git, and must not be redistributed.sprites/,cursors/, andterrain/contain project-authored overrides and are committed.fonts/,lang/, andrml/are other redistributable project resources.
Fill it from your own copy of the original game (Windows 95 Special Edition):
python3 extract_assets.py /path/to/SC2K # the folder with SIMCITY.EXE in it
That gives you under assets/classic/:
sprites/sprite_<id>.pal.pngandsprites/sprites.csv(the extracted close sprite bank)ui/bmp_<id>.bmp(UI bitmaps lifted from the resources insideSIMCITY.EXE)sounds/(the WAV and MIDI files)cursors/(editable cursor PNGs + hotspots, with compact SCUR copies)
Optionally, drop a General MIDI soundfont (.sf2) into soundfonts/ for the
music (see the main README).
The app never reads SIMCITY.EXE or a sprite DAT at runtime. It loads the loose classic sprite PNGs,
then overlays committed sprites/ PNGs. Matching IDs override; new IDs extend the registry. Cursors
follow the same two-layer model. See the READMEs inside each authored asset directory for naming.
Named first-party terrain packs live under terrain/<style>/sprites/ and are selected during development
with LIBREOPOLIS_TERRAIN=<style>.
Each indexed classic sprite PNG embeds the complete shared 256-colour table. Runtime reads that table
from sprite_1001.pal.png for palette cycling, minimaps, and scenario pictures, so no separate palette
asset is needed. The original palette BMP is read only during extraction and is not retained.