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.
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.