Difference between revisions of "SD Filesystem"

From 3dbrew
Jump to navigation Jump to search
(Changed to directory tree, and added quick summaries of each relevant directory to the page.)
Line 1: Line 1:
The 3DS uses an SD Card for general storage of additional game data, music and photos taken with the 3DS.
+
== Overview ==
 +
The 3DS uses an SD Card for general storage of game data, music, photos and videos taken with the 3DS.
  
Most 3DS SD card data is stored under "/Nintendo 3DS/<ID0>/<ID1>", where ID0 is the first 0x10-bytes from a SHA256 [[nand/private/movable.sed|hash]]. ID1 is the SD card CID from the SD card which this directory was originally created on, with each u16 moved around from the original CID.
+
sdmc
 +
├── DCIM
 +
└── Nintendo 3DS
 +
    ├── <ID0>
 +
    │  └── <ID1>
 +
    │      ├── [[Title Database|dbs]]
 +
    │      ├── [[extdata]]
 +
    │      ├── [[Title Data Structure|title]]
 +
    │      └── [[System Settings#DSiWare|Nintendo DSiWare]]
 +
    └── [[SD Filesystem#Private|Private]]
 +
   
  
* sdmc/DCIM - Photos/Videos and images downloaded with the Internet Browser. Video feature introduced with [[3.0.0-5]]
+
* ID0 is the first 0x10-bytes from a SHA256 [[nand/private/movable.sed|hash]].
* [[SD Filesystem#Private|sdmc/Nintendo 3DS/Private]]
+
* ID1 is the SD card CID from the SD card which this directory was originally created on, with each u16 moved around from the original CID.
* [[Title Database|sdmc/Nintendo 3DS/<ID0>/<ID1>/dbs]]
 
* [[extdata|sdmc/Nintendo 3DS/<ID0>/<ID1>/extdata]]
 
* [[Title Data Structure|sdmc/Nintendo 3DS/<ID0>/<ID1>/title]]
 
* [[System Settings#DSiWare|sdmc/Nintendo 3DS/<ID0>/<ID1>/Nintendo DSiWare]]
 
  
(The 3D videos are in .avi format and the video frames use MJPG.)
+
'''DCIM''' - Photos and Videos taken by the [[Nintendo 3DS Camera]] application are stored in this directory. Internet Browser image downloads are stored here too.
 +
 
 +
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.
 +
 
 +
'''dbs''' - This contains database files relating to the titles installed on the SD Card. These files are encrypted. For more info, see [[Title Database]]
 +
 
 +
'''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.
  
 
== Extdata ==
 
== Extdata ==
Additional game data is stored here:
+
Additional game data is stored here.
: /Nintendo 3DS/<ID0>/<ID1>/extdata/00000000
 
  
 
See the [[extdata]] page for more extdata info and the extdataIDs list.
 
See the [[extdata]] page for more extdata info and the extdataIDs list.
  
 
All "extra data" under [[extdata]] is encrypted. Extdata can't be decrypted with the xorpad fail used for old FLASH saves. All "extra data" files can't be copied to other 3DS SD cards, they are locked to the console.
 
All "extra data" under [[extdata]] is encrypted. Extdata can't be decrypted with the xorpad fail used for old FLASH saves. All "extra data" files can't be copied to other 3DS SD cards, they are locked to the console.
 +
  
 
== Private ==
 
== Private ==

Revision as of 16:19, 24 August 2012

Overview

The 3DS uses an SD Card for general storage of game data, music, photos and videos taken with the 3DS.

sdmc
├── DCIM
└── Nintendo 3DS
    ├── <ID0>
    │   └── <ID1>
    │       ├── dbs
    │       ├── extdata
    │       ├── title
    │       └── Nintendo DSiWare
    └── Private
   
  • ID0 is the first 0x10-bytes from a SHA256 hash.
  • ID1 is the SD card CID from the SD card which this directory was originally created on, with each u16 moved around from the original CID.

DCIM - Photos and Videos taken by the Nintendo 3DS Camera application are stored in this directory. Internet Browser image downloads are stored here too.

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.

dbs - This contains database files relating to the titles installed on the SD Card. These files are encrypted. For more info, see Title Database

title - Title data for titles installed to the SD Card are found here. All data in this directory is encrypted with a console-unique 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.

Extdata

Additional game data is stored here.

See the extdata page for more extdata info and the extdataIDs list.

All "extra data" under extdata is encrypted. Extdata can't be decrypted with the xorpad fail used for old FLASH saves. All "extra data" files can't be copied to other 3DS SD cards, they are locked to the console.


Private

"Private" data is stored here:

/Nintendo 3DS/Private/<Title ID Low>/
00020400 - Nintendo 3DS Camera 
00020500 - Nintendo 3DS Sound


"Private" data for 3DS Sound/Camera are cleartext. Under the camera priv dir is phtcache.bin, this seems to list the pictures on SD card? When you want to install and see pictures with 3DS,rename to 8 numbers.mpo and save it on /DCIM . Under the sound priv dir is: voice/XX/*.m4a. Where XX is 01-10, with sound saved as .m4a.