MBINCompiler icon indicating copy to clipboard operation
MBINCompiler copied to clipboard

Incorrect order of serialized members in TkAnimNodeFrameData

Open GaticusHax opened this issue 6 years ago • 0 comments

In vanilla ANIM.MBIN files, the list data for the Translations and Scales members of the TkAnimNodeFrameData struct are reversed.

Although the members are defined in the order of: Rotations, Translations, Scales The actual list data that is appended to the struct is ordered instead by: Rotations, Scales, Translations. Normally, the order of the list data will match the order of the member definitions. libMBIN does not handle this special case, which makes comparing files difficult as the order of the data is not the same.

Fix the serialization of the TkAnimNodeFrameData struct so that the list data is appended in the same order as the vanilla files.

GaticusHax avatar Oct 13 '19 18:10 GaticusHax