SpotPass: Difference between revisions

No edit summary
Line 112: Line 112:
| 0x10
| 0x10
| 0x2
| 0x2
| Used for generating the extdata filepath.
| Number of payload contents (Payload Content Header + Payload)
|-
|-
| 0x12
| 0x12
Line 125: Line 125:
The first 0x10-bytes are all-zero except the first byte which is usually 0x80. It's unknown what the first 0x10-bytes are used for.
The first 0x10-bytes are all-zero except the first byte which is usually 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.


=== Payload Content Header ===
=== Payload Content Header ===