
Poll & Discussion: We wish the site to continue (Y/N)
Dead or Alive series formats and tools
-
- mega-veteran
- Posts: 162
- Joined: Sun Aug 04, 2013 9:39 pm
- Has thanked: 47 times
- Been thanked: 20 times
Re: Dead or Alive series formats and tools
a ha found a rabbit hole 

Last edited by Lilstormcloud on Sat Jul 26, 2014 6:32 pm, edited 1 time in total.
-
- ultra-veteran
- Posts: 341
- Joined: Wed Dec 14, 2011 5:46 pm
- Has thanked: 141 times
- Been thanked: 117 times
Re: Dead or Alive series formats and tools
For the neck, I don't think an approximation will cut it because it has to assume a near value on x,y and z axes. In some extreme cases the first neck ring verts could be closer to the second neck ring verts of different body type. The only way I can presently think to do it programmatically is to get the Vertex # of each from both target and source models. It is possible to calculate where each falls within the TMCL at that point, but it sure would be a lot of grief.
On the flip side, I started on an app. It shouldn't be too difficult. I just may have a time shortage over the next few days to finish it. I already have it reading the Ofs,HieLay and NodeLay. I just have to get the comparisons, replacement, and file writing done.
Ros, C# and Python both have the ability to read & write files. I don't know Python the way b0ny does, but I know with C# reading and writing files is fairly simple. If you did want to learn, either language would be recommendation. Python is easier to start with though.
On the flip side, I started on an app. It shouldn't be too difficult. I just may have a time shortage over the next few days to finish it. I already have it reading the Ofs,HieLay and NodeLay. I just have to get the comparisons, replacement, and file writing done.
Ros, C# and Python both have the ability to read & write files. I don't know Python the way b0ny does, but I know with C# reading and writing files is fairly simple. If you did want to learn, either language would be recommendation. Python is easier to start with though.
- Rosalin
- mega-veteran
- Posts: 187
- Joined: Fri Jun 13, 2014 11:38 am
- Has thanked: 62 times
- Been thanked: 50 times
Re: Dead or Alive series formats and tools
For the neck again, I've check 3 character's UV coordinates in the neck. (MR, Rachel, Momiji)
I could that find they had all same U,V,W whatever their vertex x,y,z are.
This means we can find the vertices we need by UV coordinates.
But there is one problem. They have 2 vertices in one UV map because of the symmetry.
And I could find that Left side of the vertex ID is larger than right side of it.
that means. if you search for the 44 values package of a vertex in TMCL from the first of the file by UV,
the one you can get first is right side of it, and the second is the left side.
In conclusion, we don't need any of TXT file or something like that to get the vertices in the neck.
They can be fully automated.
***********************
Unfortunately, it seems that they have some exceptions on UV coordinates.
I'll soon make a data table for it.
At least they will have same neck UV on one character
I could that find they had all same U,V,W whatever their vertex x,y,z are.
This means we can find the vertices we need by UV coordinates.
But there is one problem. They have 2 vertices in one UV map because of the symmetry.
And I could find that Left side of the vertex ID is larger than right side of it.
that means. if you search for the 44 values package of a vertex in TMCL from the first of the file by UV,
the one you can get first is right side of it, and the second is the left side.
In conclusion, we don't need any of TXT file or something like that to get the vertices in the neck.
They can be fully automated.
***********************
Unfortunately, it seems that they have some exceptions on UV coordinates.
I'll soon make a data table for it.
At least they will have same neck UV on one character
You do not have the required permissions to view the files attached to this post.
-
- mega-veteran
- Posts: 162
- Joined: Sun Aug 04, 2013 9:39 pm
- Has thanked: 47 times
- Been thanked: 20 times
Re: Dead or Alive series formats and tools
oh wait it was a mole 

Last edited by Lilstormcloud on Sat Jul 26, 2014 6:32 pm, edited 1 time in total.
- Rosalin
- mega-veteran
- Posts: 187
- Joined: Fri Jun 13, 2014 11:38 am
- Has thanked: 62 times
- Been thanked: 50 times
Re: Dead or Alive series formats and tools
I don't think it will be useful to do it with hands or arms or legs..
There will be so much unexpected problems I think..
Do you Know 10 nails are sharing one UV plane?
Well... you do know.
I think it will be just good to snap the vertices with 3DS MAX.
anyway, for the neck, there is only about 0.001 differences in UV coordinates between the models.
so when the UV coordinate HEX values could be turned into floats, I can guess it will not be difficult to find the vertices by the UV coordinates.
Sometime some other vertices could be near that coordinates, I think it can be filtered by double checking with some other conditions.
******************************
I tried to find out what's UV in 44 bytes.
UV of This vertex is U=0.989 V=0.018.
Well.. I can't read it.
Are they really floats?
*****************
ah.. forget about fully automated bullshits.
I'll try this my own way.
There will be so much unexpected problems I think..
Do you Know 10 nails are sharing one UV plane?
Well... you do know.
I think it will be just good to snap the vertices with 3DS MAX.
anyway, for the neck, there is only about 0.001 differences in UV coordinates between the models.
so when the UV coordinate HEX values could be turned into floats, I can guess it will not be difficult to find the vertices by the UV coordinates.
Sometime some other vertices could be near that coordinates, I think it can be filtered by double checking with some other conditions.
******************************
I tried to find out what's UV in 44 bytes.
Code: Select all
3D C4 6C BB 3E 93 BF 46 3D 69 93 3C 56 8D 92 65
4A 28 3A 53 4B 48 4A 1B 6B 5F B9 84 3B EA 3B DC
34 0A 31 6E 3B EA 3B DC 3B EA 3B DC
Well.. I can't read it.
Are they really floats?
*****************
ah.. forget about fully automated bullshits.
I'll try this my own way.
-
- mega-veteran
- Posts: 162
- Joined: Sun Aug 04, 2013 9:39 pm
- Has thanked: 47 times
- Been thanked: 20 times
Re: Dead or Alive series formats and tools
Might not
Last edited by Lilstormcloud on Sat Jul 26, 2014 6:32 pm, edited 1 time in total.
-
- ultra-veteran
- Posts: 341
- Joined: Wed Dec 14, 2011 5:46 pm
- Has thanked: 141 times
- Been thanked: 117 times
Re: Dead or Alive series formats and tools
Edit:
Utility just needs testing, found a bug, but otherwise HieLay & BnOfsMtx seem to work. I don't think those alone will solve everything, but at least they take care of some of the form. Meshes still need adjustments if trying to recreate original form.
***
Good find on tracking down the UV coordinates. Which values are they in the index buffer. That will come in handy for eventual rewrites. I won't have the time to tackle neck stuff just yet, but the closer we get the theory, the easier it will be once we're sure.
Utility just needs testing, found a bug, but otherwise HieLay & BnOfsMtx seem to work. I don't think those alone will solve everything, but at least they take care of some of the form. Meshes still need adjustments if trying to recreate original form.
***
Good find on tracking down the UV coordinates. Which values are they in the index buffer. That will come in handy for eventual rewrites. I won't have the time to tackle neck stuff just yet, but the closer we get the theory, the easier it will be once we're sure.
- Rosalin
- mega-veteran
- Posts: 187
- Joined: Fri Jun 13, 2014 11:38 am
- Has thanked: 62 times
- Been thanked: 50 times
Re: Dead or Alive series formats and tools
Hey what's the neck bone ID?
I got it 1B1A
Code: Select all
00 00 00 00 3E ED 9F D3 3C D5 B6 81 7D FA 68 00 00 00
7F 80 00 00 1B 1A 7B 18 20 00 21 CD 38 12 21 CD 38 12
21 CD 38 12 34 DC 24 9A
-
- ultra-veteran
- Posts: 341
- Joined: Wed Dec 14, 2011 5:46 pm
- Has thanked: 141 times
- Been thanked: 117 times
Re: Dead or Alive series formats and tools
Looks like archivarius will need an update, or at least the reference file. It doesn't find any of the new containers by default for Phase 4 or the Overalls.
-
- mega-veteran
- Posts: 162
- Joined: Sun Aug 04, 2013 9:39 pm
- Has thanked: 47 times
- Been thanked: 20 times
Re: Dead or Alive series formats and tools
I wonder ![rolleyes [roll]](./images/smilies/icon_rolleyes.gif)
![rolleyes [roll]](./images/smilies/icon_rolleyes.gif)
Last edited by Lilstormcloud on Sat Jul 26, 2014 6:33 pm, edited 1 time in total.
-
- ultra-veteran
- Posts: 341
- Joined: Wed Dec 14, 2011 5:46 pm
- Has thanked: 141 times
- Been thanked: 117 times
Re: Dead or Alive series formats and tools
Plausible theory considering end values would apply to something that Alpha 152 does not have. She has a 32 buffer length and does not use UV coordinates.
I'd be curious if the one is actually spec or not w/out it being referenced the same.
I'd be curious if the one is actually spec or not w/out it being referenced the same.
-
- advanced
- Posts: 61
- Joined: Tue Nov 22, 2011 10:55 am
- Has thanked: 13 times
- Been thanked: 88 times
Re: Dead or Alive series formats and tools
Updated the .dat file to get all the models out for phase 4 and the new dlc costumes.
You do not have the required permissions to view the files attached to this post.
-
- ultra-veteran
- Posts: 341
- Joined: Wed Dec 14, 2011 5:46 pm
- Has thanked: 141 times
- Been thanked: 117 times
Re: Dead or Alive series formats and tools
Thanks!!mikulover39 wrote:Updated the .dat file to get all the models out for phase 4 and the new dlc costumes.

How u do dat so fast?

-
- double-veteran
- Posts: 723
- Joined: Mon Jul 13, 2009 6:16 pm
- Has thanked: 72 times
- Been thanked: 122 times
Re: Dead or Alive series formats and tools
Thanks, now Hitomi with the new hot outfit.mikulover39 wrote:Updated the .dat file to get all the models out for phase 4 and the new dlc costumes.