OBD:AKBA: Difference between revisions

No edit summary
m (...)
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> AKBA File
{{OBD_File_Header | type=AKBA | prev=AKAA | next=AKBP | name=Side Array | family=Level | align=center}}




<CENTER>[[OBD:AKAA|<==]] <FONT SIZE=5>AKBA File</FONT> [[OBD:AKBP|==>]]<BR>
[[image:akba_a.gif]]
<FONT SIZE=2>Side Array - Level File</FONT></CENTER>




http://www.fh-eberswalde.de/user/dkriesch/onistuff/images/akba_a.gif
{{Table}}
{{OBDth}}
{{OBDtr | 0x00 | res_id  |FF0000| 01 4F 02 00 | 591      | 00591-.AKBA }}
{{OBDtr | 0x04 | lev_id  |FFFF00| 01 00 00 06 | 3        | level 3 }}
{{OBDtr | 0x08 | char[20] |00FF00| AD DE      | dead    | padding }}
{{OBDtr | 0x1C | uint32    |00FFFF| B7 06 00 00 | 1719    | array size }}
{{OBDtrBK}}
{{OBDtr | 0x00 | uint32hb  |FFC8C8| 00 00 00 00 |0, hig bit| plane index for this "side" (see [[OBD:AKEV|AKEV]] / [[OBD:PLEA|PLEA]]); high bit flips the plane }}
{{OBDtr | 0x04 | uint32    |FFFFC8| 00 00 00 00 | 0        | [[OBD:AKAA|AKAA]] range start (adjacencies for this side) }}
{{OBDtr | 0x08 | uint32    |C8FFC8| 01 00 00 00 | 1        | [[OBD:AKAA|AKAA]] range end (adjacencies for this side) }}
{{OBDtr | 0x0C | uint32    |C8FFFF| 00 00 00 00 | 0        | ghost GQ start index; ignored }}
{{OBDtr | 0x10 | uint32    |FFC8FF| 01 00 00 00 | 1        | ghost GQ end index; ignored }}
{{OBDtr | 0x14 | uint32    |FFC800| 00 00 00 00 | 0        | BNV quad start index; ignored }}
{{OBDtr | 0x18 | uint32    |C800C8| 01 00 00 00 | 1        | BNV quad end index; ignored }}
|}


;Plane
It appears that the plane is ignored by the engine. In particular if a side has adjacencies then it has ghost quads and any quad has an associated plane. Sometimes the ghost quads are inside the BNV (instead of being on the edge) and in that case the quad plane is different from the side plane.


{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
;[[OBD:AKAA|AKAA]] range
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
:These 2 fields make up a range of "adjacencies" (see [[OBD:AKAA|AKAA]]). If the fields are equal then the range is empty.
| WIDTH=15% | <B>Hex</B>
| WIDTH=15% | <B>Translation</B>
| WIDTH=70% | <B>Meaning</B>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF0000" | 01 4F 02 00
| 591
| ALIGN=LEFT | 00591-.AKBA
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFF00" | 01 00 00 06
| 3
| ALIGN=LEFT | level 3
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | AD DE
| dead
| ALIGN=LEFT | not used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FFFF" | B7 06 00 00
| 1719
| ALIGN=LEFT | 1719 packages follow (one package is edged in black)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 01 00 00 00
| 1
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 01 00 00 00
| 1
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C800C8" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown
|}
 


<HR>
<CENTER>[[OBD:AKAA|<==]] <B>AKBA File</B> [[OBD:AKBP|==>]]</CENTER>
<HR>


{{OBD_File_Footer | type=AKBA | prev=AKAA | next=AKBP | name=Side Array | family=Level}}


[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> AKBA File
{{OBD}}

Latest revision as of 11:07, 12 May 2025

ONI BINARY DATA
AKAA << Other file types >> AKBP
AKBA : Side Array
switch to XML:AKBA page
Overview @ Oni Stuff
OBD.png


Akba a.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 4F 02 00 591 00591-.AKBA
0x04 lev_id 01 00 00 06 3 level 3
0x08 char[20] AD DE dead padding
0x1C uint32 B7 06 00 00 1719 array size
First element (black outline)
0x00 uint32hb 00 00 00 00 0, hig bit plane index for this "side" (see AKEV / PLEA); high bit flips the plane
0x04 uint32 00 00 00 00 0 AKAA range start (adjacencies for this side)
0x08 uint32 01 00 00 00 1 AKAA range end (adjacencies for this side)
0x0C uint32 00 00 00 00 0 ghost GQ start index; ignored
0x10 uint32 01 00 00 00 1 ghost GQ end index; ignored
0x14 uint32 00 00 00 00 0 BNV quad start index; ignored
0x18 uint32 01 00 00 00 1 BNV quad end index; ignored
Plane

It appears that the plane is ignored by the engine. In particular if a side has adjacencies then it has ghost quads and any quad has an associated plane. Sometimes the ghost quads are inside the BNV (instead of being on the edge) and in that case the quad plane is different from the side plane.

AKAA range
These 2 fields make up a range of "adjacencies" (see AKAA). If the fields are equal then the range is empty.


ONI BINARY DATA
AKAA << Other file types >> AKBP
AKBA : Side Array
Level file