OBD:IDXA M3GM 1: Difference between revisions
Jump to navigation
Jump to search
AKEV 1 AKEV 2 AKOT 1 AKOT 2 M3GM 1 M3GM 2 ONOA
m (break) |
m (design) |
||
Line 21: | Line 21: | ||
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. | The file is encoded to save harddisk space. Oni decodes it as it's shown in the table and the image 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. | ||
{{Table}} | {{Table}} | ||
|- | |-ALIGN=CENTER BGCOLOR="#E9E9E9" | ||
| | | WIDTH=20% | Raw Hex || WIDTH=20% | Value || WIDTH=12% | Triangle 1 || WIDTH=12% | Triangle 2 || WIDTH=12% | Triangle 3 || WIDTH=12% | Triangle 4 || WIDTH=12% | Triangle 5 | ||
|- | |-ALIGN=CENTER BGCOLOR="#696969" | ||
| | | COLSPAN=7 | <FONT COLOR="#FFFFFF" SIZE=2>Strip 1</FONT> | ||
|-ALIGN=CENTER VALIGN=TOP | |||
| 00000080 || 0, high bit || BGCOLOR="#FFC8C8" | 0 || || || || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 02000000 || 2 || BGCOLOR="#FFC8C8" | 2 || BGCOLOR="#FFFFC8" | 1 || || || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 01000000 || 1 || BGCOLOR="#FFC8C8" | 1 || BGCOLOR="#FFFFC8" | 2 || BGCOLOR="#C8FFC8" | 1 || || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 05000000 || 5 || || BGCOLOR="#FFFFC8" | 5 || BGCOLOR="#C8FFC8" | 5 || BGCOLOR="#C8FFFF" | 4 || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 04000000 || 4 || || || BGCOLOR="#C8FFC8" | 4 || BGCOLOR="#C8FFFF" | 5 || BGCOLOR="#FFC8FF" | 4 | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 07000000 || 7 || || || || BGCOLOR="#C8FFFF" | 7 || BGCOLOR="#FFC8FF" | 7 | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 06000000 || 6 || || || || || BGCOLOR="#FFC8FF" | 6 | |||
|-ALIGN=CENTER BGCOLOR="#696969" | |||
| COLSPAN=7 | <FONT COLOR="#FFFFFF" SIZE=2>Strip 2</FONT> | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 0A000080 || 10, high bit|| BGCOLOR="#FFC8C8" | 10|| || || || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 08000000 || 8 || BGCOLOR="#FFC8C8" | 8 || BGCOLOR="#FFFFC8" | 11|| || || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 0B000000 || 11 || BGCOLOR="#FFC8C8" | 11|| BGCOLOR="#FFFFC8" | 8 || BGCOLOR="#C8FFC8" | 11|| || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 0D000000 || 13 || || BGCOLOR="#FFFFC8" | 13|| BGCOLOR="#C8FFC8" | 13|| || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 0C000000 || 12 || || || BGCOLOR="#C8FFC8" | 12|| || | |||
|-ALIGN=CENTER BGCOLOR="#696969" | |||
| COLSPAN=7 | <FONT COLOR="#FFFFFF" SIZE=2>Strip 3</FONT> | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 0F000080 || 15, high bit|| BGCOLOR="#FFC8C8" | 15|| || || || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 01000000 || 1 || BGCOLOR="#FFC8C8" | 1 || BGCOLOR="#FFFFC8" | 14|| || || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 0E000000 || 14 || BGCOLOR="#FFC8C8" | 14|| BGCOLOR="#FFFFC8" | 1 || || || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 04000000 || 4 || || BGCOLOR="#FFFFC8" | 4 || || || | |||
|-ALIGN=CENTER BGCOLOR="#696969" | |||
| COLSPAN=7 | <FONT COLOR="#FFFFFF" SIZE=2>Strip 4</FONT> | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 02000080 || 2, high bit || BGCOLOR="#FFC8C8" | 2 || || || || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 00000000 || 0 || BGCOLOR="#FFC8C8" | 0 || || || || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 03000000 || 3 || BGCOLOR="#FFC8C8" | 3 || || || || | |||
|-ALIGN=CENTER BGCOLOR="#696969" | |||
| COLSPAN=7 | <FONT COLOR="#FFFFFF" SIZE=2>Strip 5</FONT> | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 08000080 || 8, high bit || BGCOLOR="#FFC8C8" | 8 || || || || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 0A000000 || 10 || BGCOLOR="#FFC8C8" | 10|| || || || | |||
|-ALIGN=CENTER VALIGN=TOP | |||
| 09000000 || 9 || BGCOLOR="#FFC8C8" | 9 || || || || | |||
|} | |} | ||
Revision as of 20:39, 16 September 2007
|
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 and the image 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 |
Strip 1 | ||||||
00000080 | 0, high bit | 0 | ||||
02000000 | 2 | 2 | 1 | |||
01000000 | 1 | 1 | 2 | 1 | ||
05000000 | 5 | 5 | 5 | 4 | ||
04000000 | 4 | 4 | 5 | 4 | ||
07000000 | 7 | 7 | 7 | |||
06000000 | 6 | 6 | ||||
Strip 2 | ||||||
0A000080 | 10, high bit | 10 | ||||
08000000 | 8 | 8 | 11 | |||
0B000000 | 11 | 11 | 8 | 11 | ||
0D000000 | 13 | 13 | 13 | |||
0C000000 | 12 | 12 | ||||
Strip 3 | ||||||
0F000080 | 15, high bit | 15 | ||||
01000000 | 1 | 1 | 14 | |||
0E000000 | 14 | 14 | 1 | |||
04000000 | 4 | 4 | ||||
Strip 4 | ||||||
02000080 | 2, high bit | 2 | ||||
00000000 | 0 | 0 | ||||
03000000 | 3 | 3 | ||||
Strip 5 | ||||||
08000080 | 8, high bit | 8 | ||||
0A000000 | 10 | 10 | ||||
09000000 | 9 | 9 |
ONI BINARY DATA |
---|
HPge << Other file types >> IGHH |
IDXA : Index Array |
Generic file |