Extdata: Difference between revisions

Wwylele (talk | contribs)
VSXE File System Metadata: Migrate to Inner FAT
Mt56 (talk | contribs)
SD Extdata: Add Swapnote JPN ExtdataID
 
(9 intermediate revisions by 6 users not shown)
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
| Free blocks remained + (blocks occupied by the recently mounted file, specified by the ID below (0 if recently deleted))
|-
| 0x2C
| 4
| Always 0?
|-
| 0x30
| 4
| ID of most recently mounted file. Same as the one in [[Inner_FAT#Filesystem Header]]
|-
| 0x34
| 4
| Always 0?
|-
| 0x38
| 4
| Always 0?
|-
| 0x3C
| 4
| Always 0?
|-
| 0x40
| 4
| Size in bytes of most recently mounted file (device file size). 0 if recently deleted
|-
| 0x44
| 4
| Always 0?
|}
|}


Line 221: Line 272:
|  
|  
|-
|-
| ?
| 00000516
| 00000517
| 00000517
| 00000518
| 00000518
Line 325: Line 376:
|-
|-
| ?
| ?
| ?
| 00001132
| 00001131
| 00001131
| Fantasy Life
| Fantasy Life
Line 337: Line 388:
|-
|-
| ?
| ?
| ?
| 000012c8
| 000012ca
| 000012ca
| Mario vs. Donkey Kong: Tipping Stars
| Mario vs. Donkey Kong: Tipping Stars
Line 384: Line 435:
|  
|  
|-
|-
| ?
| 000016C6
| ?
| ?
| 00001678
| 00001678
Line 397: Line 448:
|-
|-
| ?
| ?
| ?
| 0000198e
| 0000198f
| 0000198f
| Animal Crossing: New Leaf - Welcome amiibo
| Animal Crossing: New Leaf - Welcome amiibo
Line 408: Line 459:
|  
|  
|-
|-
| ?
| 00001a2c
| ?
| ?
| 00001a2e
| 00001a2e
Line 495: Line 546:
Empty space is filled with 0xC-long sequences of 00 00 ... 07
Empty space is filled with 0xC-long sequences of 00 00 ... 07


=== Tools ===
== Tools ==
 
* [https://github.com/wwylele/3ds-save-tool 3ds-save-tool] - Extract/verifies extdata
* [https://github.com/wwylele/3ds-save-tool 3ds-save-tool] - Extract/verifies extdata