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

Make tags directory scanner able to check every tag for generic invalid values #10

Open
MosesofEgypt opened this issue Nov 18, 2019 · 1 comment

Comments

@MosesofEgypt
Copy link
Contributor

Use metadata in tag definition field to scan through and make sure reflexive and rawdata sizes are valid, int/float values are within their MIN and MAX bounds(if applicable), enums are set to a valid value, tag dependencies are of the allowed type(s), etc.

This includes lots of ad-hoc checks that have to be written manually per tag, like making sure effect tags events specify a valid location index, and bitmap sprites specify all valid bitmap indices and counts. There will be thousands of these, so a good system for these checks will need to be devised before implementing them.

@MosesofEgypt
Copy link
Contributor Author

Additionally, it might be worth moving such an involved and developed system into reclaimer for easy re-use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant