Hacking NSP file viewer (to verify complete) in Windows?

  • Thread starter Thread starter 877
  • Start date Start date
  • Views Views 26,295
  • Replies Replies 30

877

Well-Known Member
Member
Joined
Mar 8, 2017
Messages
179
Reaction score
50
Trophies
0
XP
463
Country
United Kingdom
Does any such software exist to browse nsp files in Windows 10?
To avoid copy the large files over to the sdcard and trying to install ;)
 
CaithSith2 is working on a NSP verify tool which scans all your NSPs and verifies the checksum. If any are corrupt it will output that text and you can redownload them. The tool works, but still undergoing testing he should release it within the week. Just a note ANY files ripped w/ SD to NSP are already verified so they do not need to be verified again. This is only for downloaded NSPs from web or CDNSP.
 
CaithSith2 is working on a NSP verify tool which scans all your NSPs and verifies the checksum. If any are corrupt it will output that text and you can redownload them. The tool works, but still undergoing testing he should release it within the week. Just a note ANY files ripped w/ SD to NSP are already verified so they do not need to be verified again. This is only for downloaded NSPs from web or CDNSP.
There is any repository to download and build the tool? First I've heard of a NSP verifier tool and I'm interested in using one.
Corrupted NCA being packaged by Doge or BOB GUI gave me some redownloads and wasted time copying nsp back and forth.
 
Yes that's why he made the tool as BOB GUI gave me correct NSPs, I had found 6 when I scanned. The tool isn't public yet and I can't release it. CaithSith2 will release it when he is ready to and I am sure he will release the source on github as well. Best to ask him, I am just the a tester.
 
  • Like
Reactions: 877
Lol

Wtf
To verify it just copy it to your switch and install it

Yes lol WTF indeed, just one of your many helpful comments ;)

CaithSith2 is working on a NSP verify tool which scans all your NSPs and verifies the checksum. If any are corrupt it will output that text and you can redownload them. The tool works, but still undergoing testing he should release it within the week. Just a note ANY files ripped w/ SD to NSP are already verified so they do not need to be verified again. This is only for downloaded NSPs from web or CDNSP.

Sounds ideal for downloaded nsp content, will be interesting to see how it develops.
To clarify, I know this is not essential but it will be a useful time saver, especially for those with a large library.
 
Last edited by 877,
  • Like
Reactions: Garou
It is essential as BOB and Dodge blindly pack corrupt NSPs. No one wants corrupt data. Granted in my test I only got 6 corrupt out of 1700 so not a high risk.

The tool does not and will never look for the stupid BBB generated meta data files as those are generated from the NCAs and use only for Nintendo developers and submission process. We are not doing that and BBB crap should be dropped by the scene.
 
  • Like
Reactions: 877
@tubebar is CaithSith2 a member on here, don't recognise the handle. Do you know where the tool will be release as it would be a huge time save indeed.
 
Does any such software exist to browse nsp files in Windows 10?
To avoid copy the large files over to the sdcard and trying to install ;)
For now, google around for the checksums for the nsp files you have downloaded, and then use any program, such like quickhash, to verify the checksums match. If they match then your file is verified.
 
  • Like
Reactions: 877
there are websites with nsp/nca/xci checksum info ?
just tried a google search and nothing came concluding. when caitsith2 tool is released and files verified, maybe proper checksum could be found on a database website. for now, a list of checksum without proper way to verify the file is maybe not trustworthy (unless try tried to install it first)

wouldn't files have different checksum based on who dumped it? which cert/key/ticket used?
 
Last edited by Cyan,
@Garou Am I correct in saying that you sode only checks the structure of the NSP, eg, #File, File Locations etc, it doesn't do anything to check the contents.

I know very little on this matter, but cant he NCA file etc be check with checksum stored within it.
 
Garou, I love your description FAQ (nice cameo) lol
thanks for the tools both of you :)
from none, we will get 3 at once!

garou: there's no checksum or calculated data possible with nsp file? it's only checking parts length? it's a quick check, that's fine too.

I see rikikoo is doing the sha256 check, but I'm trying to find how to launch it, due to all the module dependencies.
I need to put all the "example" content into the parent folder? and I see I need the key files too.
 
Last edited by Cyan,
@Rikkoo How do we use your tool, not good with Python at all. But I've tried putting all the examples in the parent folder with the remain .py files but getting a lot of errors with I try to run the verify .py

--------------------- MERGED ---------------------------

I getting the following error, am I missing some crypto module ?


Traceback (most recent call last):
File "E:\pyswitch\verify_nsp.py", line 2, in <module>
from print_cnmt import open_cnmt
File "E:\pyswitch\print_cnmt.py", line 5, in <module>
from NCA3 import NCA3
File "E:\pyswitch\NCA3.py", line 6, in <module>
from CryptoUtils import *
File "E:\pyswitch\CryptoUtils.py", line 6, in <module>
from Crypto.Hash import SHA256
ModuleNotFoundError: No module named 'Crypto'
 
@Rikkoo How do we use your tool, not good with Python at all. But I've tried putting all the examples in the parent folder with the remain .py files but getting a lot of errors with I try to run the verify .py

--------------------- MERGED ---------------------------

I getting the following error, am I missing some crypto module ?


Traceback (most recent call last):
File "E:\pyswitch\verify_nsp.py", line 2, in <module>
from print_cnmt import open_cnmt
File "E:\pyswitch\print_cnmt.py", line 5, in <module>
from NCA3 import NCA3
File "E:\pyswitch\NCA3.py", line 6, in <module>
from CryptoUtils import *
File "E:\pyswitch\CryptoUtils.py", line 6, in <module>
from Crypto.Hash import SHA256
ModuleNotFoundError: No module named 'Crypto'
Sounds like you need the Crypto module (run "pip install pycryptodome" in cmd (add "py -m" if you didn't install Python to PATH). On top of my head, it's the only module you'll need to download.
 
there are websites with nsp/nca/xci checksum info ?
just tried a google search and nothing came concluding. when caitsith2 tool is released and files verified, maybe proper checksum could be found on a database website. for now, a list of checksum without proper way to verify the file is maybe not trustworthy (unless try tried to install it first)

wouldn't files have different checksum based on who dumped it? which cert/key/ticket used?
Use the CRC32 hashes from http://nswdb.com/ for known releases. If you're building files yourselves, the hash may change depending on your the cert you use. Unsure. But if your files are from BBB or other scene/p2p groups, hashes are on that site. It may help, a little.
 

Site & Scene News

Popular threads in this forum