Jump to content

Scions of Fate *.ani


Jesse
Go to solution Solved by Durik256,

Recommended Posts

I want to parse *.ani files, and i borrowed code from other forums, but still has problem with it.

I think the *.ani file's rotation data has something wrong(must be parsing or format wrong).

Edited by Jesse
Link to comment
Share on other sites

  • Engineer

Why can't I get rid of the feeling that people only want results?

This way you won't get any answers, imho.

I remember having cared for bones (more or less) on Xentax, January 2019. Search there (here's some archives in the forum).

Search for Animation 1_mainsequence.smd. Though I have no idea who created it.

loop bones

0: (NoeBone:0,Bip01,'Scene Root',-1), pos 0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0, 16.0, 18.0, 
rot 
1: (NoeBone:1,Bip01 Footsteps,'Bip01',(NoeBone:0,Bip01,'Scene Root',-1)), pos 0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0, 16.0, 18.0, 
rot 
2: (NoeBone:14,Bip01 Pelvis,'Bip01',(NoeBone:0,Bip01,'Scene Root',-1)), pos 
rot 18.0, 0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0, 16.0, 
3: (NoeBone:25,Bip01 Spine,'Bip01 Pelvis',(NoeBone:14,Bip01 Pelvis,'Bip01',(NoeBone:0,Bip01,'Scene Root',-1))), pos 0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0, 16.0, 18.0, 
rot 18.0, 0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0, 16.0, 
4: (NoeBone:26,Bip01 Spine1,'Bip01 Spine',(NoeBone:25,Bip01 Spine,'Bip01 Pelvis',(NoeBone:14,Bip01 Pelvis,'Bip01',(NoeBone:0,Bip01,'Scene Root',-1)))), pos 
rot 18.0, 0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0, 16.0, 
5: (NoeBone:13,Bip01 Neck,'Bip01 Spine1',(NoeBone:26,Bip01 Spine1,'Bip01 Spine',(NoeBone:25,Bip01 Spine,'Bip01 Pelvis',(NoeBone:14,Bip01 Pelvis,'Bip01',(NoeBone:0,Bip01,'Scene Root',-1))))), pos 
rot 18.0, 
...

 

Edited by shak-otay
  • Like 1
Link to comment
Share on other sites

16 hours ago, shak-otay said:

Why can't I get rid of the feeling that people only want results?

This way you won't get any answers, imho.

I remember having cared for bones (more or less) on Xentax, January 2019. Search there (here's some archives in the forum).

Search for Animation 1_mainsequence.smd. Though I have no idea who created it.

loop bones

0: (NoeBone:0,Bip01,'Scene Root',-1), pos 0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0, 16.0, 18.0, 
rot 
1: (NoeBone:1,Bip01 Footsteps,'Bip01',(NoeBone:0,Bip01,'Scene Root',-1)), pos 0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0, 16.0, 18.0, 
rot 
2: (NoeBone:14,Bip01 Pelvis,'Bip01',(NoeBone:0,Bip01,'Scene Root',-1)), pos 
rot 18.0, 0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0, 16.0, 
3: (NoeBone:25,Bip01 Spine,'Bip01 Pelvis',(NoeBone:14,Bip01 Pelvis,'Bip01',(NoeBone:0,Bip01,'Scene Root',-1))), pos 0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0, 16.0, 18.0, 
rot 18.0, 0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0, 16.0, 
4: (NoeBone:26,Bip01 Spine1,'Bip01 Spine',(NoeBone:25,Bip01 Spine,'Bip01 Pelvis',(NoeBone:14,Bip01 Pelvis,'Bip01',(NoeBone:0,Bip01,'Scene Root',-1)))), pos 
rot 18.0, 0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0, 16.0, 
5: (NoeBone:13,Bip01 Neck,'Bip01 Spine1',(NoeBone:26,Bip01 Spine1,'Bip01 Spine',(NoeBone:25,Bip01 Spine,'Bip01 Pelvis',(NoeBone:14,Bip01 Pelvis,'Bip01',(NoeBone:0,Bip01,'Scene Root',-1))))), pos 
rot 18.0, 
...

 

I'm sorry I didn't describe my problem clearly, I was edit my topic about the problem, and uploaded the test files.

  • Like 1
Link to comment
Share on other sites

  • Engineer

btw, who's the author of the py script? MrAdults (Rick) himself?

Which Noesis version did you use?

With latest Noesis I get an error:

Traceback (most recent call last):
  File "X:\noesisv4474\plugins\python\_fmt_sof_skin.py", line 48, in checkSkinLoad
    loadTexture = LoadTexture(textureFileName)
  File "X:\noesisv4474\plugins\python\_fmt_sof_skin.py", line 352, in __init__
    self.parse()
  File "X:\noesisv4474\plugins\python\_fmt_sof_skin.py", line 363, in parse
    texture.name = os.path.splitext(self.textureName)[0]
AttributeError: 'NoneType' object has no attribute 'name'

edit disabled the texture.

What's the problem? That the frog fades away upwards?

 

sof Frog.png

Edited by shak-otay
  • Like 1
Link to comment
Share on other sites

2 hours ago, shak-otay said:

btw, who's the author of the py script? MrAdults (Rick) himself?

Which Noesis version did you use?

With latest Noesis I get an error:

Traceback (most recent call last):
  File "X:\noesisv4474\plugins\python\_fmt_sof_skin.py", line 48, in checkSkinLoad
    loadTexture = LoadTexture(textureFileName)
  File "X:\noesisv4474\plugins\python\_fmt_sof_skin.py", line 352, in __init__
    self.parse()
  File "X:\noesisv4474\plugins\python\_fmt_sof_skin.py", line 363, in parse
    texture.name = os.path.splitext(self.textureName)[0]
AttributeError: 'NoneType' object has no attribute 'name'

edit disabled the texture.

What's the problem? That the frog fades away upwards?

 

sof Frog.png

My Noesis version is 4.474(the latest).

I don't know who is the script's original author, I borrowed and make some changes from zenhax.

the frog's animations is not like normal.

 

frog example:

result of the script:

Snipaste_2024-11-22_21-25-55.thumb.png.3b6589b6612c2245c403af1efe75245c.png

 

in game client:

Snipaste_2024-11-22_21-35-39.png.fe4163c4c7067bbfe77557d4a459abed.pngSnipaste_2024-11-22_21-36-08.png.a5dcabd82a9d7c8ae23a83f3a5a016bc.png

 

other example:

result of script(same script like frog):

Snipaste_2024-11-22_21-42-24.thumb.png.866b920d8f04774ad57abfa3d7a4d976.png

 

in game client:

Snipaste_2024-11-22_21-48-23.png.0a255ac5c5abea08a17607185d7009f2.pngSnipaste_2024-11-22_21-48-35.png.b9b7756d12877ea6291d3e170e5058dc.png

 

So, I think the data parsing of the rotation might be a bit problematic. But I lack the knowledge about animation.

 

 

Edited by Jesse
Link to comment
Share on other sites

  • Engineer

To make a more detailed analysis you could export from Noesis (including "Additional animation output") then import to blender.

Maybe use FBX for it.

I tried .dae and there's some issues.

(But for me imported dae anims always had issues in blender, haha, so dunno whether those are related to what the _fmt_sof_skin.py produced in Noesis.)

 

edit: used FBX and I don't see an issue (not being too familiar with anims, though). The root bone moves a little bit strange at the end of the jump, maybe.

Edited by shak-otay
  • Like 1
Link to comment
Share on other sites

12 hours ago, shak-otay said:

To make a more detailed analysis you could export from Noesis (including "Additional animation output") then import to blender.

Maybe use FBX for it.

I tried .dae and there's some issues.

(But for me imported dae anims always had issues in blender, haha, so dunno whether those are related to what the _fmt_sof_skin.py produced in Noesis.)

 

edit: used FBX and I don't see an issue (not being too familiar with anims, though). The root bone moves a little bit strange at the end of the jump, maybe.

I tried export FBX from Noesis, than import FBX to blender and unity3d, but the animation is same as Noesis's preview.

So, I think the issue is on the script.

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
×
×
  • Create New...