Been doing some looking in the [!] files.
Seems characters models are in the second chunk, that being the largest. i've found vertex data there that is *almost* identical to that of KHII models.
Seems very familliar, particularly because of the "3F80"'s that keep appearing.
I can pretty much
confirm that i have
definately found 3D model data:
if picture is too small, click hereOn the left is some of the data in an MDLX model from KHII, although, what's important is the right side.
now, i'm not a genious, but i have done vertex hacking before, and i THINK i've figured this out...
on the right, we have the crisis core [!] file for tifa open at the model section.
Now, i could be wrong, but this looks very promising.
Section "A" in the tifa model appears to contain information regarding parent/child/sibling verticies and what have you. we can see this by looking at their functions. they both appear to be "LUI"ing "$c123", however, the line above that is "LUI"ing something different. this brings me to (almost) understand the first twelve bytes of Code:
First four bytes: Parent vertex.
Second four bytes: Child Vertex
Third Four bytes: Sibling vertex
now, that would make sense, right? seeing as the picture you can see it at the very first of the datablocks, and it would have no parent verticies.
Section B is completely unknown to me. i have no idea what it is, i only understand that it varies quite a lot. possibly its some sort of "normal" type thing. only speculation though. Apparently, it could also be some sort of rotation information.
If anything contains coordinate information, its Section C. there are
THREE two-byte things going on. X, Y, Z. c'mon, looks pretty obvious, wouldnt you say so?
So, to conclude, these datablocks DO vary a little from time to time, with random padding and such, but other than that, i appear to have somewhat deciphered this. If it's no good, koral, it'll be back to the drawing board XD
I REALLY hope this helps you render those models koral