READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

[HELP] Get Bone and Animation for model

Post questions about game models here, or help out others!
tainhx
advanced
Posts: 40
Joined: Tue Jun 26, 2018 10:03 am
Has thanked: 2 times
Been thanked: 1 time

[HELP] Get Bone and Animation for model

Post by tainhx » Tue Sep 18, 2018 6:15 pm

..............
Last edited by tainhx on Fri Jan 04, 2019 4:34 pm, edited 1 time in total.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: [HELP] Get Bone and Animation for model

Post by shakotay2 » Tue Sep 18, 2018 7:33 pm

tainhx wrote:I have some obj with extension is *.skin , some files Bone with extension is *.bon and Animation is *.ani.... How can convert it to use in Blender or Unreal Engine?
What game it is? There might already exist tools.

Using hex2obj:
CMS00441-skin.jpg
bte: I've a deja vue as if a similar model was already treated in this forum :D
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

tainhx
advanced
Posts: 40
Joined: Tue Jun 26, 2018 10:03 am
Has thanked: 2 times
Been thanked: 1 time

Re: [HELP] Get Bone and Animation for model

Post by tainhx » Tue Sep 18, 2018 7:42 pm

Game is Scion of Fate. And How about bone and animation?

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: [HELP] Get Bone and Animation for model

Post by shakotay2 » Tue Sep 18, 2018 8:23 pm

tainhx wrote:Game is Scion of Fate.
Surprise! :D
And How about bone and animation?
Looks doable. But who would?
(From the low quality of the models I'd be surprised if someone would do it.)
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

tainhx
advanced
Posts: 40
Joined: Tue Jun 26, 2018 10:03 am
Has thanked: 2 times
Been thanked: 1 time

Re: [HELP] Get Bone and Animation for model

Post by tainhx » Wed Sep 19, 2018 8:03 am

So you can't extract bone and animation, Master?

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: [HELP] Get Bone and Animation for model

Post by shakotay2 » Wed Sep 19, 2018 9:01 am

I'm too busy with other concerns, sorry. What I'm doing here are 15 minutes "jobs" just for fun (with very few exceptions :D ).

(I'm planning to release some hex2skel tool since years but I'll need a month of spare time at least to finish it which I hadn't so far.)

In fact that .bon format is a little bit annoying, no time to fiddle out all the matrices
(some look ok, though, see Bip01 L Thigh for example):

Code: Select all

BoneN00002.bon
1B 00 00 00 
Bip01 00 00 30 02 00 
    00 40 03 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 Scene Root  00 dae
    00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 B8 35 00 00 00 
    00 
    FF FF 7F BF 00 00 00 00 00 00 00 00 00 00 80 3F
    00 00 00 00 00 00 00 00 FF FF 7F 3F 00 00 00 00
    00 00 B8 35 00 00 00 00 00 00 00 00 79 84 7B 40
    50 C3 F7 B2 00 00 80 3F 
Bip01 Footsteps 28 00 00 00 00 00 00 
    00 00 EC FD 7F 28 00 2A 00 77 C2 F8 77 70 F1 FC 
    77 38 1C F9 77 1E 1C F9 77 18 D3 
Bip01 18 D3 00 0F 78 01 3B 01 10 D3 00 0F 
    70 05 3B 01 E8 16 44 0E 01 E1 12 00 14 00 00 00 
    70 05 3B 01 00 00 13 00 78 13 13 00 00 00 00 00 
    00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 
    00 00 00 00 80 BB F3 3C 50 C3 F7 B2 00 00 80 3F 
Bip01 Head 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
Bip01 Neck 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 DD 93 59 34 28 30 7D 3F 01 5B 17 BE 00 00 00 
    00 FF FF 7F 3F 12 19 DC B4 63 2D B8 B5 00 00 00 
    00 8F 49 BE B5 02 5B 17 BE 27 30 7D BF 00 00 00 
    00 00 00 00 00 2A 41 09 41 44 CC D8 B4 00 00 80 
    3F 
Bip01 L Calf 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 
Bip01 L Thigh 00 00 00 00 
    48 02 3B 01 30 01 40 0E 00 00 00 00 00 00 00 00 
    48 02 3B 01 00 00 00 00 00 00 00 00 00 00 00 00 
    90 FE 02 3E D8 95 7C BF 68 2C CE 3D 00 00 00 00 
    53 CF 7D BF B8 FD 04 BE 90 85 55 BC 00 00 00 00 
    75 71 D4 3C CD FE C8 BD 77 AD 7E BF 00 00 00 00 
    B5 6E 89 3F E2 72 2D 40 4F A7 FA BD 00 00 80 3F 
Bip01 L Clavicle 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 
Bip01 Neck 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 F9 58 64 3F A4 FD D3 
    BE 29 D5 39 3E 00 00 00 00 24 BC CF 3E 94 06 69 
    3F CC 0E A9 3D 00 00 00 00 75 27 4C BE FA 44 51 
    31 52 DC 7A 3F 00 00 00 00 4D 03 FE 3E 17 04 01 
    41 7F 01 15 31 00 00 80 3F 
Bip01 L Finger0 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

tainhx
advanced
Posts: 40
Joined: Tue Jun 26, 2018 10:03 am
Has thanked: 2 times
Been thanked: 1 time

Re: [HELP] Get Bone and Animation for model

Post by tainhx » Wed Sep 19, 2018 5:29 pm

Szkaradek123 wrote:Hello

Here is blender importer for models from this game.
It works only with Blender version 249 and Python version 2.6


It import skinned and textured meshes with animations.

-select *.skn files for importing meshes
-select *.ani files for unpacking animations
-after unpacking *.ani files select *.anim files for animation

For Noesis use fbx blender exporter.

Importer:
http://www.mediafire.com/download/9fo7x ... -20%5D.zip


Example:
http://www.mediafire.com/download/9a45j ... onnest.zip
This plugin can use to extract *.ani files?

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: [HELP] Get Bone and Animation for model

Post by shakotay2 » Wed Sep 19, 2018 6:54 pm

DragonNest uses "Eternity Engine Ani File 0.1" files which are totally different from the ones of Scions of Fate, afaics.
(The DragonNest meshes have *.skn extension while SoF meshes are *.skin.
So how could you think this could work anyhow? [roll] )
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

tainhx
advanced
Posts: 40
Joined: Tue Jun 26, 2018 10:03 am
Has thanked: 2 times
Been thanked: 1 time

Re: [HELP] Get Bone and Animation for model

Post by tainhx » Thu Sep 20, 2018 8:49 am

Sorry I dont have knowledge about 3d :(....Currently I can get mesh from *.skin...And need some help for *.ani and *.bon :(

tainhx
advanced
Posts: 40
Joined: Tue Jun 26, 2018 10:03 am
Has thanked: 2 times
Been thanked: 1 time

Re: [HELP] Get Bone and Animation for model

Post by tainhx » Wed Sep 26, 2018 5:51 am

shakotay2 wrote:I'm too busy with other concerns, sorry. What I'm doing here are 15 minutes "jobs" just for fun (with very few exceptions :D ).

(I'm planning to release some hex2skel tool since years but I'll need a month of spare time at least to finish it which I hadn't so far.)

In fact that .bon format is a little bit annoying, no time to fiddle out all the matrices
(some look ok, though, see Bip01 L Thigh for example):

Code: Select all

BoneN00002.bon
1B 00 00 00 
Bip01 00 00 30 02 00 
    00 40 03 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 Scene Root  00 dae
    00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 B8 35 00 00 00 
    00 
    FF FF 7F BF 00 00 00 00 00 00 00 00 00 00 80 3F
    00 00 00 00 00 00 00 00 FF FF 7F 3F 00 00 00 00
    00 00 B8 35 00 00 00 00 00 00 00 00 79 84 7B 40
    50 C3 F7 B2 00 00 80 3F 
Bip01 Footsteps 28 00 00 00 00 00 00 
    00 00 EC FD 7F 28 00 2A 00 77 C2 F8 77 70 F1 FC 
    77 38 1C F9 77 1E 1C F9 77 18 D3 
Bip01 18 D3 00 0F 78 01 3B 01 10 D3 00 0F 
    70 05 3B 01 E8 16 44 0E 01 E1 12 00 14 00 00 00 
    70 05 3B 01 00 00 13 00 78 13 13 00 00 00 00 00 
    00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 
    00 00 00 00 80 BB F3 3C 50 C3 F7 B2 00 00 80 3F 
Bip01 Head 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
Bip01 Neck 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 DD 93 59 34 28 30 7D 3F 01 5B 17 BE 00 00 00 
    00 FF FF 7F 3F 12 19 DC B4 63 2D B8 B5 00 00 00 
    00 8F 49 BE B5 02 5B 17 BE 27 30 7D BF 00 00 00 
    00 00 00 00 00 2A 41 09 41 44 CC D8 B4 00 00 80 
    3F 
Bip01 L Calf 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 
Bip01 L Thigh 00 00 00 00 
    48 02 3B 01 30 01 40 0E 00 00 00 00 00 00 00 00 
    48 02 3B 01 00 00 00 00 00 00 00 00 00 00 00 00 
    90 FE 02 3E D8 95 7C BF 68 2C CE 3D 00 00 00 00 
    53 CF 7D BF B8 FD 04 BE 90 85 55 BC 00 00 00 00 
    75 71 D4 3C CD FE C8 BD 77 AD 7E BF 00 00 00 00 
    B5 6E 89 3F E2 72 2D 40 4F A7 FA BD 00 00 80 3F 
Bip01 L Clavicle 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 
Bip01 Neck 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 F9 58 64 3F A4 FD D3 
    BE 29 D5 39 3E 00 00 00 00 24 BC CF 3E 94 06 69 
    3F CC 0E A9 3D 00 00 00 00 75 27 4C BE FA 44 51 
    31 52 DC 7A 3F 00 00 00 00 4D 03 FE 3E 17 04 01 
    41 7F 01 15 31 00 00 80 3F 
Bip01 L Finger0 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 

So is there anyway to read this data and generate to Amature in Blender?

tainhx
advanced
Posts: 40
Joined: Tue Jun 26, 2018 10:03 am
Has thanked: 2 times
Been thanked: 1 time

Re: [HELP] Get Bone and Animation for model

Post by tainhx » Wed Dec 12, 2018 7:03 pm

hello, I have some info about this *.bon format

First 4 byte is NUmber of bones

Every bone has 164 byte for data in 3 part
part 1 50 bytes
part 2 50 bytes
=> relationship, local coordinate , global coordinate,...
part 3 64 bytes (matrix transform)

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: [HELP] Get Bone and Animation for model

Post by shakotay2 » Fri Dec 14, 2018 5:55 pm

dunno why you opened another thread for it.
As I wrote the .bon format is weird
only thing that makes sense for me is the negation of assumed x position of L/R Forearm:

16 Bip01 L Forearm 8C 09 0B 00 00 00 00 00 43 00 00
00 E0 02 3B 01 E0 63 51 0E 00 00 00 00 AE 0A 07
00 E0 02 3B 01 00 00

19 Bip01 L Forearm 00 00 00 00 00
00 00 00 00 00 00 00 00 00 1C D1 12 00 00 00 00
00 64 99 F8 77 00 00 13 00 40 CF 1C 00

0.876523 -0.481272 0.009180 0.000000 rotation matrix (?)
-0.006603 0.007047 0.999953 0.000000
-0.481314 -0.876543 0.002999 0.000000

3.815593 5.535347 0.589638 1.000000 position


40 Bip01 R Forearm 8C 09 0B 00 00 00 00 00 43 00 00
00 E0 02 3B 01 E0 63 51 0E 00 00 00 00 AE 0A 07
00 E0 02 3B 01 00 00

43 Bip01 R Forearm 00 00 00 00 00
00 00 00 00 00 00 00 00 00 1C D1 12 00 00 00 00
00 64 99 F8 77 00 00 13 00 40 CF 1C 00

-0.876523 -0.481272 0.009177 0.000000
-0.006600 -0.007047 -0.999953 0.000000
0.481314 -0.876543 0.003001 0.000000

-3.815595 5.535347 0.589627 1.000000 position




17 Bip01 L UpperArm 77 8C 09 0B 00 82 00 00
00 00 00 00 00 00 00 00 00 01 00 00 00 A8 2C DE
77 8C 09 0B 00 30 3F 15 0F

24 Bip01 L UpperArm 00 13 00 0C 00 00 00 00 74 13
00 01 00 00 00 22 00 FB 7F 01 00 00 00 A8 D5 12
00 08 D5 12 00 94 E6


41 Bip01 R UpperArm 77 8C 09 0B 00 82 00 00
00 00 00 00 00 00 00 00 00 01 00 00 00 A8 2C DE
77 8C 09 0B 00 30 3F 15 0F

48 Bip01 R UpperArm 00 13 00 0C 00 00 00 00 74 13
00 01 00 00 00 22 00 FB 7F 01 00 00 00 A8 D5 12
00 08 D5 12 00 94 E6
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

tainhx
advanced
Posts: 40
Joined: Tue Jun 26, 2018 10:03 am
Has thanked: 2 times
Been thanked: 1 time

Re: [HELP] Get Bone and Animation for model

Post by tainhx » Fri Dec 21, 2018 9:05 am

16 Bip01 L Forearm 8C 09 0B 00 00 00 00 00 43 00 00
00 E0 02 3B 01 E0 63 51 0E 00 00 00 00 AE 0A 07
00 E0 02 3B 01 00 00


19 Bip01 L Forearm 00 00 00 00 00
00 00 00 00 00 00 00 00 00 1C D1 12 00 00 00 00
00 64 99 F8 77 00 00 13 00 40 CF 1C 00


In your opinion, that bytes stand for what information?

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2695
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 668 times
Been thanked: 1380 times

Re: [HELP] Get Bone and Animation for model

Post by shakotay2 » Fri Dec 21, 2018 8:11 pm

I don't have an opinion about them and it's not needed; we've the bone names and matrices; all we need is a suitable smd file for it with hierarchy such as:
Spine3 - Neck - Clavicle - Upperarm - Forearm - Hand - Finger
Pelvis - Spine - Thigh - Calf - Foot - Toe
Spine - Spine1 - Spine2 -

compare to bone names:
1 Bip01 root
3 Bip01 Head (no matrix!)
5 Bip01 Neck
7 Bip01 L Thigh
9 Bip01 Neck ?
11 Bip01 L Hand
13 Bip01 L Finger0
15 Bip01 L Calf
17 Bip01 L UpperArm
19 Bip01 L Forearm
21 Bip01 Spine
23 Bip01 L Foot
25 Bip01 L Clavicle
27 Bip01 Spine1
29 Bip01
31 Bip01 R Thigh
33 Bip01 Neck ?
35 Bip01 R Hand
37 Bip01 R Finger0
39 Bip01 R Calf
41 Bip01 R UpperArm
43 Bip01 R Forearm
45 Bip01 Spine ?
47 Bip01 R Foot
49 Bip01 R Clavicle
51 Bip01 Pelvis
53 Bip01 Spine ?

Ignore the odd numbering; also very strange that we have "neck" and "spine" thrice, neck with different matrices; as I wrote: weird format.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

tainhx
advanced
Posts: 40
Joined: Tue Jun 26, 2018 10:03 am
Has thanked: 2 times
Been thanked: 1 time

Re: [HELP] Get Bone and Animation for model

Post by tainhx » Fri Dec 28, 2018 9:43 am

Here is bone data : https://pastebin.com/E0bBwUZD. I saved data follow format : (‘child bone name’,‘parent bone name’, child’s matrix)

I'm trying to figure our the way to re-create armature from that data by python in blender

Post Reply