BurnySc2 / sc2-techtree

SC2 tech tree as JSON data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StarCraft II tech tree and dependencies

All SC2 structures, units, abilities, researches and dependencies between these, in machine readable JSON format.

This repository contains Python scripts for data generation.

Development

  • Install StarCraft II (and for linux set environment variables) similar to the instructions here
  • Install python3.8 or newer
  • Install poetry via pip install poetry

The Python code to generate new data is the directory generate.

You can run

poetry run python run.py

to generate a new /data/data.json.

Missing data? Invalid data? Other issues?

Please open a new issue in GitHub.

Pull requests to fix things or for extensions are welcome as well, although I suggest asking me first by opening an issue or otherwise. The data model changes are usually quite hard to get right, and the data collection script itself is quite complicated and full of edge cases.

About

SC2 tech tree as JSON data

License:MIT License


Languages

Language:Python 100.0%