OBD:AGDB: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(...and this is my last contribution at this point, a guide as to how to write about obsolete file types)
No edit summary
 
(2 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 | desc=Obsolete. '''AGDB'''s were probably used in the debugging process. They currently exist only as junk data, and only in the PC retail version, indicating that they were introduced somewhat at the last minute, after the demo was released, to work some final kinks out of the engine. | 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