Talk:Modifying an existing level: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 210: Line 210:


=====Roundtripping=====
=====Roundtripping=====
Descriptors IDs like in <code><TRAC id="6787"></code> are not preserved (because irrelevant) and will be resetted to 0.
* On a general note: Round-tripping data is a very effective method to detect observable differences and actual bugs.
* More specifically: Descriptor IDs, such as in <code><TRAC id="6787"></code>, are not preserved because ONI files use ''local'' IDs and are later repacked during DAT creation. Therefore, IDs in XML/ONI are typically reset to 0.
** Therefore, you can define hash parity of output files as a general goal, with the exception that differences can be ignored if they are caused only by non-semantic ID changes. In other words: you may consider semantic equivalence under normalized comparison as sufficient.
** By the way, DAE files - which are internally XML - contain a tag for the authoring tool and version. Therefore, these files may also differ at the byte level.


=====Agent.md example=====
=====Agent.md example=====
8,980

edits