OBD:AGDB: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File types]] >> AGDB
{{OBD_File_Header | type=AGDB | prev=ABNA | next=AGQC | name=Gunk Quad Debug Array | family=Level | desc='''AGDB'''s are intended for debugging. They store the source file and object name of each gunk quad. | align=center}}




<CENTER>[[OBD:ABNA|<==]] <FONT SIZE=5>AGDB</FONT> [[OBD:AGQC|==>]]<BR>
[[image:agdb_a.gif]]
<FONT SIZE=2>Gunk Quad Debug Array - Level file</FONT></CENTER>




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/agdb_a.gif
{{Table}}
 
{{OBDth}}
 
{{OBDtr | 0x00 | res_id  |FF0000| 01 4C 02 00 | 588         | 00588-.AGDB }}
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
{{OBDtr | 0x04 | lev_id  |FFFF00| 01 00 00 06 | 3           | level 3 }}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDtr | 0x08 | char[20] |00FF00| AD DE       | dead       | unused }}
| WIDTH=15% | <B>Hex</B>
{{OBDtr | 0x1C | int32    |00FFFF| 15 A8 00 00 | 35349       | array size }}
| WIDTH=15% | <B>Translation</B>
{{OBDtrBK}}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr | 0x00 | offset  |FFC8C8| 80 B6 46 00 | 00 46 B6 80 | object name offset in the .raw file}}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr | 0x04 | offset  |FFFFC8| A0 B6 46 00 | 00 46 B6 A0 | file name offset in the .raw file }}
| BGCOLOR="#FF0000" | 01 4C 02 00
| 588
| ALIGN=LEFT | 00588-.AGDB
|- 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" | 15 A8 00 00
| 35349
| ALIGN=LEFT | 35349 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" | 80 B6 46 00
| 46 B6 80
| ALIGN=LEFT | at this position starts the unknown1 part in the raw file
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | A0 B6 46 00
| 46 B6 A0
| ALIGN=LEFT | at this position starts the unknown2 part in the raw file
|}
|}




Maybe an interesting fact: The 3D-model of level 3 (the lab) has 70698 faces. 35349 is the half of it.<BR>It seems, that this file is useless, because you can set all to zero without any problems and the raw file part looks totally weird.
35349 is the number of [[AGQG|gunk quads]]. The object and file name of a gunk quad are not used by the engine, they're used only for debugging purposes.




<HR>
<CENTER>[[OBD:ABNA|<==]] <B>AGDB</B> [[OBD:AGQC|==>]]</CENTER>
<HR>


{{OBD_File_Footer | type=AGDB | prev=ABNA | next=AGQC | name=Gunk Quad Debug Array | family=Level}}


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

Latest revision as of 11:07, 19 October 2010

ONI BINARY DATA
ABNA << Other file types >> AGQC
AGDB : Gunk Quad Debug Array
switch to XML:AGDB page
Overview @ Oni Stuff
OBD.png


Agdb a.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 4C 02 00 588 00588-.AGDB
0x04 lev_id 01 00 00 06 3 level 3
0x08 char[20] AD DE dead unused
0x1C int32 15 A8 00 00 35349 array size
First element (black outline)
0x00 offset 80 B6 46 00 00 46 B6 80 object name offset in the .raw file
0x04 offset A0 B6 46 00 00 46 B6 A0 file name offset in the .raw file


35349 is the number of gunk quads. The object and file name of a gunk quad are not used by the engine, they're used only for debugging purposes.


ONI BINARY DATA
ABNA << Other file types >> AGQC
AGDB : Gunk Quad Debug Array
Level file