Page 2 of 2

Re: Twelvesky2 model files

Posted: Sun Apr 19, 2020 11:01 am
by Sancje
shakotay2 wrote: Sat Apr 18, 2020 7:48 pm
Sancje wrote: Sat Apr 18, 2020 6:26 pmhi, How did you calculate the FVFsize
There's no general recipe.
Here it's (startAddrFIs - startOfVertices) / vertexCount
(FI= faceIndex)
Getting the startOfVertices is a matter of experience usually.
and UVpos value(76,68) ?
No recipe. Position of float uvs (tx, ty) usually is a multiple of 4, here it's 76 - 8. (8= sizeOfTx + sizeOfTy)
Are these values constant?
Usually. (But there's 3D formats which use 3 or more different values in one model file.)
I am trying to find submesh. I couldn't find my mistake.I tried all the face start addresses. I'm waiting for your help.

Model link: http://www.mediafire.com/file/dkm9639jm ... 001_01.zip

Image

Image

Re: Twelvesky2 model files

Posted: Sun Apr 19, 2020 11:50 am
by shakotay2
start with the first submesh (the rest is harder to find I guess):

0x9C80 1362
Vb1
76 68
0x184 522
020000
0x0 255

(For that file you can change the header in the script to NOEPY_HEADER = 0x0002)

Re: Twelvesky2 model files

Posted: Sun Apr 19, 2020 12:54 pm
by Sancje
shakotay2 wrote: Sun Apr 19, 2020 11:50 am start with the first submesh (the rest is harder to find I guess):

0x9C80 1362
Vb1
76 68
0x184 522
020000
0x0 255

(For that file you can change the header in the script to NOEPY_HEADER = 0x0002)
Thanks. how can i find other submeshes with hex2obj? I've been trying since yesterday.

Re: Twelvesky2 model files

Posted: Sun Apr 19, 2020 12:55 pm
by shakotay2
Sancje wrote: Sun Apr 19, 2020 12:54 pmThanks. how can i find other submeshes with hex2obj? I've been trying since yesterday.
I don't know a simple solution.
You need to gain experience, as simple as that. Takes weeks, if not month. :)

Learn to think in "blocks": where does FIs block start? (simple in most cases), where does it end? (Might be the start of the next vertex block (sometimes/for other 3D formats). Additional bytes to be met in between, such as counts, sometimes bounding box values (in other 3D format files), whatever).

0x7CBCF 3327
Vb1
76 99
0x6D1D3 842
020000
0x0 255

Re: Twelvesky2 model files

Posted: Sun Apr 19, 2020 3:14 pm
by Karpati
Here I attached the full models I converted from Y017001_01.mdl and Y032001_01.mdl.

Re: Twelvesky2 model files

Posted: Sun Apr 19, 2020 3:19 pm
by Sancje
Karpati wrote: Sun Apr 19, 2020 3:14 pm Here I attached the full models I converted from Y017001_01.mdl and Y032001_01.mdl.
thanks. what method do you follow? Do you have a general tool or script?

Re: Twelvesky2 model files

Posted: Sun Apr 19, 2020 8:39 pm
by Karpati
Sancje wrote: Sun Apr 19, 2020 3:19 pm What method do you follow? Do you have a general tool or script?
I will release the updated 3D Object Converter.

Re: Twelvesky2 model files

Posted: Sun Apr 19, 2020 8:57 pm
by Sancje
Karpati wrote: Sun Apr 19, 2020 8:39 pm
Sancje wrote: Sun Apr 19, 2020 3:19 pm What method do you follow? Do you have a general tool or script?
I will release the updated 3D Object Converter.
when do you release?

Re: Twelvesky2 model files

Posted: Mon Apr 20, 2020 7:11 pm
by Karpati
Sancje wrote: Sun Apr 19, 2020 8:57 pm when do you release?
I have finished my Twelve Sky 2 (extracted *.SOBJECT file) *.MDL loader module and I have released the following program as web update:

- 3D Object Converter v7.028 (Windows)

How to get the 3D Object Converter v7.028:
Download the 3D Object Converter from http://3doc.i3dconverter.com and install it or download and use the portable version.
After it just use the Help/Check for updates... function to get the v7.028.

Re: Twelvesky2 model files

Posted: Tue Apr 21, 2020 8:22 pm
by Karpati
I have updated the 3D Object Converter app to handle the situation I did find in the Y030001_1.mdl and Y029001_1.mdl files.
I have tested on the biggest models I did find in the games also.

Just use the Help/Check for updates... function to get the v7.029.

Re: Twelvesky2 model files

Posted: Tue Apr 21, 2020 9:56 pm
by Sancje
Karpati wrote: Tue Apr 21, 2020 8:22 pm I have updated the 3D Object Converter app to handle the situation I did find in the Y030001_1.mdl and Y029001_1.mdl files.
I have tested on the biggest models I did find in the games also.

Just use the Help/Check for updates... function to get the v7.029.
thank you very much for your help