OBD:AGDB: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (wiki code)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{OBD_File_Header | type=AGDB | prev=ABNA | next=AGQC | name=Gunk Quad Debug Array | family=Level | align=center}}
{{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}}




Line 12: Line 12:
{{OBDtr | 0x1C | int32    |00FFFF| 15 A8 00 00 | 35349      | array size }}
{{OBDtr | 0x1C | int32    |00FFFF| 15 A8 00 00 | 35349      | array size }}
{{OBDtrBK}}
{{OBDtrBK}}
{{OBDtr | 0x00 | offset  |FFC8C8| 80 B6 46 00 | 00 46 B6 80 | at this position starts the "old file name 1" part in the raw file }}
{{OBDtr | 0x00 | offset  |FFC8C8| 80 B6 46 00 | 00 46 B6 80 | object name offset in the .raw file}}
{{OBDtr | 0x04 | offset  |FFFFC8| A0 B6 46 00 | 00 46 B6 A0 | at this position starts the "old file name 2" part in the raw file }}
{{OBDtr | 0x04 | offset  |FFFFC8| A0 B6 46 00 | 00 46 B6 A0 | file name offset in the .raw file }}
|}
|}




35349 is the amount of gunk quads. Two faces (triangles) form a gunk quad.
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.




It seems that this file is useless, because you can set all to zero without any problems and the raw file part contains only old file names. Plus the Oni files of the Mac and the PC demo don't have any AGDB files.


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


{{OBD_File_Footer | type=AGDB | prev=ABNA | next=AGQC | name=Gunk Quad Debug Array | family=Level}}
{{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