NSP file viewer (to verify complete) in Windows?

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by 877, Aug 26, 2018.

  1. 877
    OP

    877 GBAtemp Regular

    Member
    3
    Mar 8, 2017
    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 ;)
     
  2. Draxzelex

    Draxzelex GBAtemp Guru

    Member
    17
    Aug 6, 2017
    United States
    New York City
    I'm sorry, what exactly are you asking? An NSP Verifier? A tool to move large amounts of files?
     
  3. 877
    OP

    877 GBAtemp Regular

    Member
    3
    Mar 8, 2017
    United Kingdom
    Hi @Draxzelex

    Yes a NSP verifier. The nsp files would be stored on Windows 10 hdd.

    I’m pretty sure one doesn’t exist yet.
     
  4. jakkal

    jakkal GBAtemp Addict

    Member
    12
    Apr 27, 2018
    United States
    Lol

    Wtf
    To verify it just copy it to your switch and install it
     
    Last edited by jakkal, Aug 27, 2018
  5. tubebar

    tubebar GBAtemp Regular

    Member
    4
    May 17, 2009
    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.
     
    hippy dave, RahFah, 877 and 1 other person like this.
  6. Tomy Sakazaki

    Tomy Sakazaki GBAtemp Advanced Fan

    Member
    5
    Oct 23, 2006
    Brazil
    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.
     
  7. tubebar

    tubebar GBAtemp Regular

    Member
    4
    May 17, 2009
    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.
     
    877 likes this.
  8. 877
    OP

    877 GBAtemp Regular

    Member
    3
    Mar 8, 2017
    United Kingdom
    Yes lol WTF indeed, just one of your many helpful comments ;)

    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, Aug 30, 2018
    Garou likes this.
  9. tubebar

    tubebar GBAtemp Regular

    Member
    4
    May 17, 2009
    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.
     
    877 likes this.
  10. PSXDupe

    PSXDupe Member

    Newcomer
    3
    Aug 17, 2007
    United States
    @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.
     
  11. ganons
    This message by ganons has been removed from public view by Cyan, Aug 28, 2018, Reason: inappropriate language.
    Aug 28, 2018
  12. OrGoN3

    OrGoN3 GBAtemp Addict

    Member
    7
    Apr 23, 2007
    United States
    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.
     
    877 likes this.
  13. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    21
    Oct 27, 2002
    France
    Engine room, learning
    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, Aug 28, 2018
  14. tubebar

    tubebar GBAtemp Regular

    Member
    4
    May 17, 2009
    United States
  15. Garou

    Garou GBAtemp Advanced Fan

    Member
    5
    Jan 13, 2015
  16. PSXDupe

    PSXDupe Member

    Newcomer
    3
    Aug 17, 2007
    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.
     
  17. Rikikoo

    Rikikoo Member

    Newcomer
    2
    Aug 1, 2018
    France
  18. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    21
    Oct 27, 2002
    France
    Engine room, learning
    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, Aug 28, 2018
  19. PSXDupe
    This message by PSXDupe has been removed from public view by Quantumcat, Aug 28, 2018, Reason: Dupe.
    Aug 28, 2018
  20. PSXDupe

    PSXDupe Member

    Newcomer
    3
    Aug 17, 2007
    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

    — Posts automatically merged - Please don't double post! —

    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'
     
  21. Rikikoo

    Rikikoo Member

    Newcomer
    2
    Aug 1, 2018
    France
    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.
     
  22. PSXDupe

    PSXDupe Member

    Newcomer
    3
    Aug 17, 2007
    United States
    Seem to have got that working, but nows its looking for key files.
     
  23. OrGoN3

    OrGoN3 GBAtemp Addict

    Member
    7
    Apr 23, 2007
    United States
    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.
     
Loading...