You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reduce number of shape packets in SHP1 section
This significantly reduces the filesize of repacked SHP1 sections.
In order for this to work without making the model look terribly
corrupted ingame, several bugs were fixed. This includes bugs with how
the number of weight matrices per packet were calculated, and how
tristrips that exceeded the maximum number of matrices were being split
up.
Fix incorrect default inverse bind matrices used
Some original BDL/BMD files don't specify any inverse bind matrices.
Previously all zeroes were used for these, but now all ones are used
instead.
Fix float rounding when writing vertex data
Instead of flooring the float, round it either up or down depending on
what's closer. This fixes UV coordinates losing precision when converted
to BMD.