monkeyman192 / MBINCompiler

A tool for decompiling No Man's Sky .MBIN files to XML format
https://monkeyman192.github.io/MBINCompiler
Other
250 stars 49 forks source link

Changes to Quaternion (de)serialization #602

Closed monkeyman192 closed 4 months ago

monkeyman192 commented 4 months ago

This (finally) makes anim files deserialize and reserialize 1:1!!! The changes don't look too drastic, mostly it was changing float's to double's (after all that!) I also couldn't figure out the improvements to the DetermineDropComponent method so that it would cover all the edge cases, so now the drop component is actually written to the exml file. For any downstream users of this data (of which there should be essentially none), this can be ignored.

One main downside of this is that if you want to add new values or modify the existing ones the drop component won't be known, so for the time being, it is still not really recommended that you modify anim files other than to potentially remove values (or use existing Quaternion values)