Previous ChapterTHE STRUCTURE OF A DAT FILENext Chapter
Chapter 2 - The head
Part 1 - Start

The first image shows the beginning of part 1, the second image the end of it.

ColourMeaning
41 50 47 49extension of the file (APGI)
08 00 00 00start number + all file sizes of the files before (8, because this is the first file, so you can find here only the start number; the start number is always 8)
00 00 00 00sum of the name lenght of all named files before (0); if this file isn't named, this field is always zero *
40 00 00 00file size (64 bytes)
01 00 10 00file indentification **
and so on...
9C 02 00 00already the beginning of part 2

*)To see, what the name lenght is, look at chapter 4.
**)There are four different identification numbers in Oni:

NumberMeaning
01 00 10 00not shared unnamed files (only one file link to this file)
09 00 10 00shared unnamed files (more than one file link to this file)
00 00 30 00named files
02 00 00 00zero byte files (that means that Oni takes the information from level 0)


Previous ChapterTable of contentsNext Chapter

Back to main page