Anonymous

Changes

From Final Fantasy Inside

FF8/FileFormat magfiles

623 bytes added, 00:40, 29 May 2016
no edit summary
==Environment objects==
'''I'm aware it's chaotic''', like no tables and etc. but it's '''up-to-date''' information and I'll '''update it after I crack the face indices''' (triangles/quads)
First, recognize file:
1.Header must be 8 bytes null!!
7.Read int at 24th byte for VERTICES COUNT [Vertex is 8 bytes! X Z Y W, where W is probably weight byte [as in OBJ specification] and is normally unused (as usual, even in casual OBJ files)]
The polygons are weird? So far Ithink there are more polygon types. If you work with this dictionary you'm aware it's chaoticre going to be fine:  private Dictionary<UInt16,int> _polygonType = new Dictionary<ushort, int> { { 0x7, 20}, //BAD? { 0x8, 20}, //OK { 0x9, 28}, //OK {0x10, 20}, //BAD? {0x12, 24}, //OK {0x13, 36}, //OK {0x18, like no tables and etc. but it0x18} //24 BAD? };Example: 09 00 9f 01 means there's up-to-date information and I'll update it after I crack the face indices 9f 01 (triangles/quads415)polygons of type 0x9. Therefore: 28*415=11620 bytes to next polygon type or vertices if FF FF FF FF.
Anonymous user