OBD:ABNA: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(geyser, do we need an "end" column here too, or is it enough?)
m (How's that?)
Line 1: Line 1:
{{OBD_File_Header | type=ABNA | prev=WPge | next=AGDB | name=BSP Tree Node Array | family=Level | align=center}}
{{OBD_File_Header | type=ABNA | prev=WPge | next=AGDB | name=BSP Tree Node Array | family=Level | align=center}}
:
----
:
:
{{OBD_File_Image | image=abna_a.gif}}
{{OBD_File_Image | image=abna_a.gif}}
:
:
----
Wiki-markup alternative ([[Template:HexRow]])
:
{|cellspacing=0 cellpadding=3
{{HexRow|0x00
|01|51|02|00|01|00|00|06|AD|DE|AD|DE|AD|DE|AD|DE|
|FF|FF|FF|FF|FF|FF|FF|FF|00|00|00|00|00|00|00|00|
|00|00|00|00|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|
|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|
|Who needs this?°}}
{{HexRow|0x10
|AD|DE|AD|DE|AD|DE|AD|DE|AD|DE|AD|DE|E8|03|00|00|
|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|
|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|
|00|00|00|00|00|00|00|00|00|00|00|00|FF|FF|FF|FF|
}}
{{HexRow|0x20
|'''68'''|'''89'''|'''00'''|'''00'''|'''73'''|'''00'''|'''00'''|'''00'''|'''01'''|'''00'''|'''00'''|'''00'''|'''DB'''|'''01'''|'''00'''|'''00'''|
|FF|FF|FF|FF|FF|FF|FF|FF|C8|C8|C8|C8|C8|C8|C8|C8|
|C8|C8|C8|C8|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|FF|
|C8|C8|C8|C8|C8|C8|C8|C8|C8|C8|C8|C8|FF|FF|FF|FF|
}}
{{HexRow|0x10
|46|4C|00|00|42|28|00|00|02|00|00|00|D7|00|00|00|
}}
|}
:
----
:
;Notes of the table format
*The ALIGN=CENTER VALIGN=TOP for every row is redundant : you can set that up in the table header.
*The non-breaking spaces could be avoided by disabling word wrap : the "Meaning" field should have rather short lines.
*If you need to expand on a field's meaning, you can always put extra documentation (sorta footnote) below the table
:(paragraphs, formulas, mini-tables, etc).
*Alternatively, the generic row can be a set template, with no-wrapping specified only for columns 3 and 4
*you'd call it with something like <nowiki>{{OBD Table Row| 0x00 | File ID | FF0000 | 01 '''51 02''' 00 | 593 | 00593-.ABNA }}</nowiki>
Yeah, I know, this should go in the talk page. We'll delete it later anyway. For now let's use ABNA as a sandbox/battlefield ^^
:[[User:Geyser|geyser]] 17:57, 17 November 2006 (CET)
{{OBD_File_Table}}
{{OBD_File_Table}}
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
| 0x00 || 4 || BGCOLOR="#FF0000" | 01 51 02 00 || 593 || ALIGN=LEFT | 00593-.ABNA
| 0x00 || 4 || BGCOLOR="#FF0000" | 01 '''51 02''' 00 || 593 || ALIGN=LEFT | 00593-.ABNA
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
| 0x04 || 4 || BGCOLOR="#FFFF00" | 01 00 00 06 || 3 || ALIGN=LEFT | level 3
| 0x04 || 4 || BGCOLOR="#FFFF00" | 01 00 00 '''06''' || 3 || ALIGN=LEFT | level 3
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
| 0x08 || 20 || BGCOLOR="#00FF00" | AD DE || dead || ALIGN=LEFT | not used
| 0x08 || 20 || BGCOLOR="#00FF00" | AD DE || dead || ALIGN=LEFT | not used
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
| 0x1C || 4 || BGCOLOR="#00FFFF" | E8 03 00 00 || 1000 || ALIGN=LEFT | 1000 packages follow (one package is edged in black)
| 0x1C || 4 || BGCOLOR="#00FFFF" | E8 03 00 00 || 1000 || ALIGN=LEFT | 1000 packages (BSP tree nodes) follow (first package is in bold)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
| COLSPAN=5 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
| COLSPAN=5 | <FONT SIZE=2 COLOR="#FFFFFF">First package (BSP tree node) detailed below</FONT>
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
| 0x00 || 4 || BGCOLOR="#FFC8C8" | 68 89 00 00 || 35176 || ALIGN=LEFT | [[OBD:AGQG | AGQG]] package number
| 0x00 || 4 || BGCOLOR="#FFC8C8" | 68 89 00 00 || 35176 || ALIGN=LEFT | [[OBD:AGQG | AGQG]] package number
Line 23: Line 63:
| 0x0C || 4 || BGCOLOR="#C8FFFF" | DB&nbsp;01&nbsp;00&nbsp;00 || 475 || ALIGN=LEFT | unknown; (maybe a link to another ABNA package, because the highest value is 999)
| 0x0C || 4 || BGCOLOR="#C8FFFF" | DB&nbsp;01&nbsp;00&nbsp;00 || 475 || ALIGN=LEFT | unknown; (maybe a link to another ABNA package, because the highest value is 999)
|}
|}
:
;Unknown (last two)
:Hm, these are ''almost certainly'' links to other nodes (it's a tree, heh).
:Info on extreme values of unknown fields (especially integers) are quite useful.
:Could you systematically provide them when they're available?
::[[User:Geyser|geyser]] 17:57, 17 November 2006 (CET)
;Plane equation link
:Beats me right now, but a look at the child nodes will surely help. Investigating ASAP...
:Should be something like a separating plane that makes the engine choose one child or the other.
:Probably axis-aligned.
::[[User:Geyser|geyser]] 17:57, 17 November 2006 (CET)
 
 
----
----
{{OBD_File_Footer | type=ABNA | prev=WPge | next=AGDB | name=BSP Tree Node Array}}
{{OBD_File_Footer | type=ABNA | prev=WPge | next=AGDB | name=BSP Tree Node Array}}
:

Revision as of 16:57, 17 November 2006

ONI BINARY DATA
WPge << Other file types >> AGDB
ABNA : BSP Tree Node Array
switch to XML:ABNA page
Overview @ Oni Stuff
OBD.png

Template:OBD File Image


Wiki-markup alternative (Template:HexRow)

0x00
 
51 02 00 01 00 00 06 AD DE AD DE AD DE AD DE BGCOLOR="#


"|

 °°°°°°°°°°°°°°°°
0x10
 
DE AD DE AD DE AD DE AD DE AD DE E8 03 00 00 BGCOLOR="#


"|

 °°°°°°°°°°°°°°°°
0x20
 
89 00 00 73 00 00 00 01 00 00 00 DB 01 00 00 BGCOLOR="#


"|

 °°°°°°°°°°°°°°°°
0x10
 
4C 00 00 42 28 00 00 02 00 00 00 D7 00 00 00  °°°°°°°°°°°°°°°°

Notes of the table format
  • The ALIGN=CENTER VALIGN=TOP for every row is redundant : you can set that up in the table header.
  • The non-breaking spaces could be avoided by disabling word wrap : the "Meaning" field should have rather short lines.
  • If you need to expand on a field's meaning, you can always put extra documentation (sorta footnote) below the table
(paragraphs, formulas, mini-tables, etc).
  • Alternatively, the generic row can be a set template, with no-wrapping specified only for columns 3 and 4
  • you'd call it with something like {{OBD Table Row| 0x00 | File ID | FF0000 | 01 '''51 02''' 00 | 593 | 00593-.ABNA }}

Yeah, I know, this should go in the talk page. We'll delete it later anyway. For now let's use ABNA as a sandbox/battlefield ^^

geyser 17:57, 17 November 2006 (CET)

Template:OBD File Table |- ALIGN=CENTER VALIGN=TOP | 0x00 || 4 || BGCOLOR="#FF0000" | 01 51 02 00 || 593 || ALIGN=LEFT | 00593-.ABNA |- ALIGN=CENTER VALIGN=TOP | 0x04 || 4 || BGCOLOR="#FFFF00" | 01 00 00 06 || 3 || ALIGN=LEFT | level 3 |- ALIGN=CENTER VALIGN=TOP | 0x08 || 20 || BGCOLOR="#00FF00" | AD DE || dead || ALIGN=LEFT | not used |- ALIGN=CENTER VALIGN=TOP | 0x1C || 4 || BGCOLOR="#00FFFF" | E8 03 00 00 || 1000 || ALIGN=LEFT | 1000 packages (BSP tree nodes) follow (first package is in bold) |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000" | COLSPAN=5 | First package (BSP tree node) detailed below |- ALIGN=CENTER VALIGN=TOP | 0x00 || 4 || BGCOLOR="#FFC8C8" | 68 89 00 00 || 35176 || ALIGN=LEFT | AGQG package number |- ALIGN=CENTER VALIGN=TOP | 0x04 || 4 || BGCOLOR="#FFFFC8" | 73 00 00 00 || 115, high bit || ALIGN=LEFT | PLEA package number, unknown |- ALIGN=CENTER VALIGN=TOP | 0x08 || 4 || BGCOLOR="#C8FFC8" | 01 00 00 00 || 1 || ALIGN=LEFT | unknown; (maybe a link to another ABNA package, because the highest value is 998) |- ALIGN=CENTER VALIGN=TOP | 0x0C || 4 || BGCOLOR="#C8FFFF" | DB 01 00 00 || 475 || ALIGN=LEFT | unknown; (maybe a link to another ABNA package, because the highest value is 999) |}

Unknown (last two)
Hm, these are almost certainly links to other nodes (it's a tree, heh).
Info on extreme values of unknown fields (especially integers) are quite useful.
Could you systematically provide them when they're available?
geyser 17:57, 17 November 2006 (CET)
Plane equation link
Beats me right now, but a look at the child nodes will surely help. Investigating ASAP...
Should be something like a separating plane that makes the engine choose one child or the other.
Probably axis-aligned.
geyser 17:57, 17 November 2006 (CET)




ONI BINARY DATA
WPge << Other file types >> AGDB
ABNA : BSP Tree Node Array
[[OBD:File types/{{{family}}}|{{{family}}} file]]