Difference between revisions of "Nintendo - Nintendo Switch datting guide"

From No-Intro ~ Wiki
Jump to: navigation, search
m
Line 3: Line 3:
 
* Files (in the order used below). "Format" be set to "CDN". Native filenames should be used. Attached to each NCA file should optionally be a .txt file containing the HTTP response headers for that ''exact'' download request (not one from downloading it again / getting a HEAD request afterwards etc).:
 
* Files (in the order used below). "Format" be set to "CDN". Native filenames should be used. Attached to each NCA file should optionally be a .txt file containing the HTTP response headers for that ''exact'' download request (not one from downloading it again / getting a HEAD request afterwards etc).:
 
** ncas alphabetically  using the "x.cnmt.nca"/"x.nca" naming (add the ".nca"/.cnmt.nca" if it isn't present - i.e. if dumped straight from CDN)
 
** ncas alphabetically  using the "x.cnmt.nca"/"x.nca" naming (add the ".nca"/.cnmt.nca" if it isn't present - i.e. if dumped straight from CDN)
** [lowercase_rights_id].tik (stripped ticket) (optional) [it should be defined here how exactly the ticket is stripped]
+
** ticket
 +
*** [lowercase_rights_id]-stripped.tik (stripped ticket) (optional). it should be stripped like this (as NXDumpTool does, as if 2019-11-23)
 +
<pre>
 +
The RSA signature (0x100 bytes @ 0x004) is replaced with 0xFF bytes.
 +
The RSA signature issuer (0x40 bytes @ 0x140) is replaced with "Root-CA00000003-XS00000020".
 +
The titlekey data block (0x100 bytes @ 0x180) is zeroed-out. The first 16 bytes from it are then replaced with the encrypted titlekey.
 +
The titlekey type field (1 byte @ 0x281) is set to 0x00 (common).
 +
The Ticket ID field (8 bytes @ 0x290) is zeroed-out.
 +
The Device ID field (8 bytes @ 0x298) is zeroed-out.
 +
The Account ID field (4 bytes @ 0x2B0) is zeroed-out.</pre>
 +
*** or
 +
*** [lowercase_rights_id]-cetk.tik (common ticket) (optional)
 
** [lowercase_rights_id]-enctitlekey.bin (titlekey as binary data) (optional)
 
** [lowercase_rights_id]-enctitlekey.bin (titlekey as binary data) (optional)
 
** [lowercase_rights_id]-dectitlekey.bin (decrypted titlekey as binary data) (optional)
 
** [lowercase_rights_id]-dectitlekey.bin (decrypted titlekey as binary data) (optional)

Revision as of 07:25, 23 November 2019

  • Digital serial: For stuff not from CDN, put the from cnmt (not the NCA it is contained in). For stuff from CDN, put the title id that was requested from the CDN atum server.
  • Dump tool: e.g. "NXDumpTool vx.x.x"
  • Files (in the order used below). "Format" be set to "CDN". Native filenames should be used. Attached to each NCA file should optionally be a .txt file containing the HTTP response headers for that exact download request (not one from downloading it again / getting a HEAD request afterwards etc).:
    • ncas alphabetically using the "x.cnmt.nca"/"x.nca" naming (add the ".nca"/.cnmt.nca" if it isn't present - i.e. if dumped straight from CDN)
    • ticket
      • [lowercase_rights_id]-stripped.tik (stripped ticket) (optional). it should be stripped like this (as NXDumpTool does, as if 2019-11-23)
The RSA signature (0x100 bytes @ 0x004) is replaced with 0xFF bytes.
The RSA signature issuer (0x40 bytes @ 0x140) is replaced with "Root-CA00000003-XS00000020".
The titlekey data block (0x100 bytes @ 0x180) is zeroed-out. The first 16 bytes from it are then replaced with the encrypted titlekey.
The titlekey type field (1 byte @ 0x281) is set to 0x00 (common).
The Ticket ID field (8 bytes @ 0x290) is zeroed-out.
The Device ID field (8 bytes @ 0x298) is zeroed-out.
The Account ID field (4 bytes @ 0x2B0) is zeroed-out.
      • or
      • [lowercase_rights_id]-cetk.tik (common ticket) (optional)
    • [lowercase_rights_id]-enctitlekey.bin (titlekey as binary data) (optional)
    • [lowercase_rights_id]-dectitlekey.bin (decrypted titlekey as binary data) (optional)
  • Dump origin:
    • "Console" - dumped from installed title data on console
    • "Dev console" - dumped from installed title data on console
    • "CDN" - title data retrieved straight from CDN to PC, via PC downloading tool (that emulates the Switch download process) or network sniffer


In most cases, you can ignore this:

  • The Game ID field in archives is being manually filled out with the Title ID by some datters. Its not being extracted in any consistent way (even though it can be from the game data) and may be from just looking it up on the internet.