Homebrew RELEASE Nintendo Switch SD to NSP Dumper

Berto88

New Member
Newbie
Joined
Nov 13, 2020
Messages
1
Trophies
0
Age
40
XP
44
Country
United States
Can this create a sd to play my games in other switch without my account?

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

Can this create a sd to play my games in other switch without my account
 

HinaNaru Cutie

Well-Known Member
Member
Joined
Aug 29, 2014
Messages
728
Trophies
1
Age
33
Location
idk anymore..I feel like traveling lol
XP
1,768
Country
Australia
Decided to make a tool for packing NSPs from games you have legally purchased through the eShop, that avoids the need for using any CDN tools, which poses a potential ban risk to your Nintendo Switch. You just quite simply dump your nand each time you buy a new game, in order to be able to extract the tickets required for NSP packing. The first run requires getting keys.txt, which can be done through kezplez, (turn on airplane mode, backup nand, run cfw and use kezplez, then restore the nand backup to wipe the traces of having ever run cfw to begin with.) Alternatively, google for keys.txt. As it is right now, eticket_rsa_kek is not extracted by kezplez, so that currently has to be googled for.

View attachment 140217

Download from here or here
Source code at https://github.com/CaitSith2/SwitchSDTool

Credits go to @Khangaroo for his original posting of the Switch SD dumping guide, which was not exactly the most user friendly guide, and to whoever wrote CDNSP, which served as the basis for this tool, in terms of figuring out how the NSP format worked. Also to @tubebar for providing me a nintendo switch, and the motivation to work on the tools.

Version 1.10 - Jan 12, 2019
  • Fixed a regression that prevented conversion of NSPs of titles larger than 4GiB.
  • Fixed an instant crash when the required master keys to decrypt and parse a given title are not present. (It now logs on failure indicating what key is required to process the title.)

  • personal_keys.txt now only includes keys not yet in the database.
  • No longer depends on hactool or create temp files while parsing the ncas.
  • NSPs no longer have *.cnmt.xml. (This file like all of the other xml files and even jpeg files, is 100% derived from the ncas themselves, and is only used for Nintendo's lot check process before final release. (Don't bother asking for the xml files in my tool.))
  • Read tickets more efficiently
  • Get the release date AND time of pre-ordered eshop games.
  • Title key decryption sped up.
  • Added means to output common_keys.txt (and a formatted version for use in cdnsp tools to download updates.)
  • Include history.txt
  • release zip now uniquely named
  • Added ability to retrieve Title keys from DB (Have to find the DB url yourself)
  • Added an option to dump personal_keys.txt
  • Joining/Decrypting now merged into one step.
  • Title key now shown, if available.
  • Dumping from USER nand partition now possible. Just select the USER nand partition as your SD directory to do so.
  • Added a combo box and a means to cache RSA keys by Switch Serial number. This means PRODINFO.bin is only needed once, to initially load the RSA key.
  • Selecting SD Directory now Enables Find SD key.
  • Selecting SYSTEM nand directory now Enables both Find SD Key, and Load RSA Key. (Also deselects the current switch serial number from the combo box as well.)
  • eticket_rsa_kek text box disabled on program startup, if the correct key already exists in the configuration at startup.
  • Fixed a bug that causes duplicate entries to appear
  • The Info box now contains info on what NCA files belong to the title, when a child node of the title is selected, resolving issue #2
  • keys.txt no longer moved to %userprofile%.switch\prod.keys
  • keys.txt if present, or %userprofile%.switch\prod.keys parsed locally, and invalid key length keys for hactool are removed and put into tools\FixedKeys.txt. This should fix some of the hactool related problems for good.
  • Games/Language selection combined into one tab.
  • Selection of a game now shows on the language list which languages are supported.
  • Clicking on a language while a game is selected now shows that languages icon and title/developer information.
  • Fixed a bug where an empty directory in the SD card causes the decryption process to outright stop.
  • Fixed an issue where if the only items you have is DLC from a given game, you end up with lots of "Unknown". It is now one "Unknown" per game which you only have DLC for.
  • Added option to delete data from only the SD card, and keep the local decrypted NCA intact. (This is equivalent to Archiving the content on the switch.)
  • No longer need to re-parse the NCAs if you change the language order after parsing NCAs. The titles/icons now update according to the new language order live.
  • Added MIT License
  • Show error message if .NET Framework is less than 4.7.1.
  • Initial Release :)

Hi excuse me but I am very much lost on how to even use this program x.x" I would love it if anyone could help me out here, I don't really understand how to do this properly without messing up.
I was trying to find a clear tutorial on how to do this but there is none online...nor a video which I know it will be taken down quickly if post it on youtube lol.
Any help would be nice.
 

Neville_Shorttop

Active Member
Newcomer
Joined
May 7, 2020
Messages
40
Trophies
0
Age
32
XP
372
Country
United States
Hi excuse me but I am very much lost on how to even use this program x.x" I would love it if anyone could help me out here, I don't really understand how to do this properly without messing up.
I was trying to find a clear tutorial on how to do this but there is none online...nor a video which I know it will be taken down quickly if post it on youtube lol.
Any help would be nice.

Have you looked at the readme?
 
  • Like
Reactions: HinaNaru Cutie

HinaNaru Cutie

Well-Known Member
Member
Joined
Aug 29, 2014
Messages
728
Trophies
1
Age
33
Location
idk anymore..I feel like traveling lol
XP
1,768
Country
Australia
Have you looked at the readme?

I honestly thought the Readme just had the credits which is what they normally do x.x ima check it out now - if it has a good tutorial for i can understand this program, will be happy about it. edit; it does, wow it is long lol
 
Last edited by HinaNaru Cutie,

SkyDX

Anime Signature Creator, PM me if you want one! :)
Member
Joined
Nov 2, 2007
Messages
614
Trophies
1
XP
1,744
Country
Germany
Can someone help me with the BIS keys? I dumped mine but the keys I got are:

secure_boot_key
tsec_key
device_key
bis_key_00
bis_key_01
bis_key_02
bis_key_03

What of that is "Crypto and Tweak"? o.o

Ah I got it now, the keys were dumped in a full 32 bit string, I had to split them up :P
 

SkyDX

Anime Signature Creator, PM me if you want one! :)
Member
Joined
Nov 2, 2007
Messages
614
Trophies
1
XP
1,744
Country
Germany
Okay now I am stuck at:

Nintendo Switch System NAND Drive not present

even though I mounted it to Y: and selected it, can someone help please? :(
 

Supercool330

Well-Known Member
Member
Joined
Sep 28, 2008
Messages
752
Trophies
1
XP
1,129
Country
United States
Ok, this tool still works, but the instructions are out of date and use extremely outdated tools.

Things you'll need:
Hekate & Nyx
Lockpick_RCM
NxNandManager
SwitchSDTool (obviously)

1) Download the game and any updates to your SD card from eShop on stock.
2) Use Lockpick_RCM to dump SysNAND keys.
3) Use Hekate to dump eMMC SYS GPP Partitions (should only take a minute since it skips the USER partition)
4) Install the driver that comes with NxNandManager. Open NxNandManager and load the prod.keys file created with Lockpick_RCM.
5) Use NxNandManager to open the PRODINFO partition from the dump, and right click to decrypt and export. Save this as PRODINFO.bin in the same directory as SwitchSDTool.
6) Use NxNandManager to open the SYSTEM partition from the dump, and mount it as drive in windows.
7) Make a copy of prod.keys named keys.txt in the same directory as SwitchSDTool.
8) Open SwitchSDTool and set the SD Folder to the root of your SD card, and set System Path to the root of the mounted SYSTEM partition.
9) In my experience, I need to reload SwitchSDTool after changing these directories before the settings take effect for some reason. After reopening, all the buttons should work normally.

This is significantly simpler than the instructions listed with the tool. You only need to dump the SYS partitions which is much faster than dumping the entire NAND. You also don't need to lookup the eticket_rsa_kek (since lockpick dumps it).
 

TeleTubby666

Well-Known Member
Newcomer
Joined
Aug 18, 2013
Messages
98
Trophies
1
XP
2,093
Country
Germany
Even with the updated tutorial it does not work as the tool does not seem to recognize my keys.txt file logging "User NAND partition mounted"

What am I doing wrong?
 

Supercool330

Well-Known Member
Member
Joined
Sep 28, 2008
Messages
752
Trophies
1
XP
1,129
Country
United States
Even with the updated tutorial it does not work as the tool does not seem to recognize my keys.txt file logging "User NAND partition mounted"

What am I doing wrong?
Hmm, not sure. "User NAND partition mounted" is actually a sucessful message, so I'm not sure where it's going wrong. There seems to be some bugs where settings changes don't work correctly. Try deleting the Tools directory containing the configuration and key cache and reruning the tool.
 

Seelenamt

Member
Newcomer
Joined
Feb 9, 2017
Messages
10
Trophies
0
XP
66
Country
United States
It seems no matter how I dump it I always get the same error:
PRODINFO.bin corrupted or not decrypted correctly - RSA failed to decrypt correctly"

Not sure what the problem is exactly... This is a dump of a 13.2.0 sysNAND from a mariko unit that makes any difference.
 

w350922439

Well-Known Member
Newcomer
Joined
Apr 4, 2020
Messages
80
Trophies
0
Age
34
XP
893
Country
Hong Kong
It seems no matter how I dump it I always get the same error:
PRODINFO.bin corrupted or not decrypted correctly - RSA failed to decrypt correctly"

Not sure what the problem is exactly... This is a dump of a 13.2.0 sysNAND from a mariko unit that makes any difference.
same as i.i have a Mariko switch,sysnand is 11.0.1,the error always PRODINFO.bin corrupted or not decrypted correctly - RSA failed to decrypt correctly". when i use the same sept to other one,Erista use sd to nsp is fine.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-