OBD:ABNA: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
No edit summary
Line 59: Line 59:
| 0x00 || long || BGCOLOR="#FFC8C8" | 68 89 00 00 || 35176 || ALIGN=LEFT | [[OBD:AGQG | AGQG]] package number
| 0x00 || long || BGCOLOR="#FFC8C8" | 68 89 00 00 || 35176 || ALIGN=LEFT | [[OBD:AGQG | AGQG]] package number
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
| 0x04 || long hb || BGCOLOR="#FFFFC8" | 73 00 00 00 || 115, high bit || ALIGN=LEFT | [[OBD:PLEA | PLEA]] package number, unknown
| 0x04 || long hb || BGCOLOR="#FFFFC8" | 73 00 00 00 || 115, high bit || ALIGN=LEFT | [[OBD:PLEA | PLEA]] package number, if high bit set the plane normal must be reversed
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
| 0x08 || long || BGCOLOR="#C8FFC8" | 01 00 00 00 || 1 || ALIGN=LEFT | unknown; (maybe a link to another ABNA package, because the highest value is 998)
| 0x08 || long || BGCOLOR="#C8FFC8" | 01 00 00 00 || 1 || ALIGN=LEFT | front [[ABNA | ABNA]] child package index or -1 if there is none
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
| 0x0C || long || BGCOLOR="#C8FFFF" | DB 01 00 00 || 475 || ALIGN=LEFT | unknown; (maybe a link to another ABNA package, because the highest value is 999)
| 0x0C || long || BGCOLOR="#C8FFFF" | DB 01 00 00 || 475 || ALIGN=LEFT | back [[ABNA | ABNA]] child package index or -1 if there is none
|}
|}
:
:

Revision as of 12:20, 16 April 2007

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:  01 51 02 00 01 00 00 06 AD DE AD DE AD DE AD DE  °NONSENSE°ASCII°
0x10:  AD DE AD DE AD DE AD DE AD DE AD DE E8 03 00 00  °°°°°°°°°°°°°°°°
0x20:  68 89 00 00 73 00 00 00 01 00 00 00 DB 01 00 00  °°°°°°°°°°°°°°°°
0x30:  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 {{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)
Offset Type Raw Hex Value Description
0x00 file id 01 51 02 00 593 00593-.ABNA
0x04 level id 01 00 00 06 3 level 3
0x08 unused (20) AD DE dead not used
0x1C long E8 03 00 00 1000 1000 packages follow (one package is edged in black)
Below follows the first package.
0x00 long 68 89 00 00 35176 AGQG package number
0x04 long hb 73 00 00 00 115, high bit PLEA package number, if high bit set the plane normal must be reversed
0x08 long 01 00 00 00 1 front ABNA child package index or -1 if there is none
0x0C long DB 01 00 00 475 back ABNA child package index or -1 if there is none
Unknown (last two)
Hm, these are almost certainly links to other nodes (it's a tree, heh).
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)
Gunk quad link
Ditto (beats me, investigating ASAP)
geyser 21:54, 18 November 2006 (CET)
BSP
What does BSP stand for, anyway?
geyser 00:51, 18 November 2006 (CET)

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