Jump to content

Extracting animations out of the anim files


Recommended Posts

I tried extracting an anim file from the game using ktools (to try and add a new part to it), but it seems the animation is messed up:
eck.gif
Is there a way I could extract the animations properly?

Edited by Electroely
Link to comment
Share on other sites

One of life's great mysteries.

If there is a way of extracting these accurately, quite a few people would be interested.
Judging by the amount of people that've been bugging us over the item skins mod.

Edited by Pyr0mrcow
Link to comment
Share on other sites

On 2017-6-4 at 10:52 PM, Electroely said:

I tried extracting an anim file from the game using ktools (to try and add a new part to it), but it seems the animation is messed up:
eck.gif
Is there a way I could extract the animations properly?

On 2017-6-5 at 8:51 PM, minespatch said:

@Instant-Noodles, lil' help?

Sorry, but I can't provide much assistance in this matter as I don't have an automated way for fixing animation errors either.  

To get proper animations, you'd likely need to convert the animation files to something other than Spriter SCML files.  This is mainly because the current version of Spriter (v1.4) doesn't natively support free-form deformations, so some animations can't be converted properly.  

KTools actually has a built-in animation fidelity option, so you can use that to check which of the extracted animations will have issues.

krane --check-animation-fidelity <input-dir> <output-dir>

Unfortunately, KTools seems to be the only DS/DST animation decompiler floating around out there.  So, for the moment, you're stuck with manually fixing animations inside Spriter.

EDIT: Here's the KTools animation fidelity output on the terrorbeak animation you posted:

Spoiler

WARNING: the geometry of animation symbol "shadowcreature2_body_4" in animation "appear" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.737606)
WARNING: the geometry of animation symbol "shadowcreature2_body_1" in animation "atk_down" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.538017)
WARNING: the geometry of animation symbol "shadowcreature2_body_2" in animation "atk_down" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.652349)
WARNING: the geometry of animation symbol "shadowcreature2_body_5" in animation "atk_down" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.788648)
WARNING: the geometry of animation symbol "shadowcreature2_body_8" in animation "atk_down" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.591375)
WARNING: the geometry of animation symbol "shadowcreature2_leg_6" in animation "atk_down" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.55558)
WARNING: the geometry of animation symbol "shadowcreature2_leg_7" in animation "atk_down" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.565067)
WARNING: the geometry of animation symbol "shadowcreature2_body_1" in animation "atk_side" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.532903)
WARNING: the geometry of animation symbol "shadowcreature2_leg_6" in animation "atk_side" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.503377)
WARNING: the geometry of animation symbol "shadowcreature2_leg_7" in animation "atk_side" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.54151)
WARNING: the geometry of animation symbol "shadowcreature2_body_7" in animation "atk_up" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.676948)
WARNING: the geometry of animation symbol "shadowcreature2_body_8" in animation "atk_up" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.778818)
WARNING: the geometry of animation symbol "shadowcreature2_leg_0" in animation "atk_up" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.572834)
WARNING: the geometry of animation symbol "shadowcreature2_leg_3" in animation "atk_up" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.733697)
WARNING: the geometry of animation symbol "shadowcreature2_leg_4" in animation "atk_up" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.820711)
WARNING: the geometry of animation symbol "shadowcreature2_leg_5" in animation "atk_up" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.660204)
WARNING: the geometry of animation symbol "shadowcreature2_leg_6" in animation "atk_up" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 1.04476)
WARNING: the geometry of animation symbol "shadowcreature2_leg_7" in animation "atk_up" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.849566)
WARNING: the geometry of animation symbol "shadowcreature2_body_4" in animation "disappear" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.737606)
WARNING: the geometry of animation symbol "shadowcreature2_body_1" in animation "taunt" is not fully representable in Spriter. Expect lower animation fidelity. (max matrix distance: 0.65554)

 

 

Edited by Instant-Noodles
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...