Changes

Jump to navigation Jump to search
974 bytes added ,  23:56, 11 August 2017
A bit of info about the private folder on the root of the SD card, it needs more research though...
Line 4: Line 4:  
  sdmc
 
  sdmc
 
  ├── DCIM
 
  ├── DCIM
  └── Nintendo 3DS
+
  ├── Nintendo 3DS
    ├── <ID0>
+
│  ├── <ID0>
    │  └── <ID1>
+
│  │  └── <ID1>
    │      ├── [[Title Database|dbs]]
+
│  │      ├── [[SD Savedata Backups|backups]]
    │      ├── [[extdata]]
+
│  │      ├── [[Title Database|dbs]]
    │      ├── [[Title Data Structure|title]]
+
│  │      ├── [[extdata]]
    │      └── [[System Settings#DSiWare|Nintendo DSiWare]]
+
│  │      ├── [[Title Data Structure|title]]
    └── [[SD Filesystem#Private|Private]]
+
│  │      └── [[DSiWare_Exports|Nintendo DSiWare]]
   
+
│  └── [[SD Filesystem#Private|Private]]
 +
└── [[SD Filesystem#Other Private Data|private]]
 +
    └── Nintendo 3DS
 +
        └── app
   −
* Everything stored under sdmc/Nintendo 3DS/<ID0>/<ID1> and [[Flash Filesystem|nand/data/<ID0>]] is encrypted with console-unique [[AES|keyslots]], everything in the CTR-NAND FS encrypted using console-unique keyslots is likely stored under that directory as well. All CTR files under these directories seem to use the keyslots initialized by [[nand/private/movable.sed]].
+
 
 +
* Everything stored under sdmc/Nintendo 3DS/<ID0>/<ID1> is encrypted with console-unique [[AES|keyslots]], files stored under [[Flash Filesystem|nand/data/<ID0>]] only use these keyslots for MACs. All CTR files under these directories use the keyslots initialized by [[nand/private/movable.sed]].
 
* ID0 is the first 0x10-bytes from a SHA256 [[nand/private/movable.sed|hash]].  
 
* ID0 is the first 0x10-bytes from a SHA256 [[nand/private/movable.sed|hash]].  
 
* ID1 is the scrambled SD card CID from the SD card which this directory was originally created on. To generate this directory name from the original CID, first the CID is rotated 8-bits to the left. Then, each u16 is moved as described in the below table:
 
* ID1 is the scrambled SD card CID from the SD card which this directory was originally created on. To generate this directory name from the original CID, first the CID is rotated 8-bits to the left. Then, each u16 is moved as described in the below table:
Line 51: Line 55:     
Note: Playing/Recording (3D) Videos was introduced with update [[3.0.0-5]]. The 3D videos are in .avi format and the video frames use MJPG.
 
Note: Playing/Recording (3D) Videos was introduced with update [[3.0.0-5]]. The 3D videos are in .avi format and the video frames use MJPG.
 +
 +
'''backups''' - This directory contains SD Title Savedata backups. For more info, see [[SD Savedata Backups]].
    
'''dbs''' - This contains database files relating to the titles installed on the SD Card. These files are encrypted. For more info, see [[Title Database]]
 
'''dbs''' - This contains database files relating to the titles installed on the SD Card. These files are encrypted. For more info, see [[Title Database]]
Line 56: Line 62:  
'''title''' - Title data for titles installed to the SD Card are found here. All data in this directory is encrypted with a console-unique [[AES|keyslot]]. For a list of SD Card titles see the [[Title list]]. For more info on the title data structure see [[Title Data Structure]].
 
'''title''' - Title data for titles installed to the SD Card are found here. All data in this directory is encrypted with a console-unique [[AES|keyslot]]. For a list of SD Card titles see the [[Title list]]. For more info on the title data structure see [[Title Data Structure]].
   −
'''Nintendo DSiWare''' - DSiWare titles are exported here.
+
'''Nintendo DSiWare''' - DSiWare titles are [[DSiWare_Exports|exported]] here.
    
== Private ==
 
== Private ==
Line 69: Line 75:  
When you want to install and see pictures with 3DS, rename to 8 numbers.mpo and save it on /DCIM.
 
When you want to install and see pictures with 3DS, rename to 8 numbers.mpo and save it on /DCIM.
 
Under the sound private dir is: voice/XX/*.m4a. Where XX is 01-10, with sound saved as .m4a.
 
Under the sound private dir is: voice/XX/*.m4a. Where XX is 01-10, with sound saved as .m4a.
 +
 +
== Other Private Data ==
 +
 +
There is also a directory called "private" on the root of the SD card that contains data, in which would otherwise be completely different from what the Nintendo 3DS normally uses, but known to the application itself.
 +
 +
Some apps, such as Flipnote Studio 3D create a directory called "private" on the root of the SD Card, it contains a Nintendo 3DS directory inside it. Inside the app directory contains a directory with the game code of the application (eg. "JKZP" for Flipnote Studio 3D), then its corresponding data, as shown here:
 +
 +
/private/Nintendo 3DS/app/<Game Code>/
 +
 +
In this case of Flipnote Studio 3D, there are multiple files with an ID, then ending with the .kwz extension. There is also a !!.lst file as well.

Navigation menu