Difference between revisions of "FF9/File/0x02"

From Final Fantasy Inside
< FF9
Jump to navigation Jump to search
my_wiki>Zidane
(No difference)

Revision as of 12:47, 16 November 2008

Model begins with 4-byte header:


1: 00 (1-st model byte)

2: 00

3: Bones count.

4: Objects count.



Next there is 8 byte, unknown purpose

Next there is 4 bytes, value is always 0x14. I think, that it is count of bytes from 1-st byte to bones table.

Next there is 4-byte pointer from 1-st model byte to object table.


Bones

Next there is model scelet, bones counting from 0. Every bone information is of 4-bytes:

3 bytes — bone length

1 byte — parent bone


Object table

Size of table is 40 * objects count.

Data Length (bytes)
UNKNOWN 2
Quads count 2
Triangles count 2
UNKNOWN, zeroes 14
Pointer to vertex table, counting from first byte of model 4
Pointer to vertices, counting from first byte of model 4
Pointer to quad block with triangles, counting from first byte of model 4
Pointer to texture coordinates, counting from first byte of model 4
Pointer to the end of object, counting from first byte of model 4