SpotPass: Difference between revisions
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
Homemenu uses two domains with HTTPS for SpotPass. SpotPass stores this content in Homemenu's NAND shared extdata. | Homemenu uses two domains with HTTPS for SpotPass. SpotPass stores this content in Homemenu's NAND shared extdata. | ||
* | * The system notifications are downloaded from: https://a248.e.akamai.net/f/248/103046/10m/npdl.c.app.nintendowifi.net/p01/nsa/<regionID>/bashoX/<langcode>/bashoX Where langcode is the two-character language codes from [[Config Info Blocks|here]], X is 0-3, and regionID is from the below table. | ||
* The pls.c.shop.nintendowifi.net domain is used for uploading data from the home menu NAND shared extdata, it's unknown what this is used for. This is uploaded every 24 hours. | * The pls.c.shop.nintendowifi.net domain is used for uploading data from the home menu NAND shared extdata, it's unknown what this is used for. This is uploaded every 24 hours. | ||
{| class="wikitable" | |||
|- | |||
! Region | |||
! ID | |||
|- | |||
| JPN | |||
| gWr4JXxb2mKTG3lq | |||
|- | |||
| NA | |||
| uuI82221UKkqmtbp | |||
|- | |||
| EUR / Others | |||
| UrXSeurnxhPrq7AS | |||
|} | |||
The SpotPass content payload for notifications begin with a header, followed by an [[SMDH|icon]] and the UTF-16 text, and various metadata. | |||
== Automatic System Update Download == | == Automatic System Update Download == | ||
Line 89: | Line 106: | ||
| 0x10 | | 0x10 | ||
| 0x2 | | 0x2 | ||
| | | FileID used for the extdata filename | ||
|- | |- | ||
| 0x12 | | 0x12 | ||
Line 100: | Line 117: | ||
|} | |} | ||
The first 0x10-bytes are all-zero except the first byte which is 0x80 | The first 0x10-bytes are all-zero except the first byte which is 0x80. It's unknown what the first 0x10-bytes are used for. | ||
The hash at offset 0x12 hashes the 0x12-byte data at offset 0x0 followed by a zero u16. The RSA signature is signed by Nintendo. Following this header is the actual content payload, which is written to a cleartext file under the [[extdata]] /boss directory. | The hash at offset 0x12 hashes the 0x12-byte data at offset 0x0 followed by a zero u16. The RSA signature is signed by Nintendo. Following this header is the actual content payload, which is written to a cleartext file under the [[extdata]] /boss directory. | ||
[[Category:Nintendo Software]] | [[Category:Nintendo Software]] |