Code generation utility for Starcraft II. Produces list of type IDs taken from stableid.json for cpp-sc2 API.
- OS X (feel free to send a PR to support other platforms).
- nodejs >= 14
- Starcraft II installation.
# Install dependencies.
$ npm install
# Generate the code using installed game.
$ npm start "/Users/alkurbatov/Library/Application Support/Blizzard/StarCraft II/stableid.json"
# Generate the code using one of saved ID files.
$ npm start ./assets/4.10.2-stableid.json
# Run tests
$ npm test
Copyright (c) 2020-2024
Licensed under the GPL 3.0 license.