Changes

Jump to navigation Jump to search
815 bytes added ,  18:03, 5 April 2013
WIP
Line 19: Line 19:  
| import.db
 
| import.db
 
| 0x3
 
| 0x3
| This is an Import Database, it contains entries for titles(or versions of titles) not yet installed, ready for transferring to the title.db. (Automatic Update, uses this, so completing the update takes seconds)
+
| This is an Import Database, it contains entries for titles(or versions of titles) not yet installed, ready for transferring to the title.db. (Automatic Update uses this, so completing the update takes seconds)
 
|-
 
|-
 
| Yes
 
| Yes
Line 50: Line 50:  
| ?
 
| ?
 
| This contains the installed tickets.
 
| This contains the installed tickets.
 +
|}
 +
 +
== Embedded Database Format ==
 +
 +
=== Header ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Start
 +
! Length
 +
! Description
 +
|-
 +
| 0x00
 +
| 8
 +
| Database Type "Magic" (see below)
 +
|-
 +
| 0x08
 +
| 0x78
 +
| Reserved
 +
|-
 +
| 0x80
 +
| 4
 +
| Database Magic ("BDRI")
 +
|-
 +
| 0x84
 +
| 4
 +
| Magic Number (0x30000)
 +
|-
 +
| 0x88
 +
| 8
 +
| Unknown
 +
|-
 +
| 0x90
 +
| 8
 +
| File Size, divided by the value at 0x98 (usually = 0x80)
 +
|-
 +
| 0x98
 +
| 4
 +
| Usually 0x80
 +
|-
 +
| 0x9C
 +
| 4
 +
| Reserved
 +
|-
 +
| 0xA0
 +
| 0x20
 +
| Unknown/Constant
 +
|-
 +
| 0xC0
 +
| 0x18
 +
| Unknown
 +
|-
 +
| 0xD8
 +
| 8
 +
| Title Entry Table Offset
 +
|-
 +
| 0xE0
 +
| 0x20
 +
| Unknown
 +
|}
 +
 +
==== Database Magic ====
 +
 +
{| class="wikitable"
 +
|-
 +
! Database Type
 +
! Magic
 +
|-
 +
| CTR-NAND import.db
 +
| NANDIDB
 +
|-
 +
| CTR-NAND title.db
 +
| NANDTDB
 +
|-
 +
| CTR-NAND tmp_i.db
 +
| TEMPIDB
 +
|-
 +
| CTR-NAND tmp_t.db
 +
| TEMPIDB
 +
|-
 +
| SD Card import.db
 +
| ?
 +
|-
 +
| SD Card title.db
 +
| TEMPTDB
 
|}
 
|}
  
839

edits

Navigation menu