SD Filesystem: Difference between revisions
wiki editing is hard |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
== Album == | == Album == | ||
Contains the screenshots: "YYYY/MM/DD/<hex>.jpg". These are [[Capture_services#Notes|MAC]]'d, contents with an invalid MAC will display an error on view. | Contains the screenshots: "YYYY/MM/DD/<[[Capture_services#AlbumFileDateTime|DateTime string]]>-<title-specific hex ID string>.jpg". These are [[Capture_services#Notes|MAC]]'d, contents with an invalid MAC will display an error on view. | ||
When an Application recorded video via [[Applet_Manager_services#CreateMovieMaker|MovieMaker]], the "Extra" sub-directory contains the recorded Application videos: "/Extra/<title-specific hex ID string>/YYYY/MM/DD/<[[Capture_services#AlbumFileDateTime|DateTime string]]>-<ID string>.mp4". | |||
"<title-specific hex ID string>" is the same for both screenshots and "Extra". | |||
== save == | == save == | ||
Line 19: | Line 23: | ||
== Contents == | == Contents == | ||
Contains directories "placehld" and "registered", which didn't exist until [[2.0.0]]. | |||
Also contains file "private", which stores the 0x10 [[Filesystem_services#SetSdCardEncryptionSeed|sd card seed verification vector]]. | |||
Also contains file " | [4.0.0+] Also contains file "private1", which stores 0x20 bytes with the last 0x10 being random. | ||
===placehld and registered === | === placehld and registered === | ||
"placehld" and "registered" store game contents; contents are initially downloaded temporarily into the "placehld" folder, and then [[NCM_services#IContentStorage|moved into the registered folder]] when downloading is complete. | "placehld" and "registered" store game contents; contents are initially downloaded temporarily into the "placehld" folder, and then [[NCM_services#IContentStorage|moved into the registered folder]] when downloading is complete. | ||
Line 32: | Line 36: | ||
No titleIDs are stored in any directories/filenames here. | No titleIDs are stored in any directories/filenames here. | ||
All hex IDs(below 000000XX and NcaId) used here are unique per title/content. XX is calculated as the first byte from the output of SHA-256( | All hex IDs (shown below as 000000XX and [[NCM_services#NcaID|NcaId]]) used here are unique per title/content. XX is calculated as the first byte from the output of the binary SHA-256(Nca directory). | ||
Game contents are stored inside [[NAX0]] archives; due to the 4 GB filesize limit on FAT32, contents that are bigger than 4 GB have additional file contents automatically split into separate files. This automatic file-splitting occurs even on exFAT SD cards where it is not necessary. | Game contents are stored inside [[NAX0]] archives; due to the 4 GB filesize limit on FAT32, contents that are bigger than 4 GB have additional file contents automatically split into separate files. This automatic file-splitting occurs even on exFAT SD cards where it is not necessary. | ||
Line 38: | Line 42: | ||
<sub-directory under Contents> | <sub-directory under Contents> | ||
└── <directories with upper-case hex: 000000XX> | └── <directories with upper-case hex: 000000XX> | ||
└── < | └── <lower-case hex Nca directory>.nca | ||
└── 00 [[NAX0|actual file for data storage]] | └── 00 [[NAX0|actual file for data storage]] | ||
└── 01 (storage for file data at +4GB in the actual NCA) | └── 01 (storage for file data at +4GB in the actual NCA) | ||
└── {etc} | └── {etc} |