Changes

438 bytes added ,  23:45, 1 April 2013
no edit summary
Line 6: Line 6:  
ID0 is the first 0x10-bytes from a SHA256 [[nand/private/movable.sed|hash]]. The installation of [[SD Filesystem|SD Card]] titles was introduced in the [[2.0.0-2]] update and the SD dbs files are encrypted. These files are [[extdata]] images. The NAND extdata images are cleartext, however some of the images contain data encrypted with a console-unique keyslot.
 
ID0 is the first 0x10-bytes from a SHA256 [[nand/private/movable.sed|hash]]. The installation of [[SD Filesystem|SD Card]] titles was introduced in the [[2.0.0-2]] update and the SD dbs files are encrypted. These files are [[extdata]] images. The NAND extdata images are cleartext, however some of the images contain data encrypted with a console-unique keyslot.
   −
There are only two files in this directory, for SD card:
+
These files are stored under this directory:
  /import.db
+
{| class="wikitable" border="1"
/title.db
+
|-
 +
!  Stored on SD card
 +
!  Stored in CTR-NAND
 +
!  Filename
 +
! Description
 +
|-
 +
| Yes
 +
| Yes
 +
| import.db
 +
| Unlike the SD version, the NAND version is an extdata image.
 +
|-
 +
| Yes
 +
| Yes
 +
| title.db
 +
| Title database
 +
|-
 +
| No
 +
| Yes
 +
| tmp_t.db
 +
| ?
 +
|-
 +
| No
 +
| Yes
 +
| tmp_i.db
 +
| ?
 +
|-
 +
| No
 +
| Yes
 +
| certs.db
 +
| This contains the certificate chain used to verify TMDs and other certificates.
 +
|-
 +
| No
 +
| Yes
 +
| ticket.db
 +
| This contains the installed tickets.
 +
|}
    
"'''title.db'''" - With a fixed size of 0x31E400 bytes, this [[Extdata]] image embeds two almost identical copies(the latter is probably an older backup) of the Title Database. For each installed title, the following information is known to be stored:
 
"'''title.db'''" - With a fixed size of 0x31E400 bytes, this [[Extdata]] image embeds two almost identical copies(the latter is probably an older backup) of the Title Database. For each installed title, the following information is known to be stored:
Line 27: Line 62:     
"'''import.db'''" - The function of the file is not well understood. It appears to be related to the download/install of titles, as in the progress of downloading titles this file will have changed but the title.db will not be modified until the title has been properly downloaded.  
 
"'''import.db'''" - The function of the file is not well understood. It appears to be related to the download/install of titles, as in the progress of downloading titles this file will have changed but the title.db will not be modified until the title has been properly downloaded.  
*This file doesn't contain any title specific data which the [[Application Manager Services PXI|AM]] has been noted to use in relation to installed titles, even though this file is modified when titles are installed/deleted. In fact, no matter what titles you install, if you use an old copy of the "import.db" with a recent copy of the "title.db", this creates no noticeable issues.
+
*This file doesn't contain any title specific data which the [[Application Manager Services PXI|ARM9]] has been noted to use in relation to installed titles, even though this file is modified when titles are installed/deleted. In fact, no matter what titles you install, if you use an old copy of the "import.db" with a recent copy of the "title.db", this creates no noticeable issues.