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

877

Well-Known Member
OP
Member
Joined
Mar 8, 2017
Messages
179
Trophies
0
XP
418
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 ;)
 

tubebar

Well-Known Member
Member
Joined
May 17, 2009
Messages
227
Trophies
0
XP
517
Country
United States
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.
 

Tomy Sakazaki

Well-Known Member
Member
Joined
Oct 23, 2006
Messages
880
Trophies
0
Website
Visit site
XP
812
Country
Brazil
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.
 

tubebar

Well-Known Member
Member
Joined
May 17, 2009
Messages
227
Trophies
0
XP
517
Country
United States
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

877

Well-Known Member
OP
Member
Joined
Mar 8, 2017
Messages
179
Trophies
0
XP
418
Country
United Kingdom
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

tubebar

Well-Known Member
Member
Joined
May 17, 2009
Messages
227
Trophies
0
XP
517
Country
United States
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

OrGoN3

Well-Known Member
Member
Joined
Apr 23, 2007
Messages
3,239
Trophies
1
XP
3,231
Country
United States
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

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,646
Country
France
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,

PSXDupe

Active Member
Newcomer
Joined
Aug 17, 2007
Messages
31
Trophies
0
XP
247
Country
United States
@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.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,646
Country
France
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,

PSXDupe

Active Member
Newcomer
Joined
Aug 17, 2007
Messages
31
Trophies
0
XP
247
Country
United States
@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'
 

Rikikoo

Member
Newcomer
Joined
Aug 1, 2018
Messages
21
Trophies
0
Age
26
XP
246
Country
France
@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.
 

OrGoN3

Well-Known Member
Member
Joined
Apr 23, 2007
Messages
3,239
Trophies
1
XP
3,231
Country
United States
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

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @salazarcosplay, Morning