Advertisement
Nightseeker

NAX0 archive (Nintendo Switch)

Apr 30th, 2017
466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. NAX0 archive
  2.  
  3. 16 KB header
  4. 32 bytes: hash or signature?
  5. NAX0 +0x00000000 magic
  6. 32 bytes sha-1 hash of plaintext data?
  7. 8 bytes for data filesize in little endian format
  8. 0x00 sea normally
  9. encrypted data
  10.  
  11.  
  12. Filesize example (Snipperclips demo)
  13. Contents\registered\00000019\a0abea94f6d83dcd803aed8bdc229287.nca\00 (41.4 MB)
  14.  
  15. litle endian: 00 68 97 02
  16. big endian swap: 02 97 68 00
  17. decimal: 43476992 bytes (41.4 MB)
  18.  
  19.  
  20. save\
  21. The save data archives for 8000000000000000 and 8000000000000124 work the same way. Though, the data portion is weird. Unlike the Contents\registered\ data, the entire data blob is not encrypted, only parts. Leaving a sea of 0x00, and small islands of encrypted data for whatever reason.
  22.  
  23.  
  24. Random data in NAX0 archive header
  25. The first 128 bytes seems to be "clean", but afterwards there can be random data where there is normally just 0x00 padding.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement