ribrdb / desynced-tools

Tools for working with behaviors and blueprints from Desynced.
MIT License
4 stars 3 forks source link

Use dumped-game-data.json from Data Dump mod #52

Closed swazrgb closed 5 months ago

swazrgb commented 6 months ago

Makes this data available both to code generation & runtime. Would like to eventually switch some of the code generation (methods.ts, dinstr.ts, etc) to runtime parsing of the dumped-game-data.json.

Since the dumped-game-data.json can be included in the repository with permission from Stage, the resulting generated files have been gitignored to reduce merge conflicts resulting from changes to geninstr.ts and such.

Developers, and CI, must now run npm run generate when switching branches or pulling new commits.

swazrgb commented 6 months ago

The additional data included, but not yet used, is intended to be used for supporting blueprints.

The mod source is available here: https://github.com/swazrgb/desynced-data-dump

swazrgb commented 6 months ago

You can view what the generated files look like here: https://github.com/ribrdb/desynced-tools/actions/runs/8217131145/artifacts/1312038323

swazrgb commented 5 months ago

FYI, I am implementing blueprints which requires this: https://github.com/swazrgb/desynced-tools/tree/blueprints

This PR could be dropped in favour of the blueprint one, which has more context.