Open Kendaman opened 1 year ago
Bumping because this feature being gone appears to be very unaccounted for.
I actually started looking into this. GNTA Functionality was first added in https://github.com/Ploaj/HSDLib/commit/32a597eeb069549220911b331ecad24f6be30ab2 and was removed in https://github.com/Ploaj/HSDLib/commit/d2259f167f692d8738853859fd7fa10b1f613cfa
At first glance it looked like the fix was as easy as adding a .gnta option back to the new JointAnimationLoader.cs
class.
I went ahead and made this change in my fork: https://github.com/NicholasMoser/HSDLib/commit/186ae50421179b4fc6d4a640e8b25774e85a7c40
but it didn't seem to actually load the animation.
Based on some debugging, I see that the MOT_FILE
, MOT_JOINT
s, and MOT_KEY
s are created, but in JObjEditorNew.cs
it expects some FOBJ_Player
objects to create the tracks.
I expect I need some logic to convert the MOT classes to FOBJ_Player
classes. The subclass of MOTAnimManager is JointAnimManager, which is able to create these classes, but only from a passed in HSD_FigaTree
or HSD_AnimJoint
. So maybe I need to map the MOT classes to HSD_AnimJoint
?
I'll continue to investigate.
I see that there was a MOT and gnta load function for Eighting, has it been removed in the current version? It does not seem to exist in the code either.