It is currently Thu Feb 22, 2018 11:17 pm

 All times are UTC + 1 hour

### Forum rules

 Page 2 of 2 [ 30 posts ] Go to page Previous  1, 2
 Print view Previous topic | Next topic
Author Message
 Post subject: Re: Tales of ZestiriaPosted: Tue Sep 06, 2016 9:05 am
 beginner

Joined: Mon Sep 15, 2014 11:59 pm
Posts: 31
Has thanked: 0 time
Have thanks: 7 times
before look down
let me explore the reason FVFsize change from 28 to 32

when FVFsize==28
Code:
structrue is
position :   x  y  z
normal? :   float float float
bone index:   for example (17) / 00 /00/ 00

when FVFsize==32 (from 0x594c)
Code:
structrue is
position :   x  y  z
normal? :   float float float
bone index1:   for example (13)/bone index2:   for example (12) /00 00
weight:     float                              for example   0.8    0.13    0.52  0.9  0.5   0.68 0.2  .......

Top

 Post subject: Re: Tales of ZestiriaPosted: Tue Sep 06, 2016 9:20 am
 beginner

Joined: Mon Sep 15, 2014 11:59 pm
Posts: 31
Has thanked: 0 time
Have thanks: 7 times
back to
offset 0xb28 : {3A 01 00 00}= 314
so 0x594c+314x FVFsize(32) =0x808c

FVF size ==36
Code:
structrue is
position :   x  y  z
normal? :   float float float
bone index1:   for example (0x00)/bone index2:   for example (0x07) /bone index2:   for example (0x08)/ 00
weight1:     float                for example       0.2
weight2:     float                for example       0.4

that it is say
we can think 0.4 /0.2/0.4 is weight to bone(bone_index) 0x00/0x07/0x08
or 0.2/0.4/0.4

Top

 Post subject: Re: Tales of ZestiriaPosted: Tue Sep 06, 2016 10:30 am
 M-M-M-Monster veteran

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2172
Location: Nexus, searching for Jim Kirk
Has thanked: 440 times
Have thanks: 1115 times
sry to interrupt you (see you're using this thread as kinda memo pad )

I modified chiri's C# code to directly import your uploaded .dat file:

There were 23 objects contained, most of them didn't provide proper vertices for some unknown reasons (FIs ok, so far).

had to expand this line -which I did not fully understand- for those objects with proper vertices, by 12 and -1:
if ((invalidPos == 6) || (invalidPos == 12) || (invalidPos == -1))

Sadly I didn't get correct uvs, so I've suspended further programatical investigations.

Attachments:

You do not have the required permissions to view the files attached to this post. Register to gain access.

_________________
"you can't always get things served on a silver tray"
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."

Top

 Post subject: Re: Tales of ZestiriaPosted: Tue Sep 06, 2016 11:25 am
 beginner

Joined: Mon Sep 15, 2014 11:59 pm
Posts: 31
Has thanked: 0 time
Have thanks: 7 times
this is the file in DLC 008 "TOMDLB_D"and"TOMDLP_P":
https://mega.nz/#!xowBHIYB!RaLQ2XBeDC0_ ... HXEvQUxMN8

maybe, here be 1-2 cloth model
(i find one texture of cloth only,and i can't find out what is the file name mean or which model in file)

Top

 Post subject: Re: Tales of ZestiriaPosted: Wed Sep 07, 2016 11:46 am
 beginner

Joined: Mon Sep 15, 2014 11:59 pm
Posts: 31
Has thanked: 0 time
Have thanks: 7 times
in "00000c6f"
write a python code in noesis ,but the scale of the bone is too large.
pull it(export to .dae format) into Blender

Attachments:

You do not have the required permissions to view the files attached to this post. Register to gain access.

Top

 Post subject: Re: Tales of ZestiriaPosted: Thu Sep 08, 2016 6:48 pm
 beginner

Joined: Mon Sep 15, 2014 11:59 pm
Posts: 31
Has thanked: 0 time
Have thanks: 7 times
bone_name
bone_parent
bone_matrix

vert_number
vert_data offset
face_vertindex_offset

vert_relate_bone_Index and vert_weight
==============================
these have been find out
but, the weight (<bone_index number) can't diretly read float into noesis data,need a "1- float" --calculate
Code:
can't use rapi.
rapi.rpgBindBoneWeightBufferOfs(VertBuff, noesis.RPGEODATA_FLOAT, vertSize[i], Weightpos, 4)

So,
copy python code from "fmt_mdl.py" (TalesGFScripts)
Code:
for n in range(list1[0]):
....
skinIndiceList.append([v4[0]])
skinWeightList.append([1.0])
for n in range(list1[1]):
......
skinIndiceList.append(v4[:2])
skinWeightList.append([v5,1.0-v5])
#"and so on"
...
skinWeightList.append([v5,v6,1.0-v5-v6])
....
skinWeightList.append([v5,v6,v7,1.0-v5-v6-v7])

= =sadly, "fmt_mdl.py" don't have complete code to add weight ,only ###code
like "##mesh.skinWeightList.append([1.0])"

Top

 Post subject: Re: Tales of ZestiriaPosted: Thu Sep 08, 2016 7:02 pm
 beginner

Joined: Mon Sep 15, 2014 11:59 pm
Posts: 31
Has thanked: 0 time
Have thanks: 7 times
maybe, changing the code in "__NPExample.txt" is a way.
——build a extra weightbuff to be "rapi.rpgBindBoneWeightBuffer()"ed
Code:
if numWeights > 0:
vwList = []
for j in range(0, numWeights):
bidx = []
bwgt = []
for k in range(0, vwNum):
for k in range(0, vwNum):
vwList.append(NoeVertWeight(bidx, bwgt))
fw = NoeFlatWeights(vwList)
rapi.rpgBindBoneIndexBuffer(fw.flatW[:fw.weightValOfs], noesis.RPGEODATA_INT, 4*fw.weightsPerVert, fw.weightsPerVert)
rapi.rpgBindBoneWeightBuffer(fw.flatW[fw.weightValOfs:], noesis.RPGEODATA_FLOAT, 4*fw.weightsPerVert, fw.weightsPerVert)

if vert is affect by only one bone:
if vert is affect by two bones:
if vert is affect by three bones:
if vert is affect four bones:
Code:
weight_after_calculate = .....
bidx.append(....)
bwgt.append(weight_after_calculate)

Top

 Post subject: Re: Tales of ZestiriaPosted: Fri Sep 09, 2016 3:31 pm
 beginner

Joined: Mon Sep 15, 2014 11:59 pm
Posts: 31
Has thanked: 0 time
Have thanks: 7 times
connect to http://imgur.com/ just waste time

Attachments:

You do not have the required permissions to view the files attached to this post. Register to gain access.

Top

 Post subject: Re: Tales of ZestiriaPosted: Fri Sep 09, 2016 3:41 pm
 beginner

Joined: Mon Sep 15, 2014 11:59 pm
Posts: 31
Has thanked: 0 time
Have thanks: 7 times
can not find main bone of character,there are only some bones relate to （physical simulation）collision and joint ，and its' setting parameter.
and miss the character‘s face model（hair and weapon in another .dpd）.
vertex data -bone_index and weight must be connected to main bone.

Attachments:

You do not have the required permissions to view the files attached to this post. Register to gain access.

Top

 Post subject: Re: Tales of ZestiriaPosted: Fri Sep 09, 2016 3:44 pm
 beginner

Joined: Mon Sep 15, 2014 11:59 pm
Posts: 31
Has thanked: 0 time
Have thanks: 7 times
mesh detail

Attachments:

You do not have the required permissions to view the files attached to this post. Register to gain access.

Top

 Post subject: Re: Tales of ZestiriaPosted: Wed Sep 14, 2016 6:26 pm
 beginner

Joined: Mon Sep 15, 2014 11:59 pm
Posts: 31
Has thanked: 0 time
Have thanks: 7 times
alisha_bone_all in file "00000064.dpd" (...PK1\WIN\TOMDLB_D\)
alisha asassin chest in file "00000a63.dpd" and "00000a64.dc5"(UV and face index data)

waste some time to find correct Bone__Pallet (Bone_map ,that is ,index which bone used in mesh -> bone_index in all Bone)

Attachments:

You do not have the required permissions to view the files attached to this post. Register to gain access.

Top

 Post subject: Re: Tales of ZestiriaPosted: Tue Mar 21, 2017 2:13 pm
 ultra-n00b

Joined: Thu Aug 20, 2015 6:44 pm
Posts: 3
Has thanked: 0 time
Have thanks: 0 time
running that code and i got invalid vertex index in max with no texture out

Top

 Post subject: Re: Tales of ZestiriaPosted: Fri Apr 21, 2017 5:56 am
 veteran

Joined: Tue Feb 28, 2012 12:42 am
Posts: 81
Has thanked: 25 times
Have thanks: 1 time
dian333 wrote:
alisha_bone_all in file "00000064.dpd" (...PK1\WIN\TOMDLB_D\)
alisha asassin chest in file "00000a63.dpd" and "00000a64.dc5"(UV and face index data)

waste some time to find correct Bone__Pallet (Bone_map ,that is ,index which bone used in mesh -> bone_index in all Bone)

How did you do that?

Top

 Post subject: Re: Tales of ZestiriaPosted: Mon May 29, 2017 5:43 pm
 beginner

Joined: Mon Sep 15, 2014 11:59 pm
Posts: 31
Has thanked: 0 time
Have thanks: 7 times
Escope12 wrote:
dian333 wrote:
alisha_bone_all in file "00000064.dpd" (...PK1\WIN\TOMDLB_D\)
alisha asassin chest in file "00000a63.dpd" and "00000a64.dc5"(UV and face index data)

waste some time to find correct Bone__Pallet (Bone_map ,that is ,index which bone used in mesh -> bone_index in all Bone)

How did you do that?

noesis code unfinish
last edited at 2016years 9th month

Attachments:

You do not have the required permissions to view the files attached to this post. Register to gain access.

Top

 Post subject: Re: Tales of ZestiriaPosted: Thu Oct 05, 2017 8:36 am
 M-M-M-Monster veteran

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2172
Location: Nexus, searching for Jim Kirk
Has thanked: 440 times
Have thanks: 1115 times
If someone uploaded these two files

00000a63.dpd (alisha asassin, chest)
00000a64.dc5 (UV and face index data)

we hopefully could continue the research.

_________________
"you can't always get things served on a silver tray"
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 2 of 2 [ 30 posts ] Go to page Previous  1, 2

 All times are UTC + 1 hour

#### Who is online

Users browsing this forum: Google [Bot] and 7 guests

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ General Discussion    Holy Cow!    Game news    Game Tech Tips    Cool mods    Website Game Modding    Tutorials    3D/2D models    Audio file formats    Graphic file formats    Video file formats    Game Archive    Compressed files and methods    Code Talk    Game Localization    Savegames    Old posts    Retro games MultiEx Commander Tools & Programs    Game specific tools    General game tools