THE STRUCTURE OF A DAT FILE
The first image shows the beginning of part 1, the second image the end of it.
![]() |
![]() |
| Colour | Meaning |
|---|---|
| 41 50 47 49 | extension of the file (APGI) |
| 08 00 00 00 | start 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 00 | sum of the name lenght of all named files before (0); if this file isn't named, this field is always zero * |
| 40 00 00 00 | file size (64 bytes) |
| 01 00 10 00 | file indentification ** |
| and so on... | |
| 9C 02 00 00 | already the beginning of part 2 |
| *) | To see, what the name lenght is, look at chapter 4. |
| **) | There are four different identification numbers in Oni: |
| Number | Meaning |
|---|---|
| 01 00 10 00 | not shared unnamed files (only one file link to this file) |
| 09 00 10 00 | shared unnamed files (more than one file link to this file) |
| 00 00 30 00 | named files |
| 02 00 00 00 | zero byte files (that means that Oni takes the information from level 0) |
![]() | Table of contents | ![]() |
