OBD:IDXA M3GM 1

From OniGalore
Revision as of 19:53, 16 September 2007 by Ssg (talk | contribs) (break)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
ONI BINARY DATA
HPge << Other file types >> IGHH
IDXA : Index Array
switch to XML:IDXA page
Overview @ Oni Stuff
OBD.png



AKEV 1          AKEV 2          AKOT 1          AKOT 2          M3GM 1          M3GM 2          ONOA


Idxa m1a.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 0C 01 00 268 00268-.IDXA
0x04 lev_id 01 00 00 00 3 level 3
0x08 char[20] AD DE dead unused
0x1C int32 16 00 00 00 22 array size
First element (black outline)
0x00 int32hb 00 00 00 80 0, high bit PNTA element ID (used for: to build triangles with the points of the PNTA file)


The file is encoded to save harddisk space. Oni decodes it as it's shown in the table below. The high bit marks the beginning of a new strip. In a strip a triangle uses always two of the three points of the previous triangle.

Raw Hex Value Triangle 1 Triangle 2 Triangle 3 Triangle 4 Triangle 5


door.gif


ONI BINARY DATA
HPge << Other file types >> IGHH
IDXA : Index Array
Generic file