Changes

Jump to navigation Jump to search
m
Various corrections
Line 5: Line 5:  
== [[SpotPass]] usage ==
 
== [[SpotPass]] usage ==
 
Currently, only these SpotPass endpoints are known to exist:
 
Currently, only these SpotPass endpoints are known to exist:
* <nowiki>https://npdl.cdn.nintendowifi.net/p01/nsa/<regionID>/RNG_LS1/dstsetting</nowiki> LZ10 compressed BPK1 structure
+
* <nowiki>https://npdl.cdn.nintendowifi.net/p01/nsa/<regionID>/RNG_LS1/dstsetting</nowiki> LZ11 compressed BPK1 structure
 
* <nowiki>https://npdl.cdn.nintendowifi.net/p01/nsa/<regionID>/RNG_EC1/x.dlp</nowiki> BPK1 structure with all game lessons (x = 1, 2 or 3)
 
* <nowiki>https://npdl.cdn.nintendowifi.net/p01/nsa/<regionID>/RNG_EC1/x.dlp</nowiki> BPK1 structure with all game lessons (x = 1, 2 or 3)
 
* <nowiki>https://npdl.cdn.nintendowifi.net/p01/nsa/<regionID>/RNG_MD1/dstdatList.bin</nowiki> BPK1 structure with game metadata
 
* <nowiki>https://npdl.cdn.nintendowifi.net/p01/nsa/<regionID>/RNG_MD1/dstdatList.bin</nowiki> BPK1 structure with game metadata
Line 27: Line 27:     
== BPK1 ==
 
== BPK1 ==
The BPK1 structure is used in almost all game data files. Some of the files that use this structure are LZ10 compressed (like the ones used for doodles and stationery).
+
The BPK1 structure is used in almost all game data files. Some of the files that use this structure are either LZ11 or LZ10 compressed (like the ones used for doodles and stationery).
    
The structure starts with a BPK1 header, followed by all of its block headers, which can share names between each other. The headers are the followed by each block's data, which can hold any data (including another BPK1 structure).
 
The structure starts with a BPK1 header, followed by all of its block headers, which can share names between each other. The headers are the followed by each block's data, which can hold any data (including another BPK1 structure).
Line 91: Line 91:  
| 0x2C
 
| 0x2C
 
| Padding
 
| Padding
|-
  −
| 0x40
  −
| 0x4
  −
| Header length
   
|}
 
|}
   Line 106: Line 102:  
|-
 
|-
 
| 0x0
 
| 0x0
 +
| 0x4
 +
| Block data offset
 +
|-
 +
| 0x4
 
| 0x4
 
| 0x4
 
| Block size
 
| Block size
 
|-
 
|-
| 0x4
+
| 0x8
 
| 0x4
 
| 0x4
 
| Checksum of block data
 
| Checksum of block data
 
|-
 
|-
 +
| 0x10
 
| 0x8
 
| 0x8
|
+
| Block name (if the name is smaller tahn 0x8, the rest is filled with NULL bytes)
| Block name (null terminated)
  −
|-
  −
|
  −
| 0x4
  −
| Size of BPK1 header and previous blocks (including this one)
   
|}
 
|}
  
131

edits

Navigation menu