Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

swazrgb
Copy link
Collaborator

@swazrgb swazrgb commented Mar 9, 2024

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 swazrgb force-pushed the use-data-dump branch 2 times, most recently from 0a3652c to b974c9e Compare March 9, 2024 20:54
@swazrgb
Copy link
Collaborator Author

swazrgb commented Mar 9, 2024

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
Copy link
Collaborator Author

swazrgb commented Mar 9, 2024

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

@swazrgb
Copy link
Collaborator Author

swazrgb commented Mar 15, 2024

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.

scripts/extractor.cjs Show resolved Hide resolved
.github/workflows/node.js.yml Show resolved Hide resolved
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.
@ribrdb ribrdb merged commit eb317eb into ribrdb:main Mar 15, 2024
3 checks passed
@swazrgb swazrgb mentioned this pull request Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants