Line 34:
Line 34:
== Quota File ==
== Quota File ==
β
The inner data of <code>Quota.dat</code> is 0x48 bytes with the following format. The exact function of this file is unclear.
+
The inner data of <code>Quota.dat</code> is 0x48 bytes with the following format. The file seems to limit the extdata total size.
{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 51:
Line 51:
| 0x08
| 0x08
| 4
| 4
β
| 0x1000, block size?
+
| 0x1000, block size
|-
|-
| 0x0C
| 0x0C
Line 57:
Line 57:
| Always 126. Probably device directory capacity. See the [[#Device Directory Capacity]] more information.
| Always 126. Probably device directory capacity. See the [[#Device Directory Capacity]] more information.
|-
|-
β
| ...
+
| 0x10
β
|
+
| 4
β
+
| Always 0?
β
| The meaning of other fields is unknown
+
|-
+
| 0x14
+
| 4
+
| Max number of blocks
+
|-
+
| 0x18
+
| 4
+
| Always 0?
+
|-
+
| 0x1C
+
| 4
+
| Free blocks remained
+
|-
+
| 0x20
+
| 4
+
| Always 0?
+
|-
+
| 0x24
+
| 4
+
| Always 0?
+
|-
+
| 0x28
+
| 4
+
| Equal or greater than the free blocks number?
+
|-
+
| 0x2C
+
| 4
+
| Always 0?
+
|-
+
| 0x30
+
| 4
+
| ID of most recently mounted Extdata image. Same as the one in [[Inner_FAT#Filesystem Header]]
+
|-
+
| 0x34
+
| 4
+
| Always 0?
+
|-
+
| 0x38
+
| 4
+
| Always 0?
+
|-
+
| 0x3C
+
| 4
+
| Always 0?
+
|-
+
| 0x40
+
| 4
+
| ?
+
|-
+
| 0x44
+
| 4
+
| Always 0?
|}
|}