Changes

525 bytes added ,  10:37, 26 August 2012
m
→‎CTR partition: Directory trees
Line 52: Line 52:     
=CTR partition=
 
=CTR partition=
The structure of [[nand/title]] appears to be exactly the same as [[SD Filesystem|SD]], except savegames are stored under the [[System SaveData|nand/data/<ID>/sysdata]] directory instead.
+
The structure of [[nand/title]] appears to be exactly the same as [[SD Filesystem|SD]], except savegames are stored under the [[System SaveData|nand/data/<ID0>/sysdata]] directory instead.
The sub-directory name under [[nand/data]] is the same SHA256 hash over the [[nand/private/movable.sed|movable.sed]] keyY used for the "sdmc/Nintendo 3DS" sub-directory. This nand/data/<ID> directory is the NAND equivalent of the "sdmc/Nintendo 3DS/<ID0>/<ID1>" directory. The nand/data/<ID>/extdata directory contains the shared [[extdata]], and is structured/encrypted exactly the same way as SD extdata.
+
The sub-directory name under [[nand/data]] is the same SHA256 hash over the [[nand/private/movable.sed|movable.sed]] keyY used for the "sdmc/Nintendo 3DS" sub-directory. This nand/data/<ID0> directory is the NAND equivalent of the "sdmc/Nintendo 3DS/<ID0>/<ID1>" directory. The nand/data/<ID0>/extdata directory contains the shared [[extdata]], and is structured/encrypted exactly the same way as SD extdata. (ID0 is the first 0x10-bytes from a SHA256 [[nand/private/movable.sed|hash]])
    
The "nandrw" [[FS:OpenArchive|archive]] is mounted at "nand:/rw/", while the "nandro" archive is mounted at "nand:/ro/".
 
The "nandrw" [[FS:OpenArchive|archive]] is mounted at "nand:/rw/", while the "nandro" archive is mounted at "nand:/ro/".
   −
* [[nandro/private]]
+
nandro
* [[nandro/shared]]
+
├── [[nandro/private|private]]
* [[nandro/sys]]
+
├── [[nandro/shared|shared]]
* [[nandro/sys/HWCAL0.dat]]
+
└── [[nandro/sys|sys]]
* [[nandro/sys/HWCAL1.dat]]
+
      ├── [[nandro/sys/HWCAL0.dat|HWCAL0.dat]]
* [[nandrw/shared]]
+
      └── [[nandro/sys/HWCAL1.dat|HWCAL1.dat]]
* [[nandrw/sys]]
+
nandrw
* [[nandrw/sys/updater.log]]
+
├── [[nandrw/shared|shared]]
* [[nandrw/sys/native.log]]
+
└── [[nandrw/sys|sys]]
* [[nandrw/sys/SecureInfo_A]]
+
    ├── [[nandrw/sys/LocalFriendCodeSeed_B|LocalFriendCodeSeed_B]]
* [[nandrw/sys/rand_seed]]
+
    ├── [[nandrw/sys/native.log|native.log]]
* [[nandrw/sys/LocalFriendCodeSeed_B]]
+
    ├── [[nandrw/sys/rand_seed|rand_seed]]
 +
    ├── [[nandrw/sys/SecureInfo_A|SecureInfo_A]]
 +
    └── [[nandrw/sys/updater.log|updater.log]]
   −
* [[Title Data Structure|nand/title/]]
+
nand
* [[nand/tmp/]]
+
├── [[nand/data|data]]
* [[nand/private/movable.sed]]
+
│  └── <ID0>
* [[nand/data]]
+
│        ├── [[Title Database|dbs]]
* [[Extdata|nand/data/<ID>/extdata]]
+
│        ├── [[Extdata|extdata]]        
* [[System SaveData|nand/data/<ID>/sysdata]] (NAND savegames are stored at "<SaveID0>/<SaveID1>" under this directory)
+
│        └── [[System SaveData|sysdata]] (NAND savegames are stored at "<SaveID0>/<SaveID1>" under this directory)
 +
├── private
 +
│  └── [[nand/private/movable.sed|movable.sed]]
 +
├── [[Title Data Structure|title]]
 +
└── [[nand/tmp/|tmp]]
    
=TWL partition=
 
=TWL partition=
839

edits