Homebrew RELEASE Nintendo Switch SD to NSP Dumper

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,012
Trophies
2
Age
29
Location
New York City
XP
13,392
Country
United States
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.
I think this tool needs to be updated for Mariko units. In the meantime, you can use NXDumpTool.
 
  • Like
Reactions: w350922439

BaamAlex

UDE GA NARU ZE!
Member
Joined
Jul 23, 2018
Messages
6,063
Trophies
1
Age
29
Location
Lampukistan
Website
hmpg.net
XP
6,182
Country
Germany
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).
Do i have to dump all the stuff again when i want to dump a new game from my sysnand?
 

noX1609

B9S freak ;)
Member
Joined
Aug 30, 2016
Messages
477
Trophies
0
Age
33
XP
501
Country
Germany
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).

Tried that but didn‘t work.
I have latest firmware (so i can access eshop) installed and on PC Windows 11.

Everything worked until last step. As soon as i click on the game to save it as NSP first thing the tool does is dump the tickets. There i immediately get an OutOfMemoryException. Tried starting tool normally and as Administrator. As Administrator i get the OutOfMemoryException (but both disk space and ram is more than enough free space left), if i start it normally the tool always displays that SD Key can‘t be loaded but it‘s included in keys.txt (dumped fresh copy as soon as i created the emmc System backup) so don‘t know what‘s the problem, did everything as mentioned in you tutorial.
 
  • Like
Reactions: Evan5935

Evan5935

Active Member
Newcomer
Joined
Nov 18, 2021
Messages
34
Trophies
0
Age
28
XP
176
Country
Canada
Tried that but didn‘t work.
I have latest firmware (so i can access eshop) installed and on PC Windows 11.

Everything worked until last step. As soon as i click on the game to save it as NSP first thing the tool does is dump the tickets. There i immediately get an OutOfMemoryException. Tried starting tool normally and as Administrator. As Administrator i get the OutOfMemoryException (but both disk space and ram is more than enough free space left), if i start it normally the tool always displays that SD Key can‘t be loaded but it‘s included in keys.txt (dumped fresh copy as soon as i created the emmc System backup) so don‘t know what‘s the problem, did everything as mentioned in you tutorial.
i got the same thing until i messed around a bit.

you have to have mount the backup of SYSTEM as the step says, but the backup of SYSTEM has to be on your switch's SD, as well as the "decryption path" folder. once you extract the tickets and decrypt the nca's, parse should work perfectly!


if it still gives you that error, try deleting the "Tools" folder wherever you extracted switchSDtools to, running the program as admin, and repeating the configuration for SD folder, System path, decryption path and nsp output path (which the nsp output folder can be anywhere like your hard drive.) and running through the find SD key/Load RSA KEK/ticket etc. part :)
 
Last edited by Evan5935,

dogtygr

Member
Newcomer
Joined
May 30, 2023
Messages
19
Trophies
0
XP
43
Country
United States
Hi everyone!

I can't post with my old account so I had to create a new one.
I found this tool really interesting as I use emmnand and don't use any kind of cfw in sysnand. This was the perfect tool to backup my games. I tried to make it work with my modded mariko switch and unfortunately it didn't work anymore.

This tool hasn't been updated for years so I decided to update it myself. I thought it would be nice to share what I did with everyone. I didn't create a fork because I don't think it would be appropriate and the changes I made cannot be used in a PR.

Here are the changes I've done:
- Fixed some issues with the explorer browser
- Updated the tool to use the latest version of libhac
- The keys aren't generated with the PRODINFO file now. Every key is taken from the keys.txt file generated by lockpick_rcm. This means that this tool works with a mariko switch (I've tested it myself). The prodinfo file is still needed to get the serial number of the switch but is pretty much useless I didn't modify this part of the code.

I initially modified the code for my own use and decided to share it afterward so the code might not be the cleanest. I'll attach the binaries and a patch file explaining all the changes I've made
 

Attachments

  • Release.rar
    2.2 MB · Views: 49
  • x86.rar
    2.2 MB · Views: 39
  • 0001-Update-to-libhac.rar
    376 KB · Views: 37
Last edited by dogtygr,

Nextria

Member
Newcomer
Joined
Oct 18, 2008
Messages
7
Trophies
1
XP
267
Country
Netherlands
Hi everyone!

I can't post with my old account so I had to create a new one.
I found this tool really interesting as I use emmnand and don't use any kind of cfw in sysnand. This was the perfect tool to backup my games. I tried to make it work with my modded mariko switch and unfortunately it didn't work anymore.

This tool hasn't been updated for years so I decided to update it myself. I thought it would be nice to share what I did with everyone. I didn't create a fork because I don't think it would be appropriate and the changes I made cannot be used in a PR.

Here are the changes I've done:
- Fixed some issues with the explorer browser
- Updated the tool to use the latest version of libhac
- The keys aren't generated with the PRODINFO file now. Every key is taken from the keys.txt file generated by lockpick_rcm. This means that this tool works with a mariko switch (I've tested it myself). The prodinfo file is still needed to get the serial number of the switch but is pretty much useless I didn't modify this part of the code.

I initially modified the code for my own use and decided to share it afterward so the code might not be the cleanest. I'll attach the binaries and a patch file explaining all the changes I've made
Hello,
I know this is a old thread, but i cant seem to get this working again with my oled.
i have the decrypted PRODINFO.bin, and the key's from firmware 18.0.0
but i keep getting a error "extracted rsa key is not for this ticket"

do you have any idea ?
 

Visualwit

Well-Known Member
Newcomer
Joined
Jul 27, 2021
Messages
84
Trophies
0
Age
16
XP
354
Country
United States
Hello,
I know this is a old thread, but i cant seem to get this working again with my oled.
i have the decrypted PRODINFO.bin, and the key's from firmware 18.0.0
but i keep getting a error "extracted rsa key is not for this ticket"

do you have any idea ?
Do you have a mariko switch? and are you using the updated version from #227?
 

dogtygr

Member
Newcomer
Joined
May 30, 2023
Messages
19
Trophies
0
XP
43
Country
United States
Hello,
I know this is a old thread, but i cant seem to get this working again with my oled.
i have the decrypted PRODINFO.bin, and the key's from firmware 18.0.0
but i keep getting a error "extracted rsa key is not for this ticket"

do you have any idea ?
Hi can you tell me exactly what you did (like the whole process)? The nca you wanted to get packed ?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Oh snap Super Offroad was by them too? lol damn
    +1
  • BakerMan @ BakerMan:
    Today I learned that the creators of the Donkey Kong games also made Sea of Thieves
  • BakerMan @ BakerMan:
    why do i feel the sudden urge to start singing pirate's scorn from the donkey kong country cartoon?
  • BigOnYa @ BigOnYa:
    Are you being for real, cause that's hard to believe, DK is Nintendo and made in japan, Sea of thieves was from Microsoft, in America. I'm not calling you a liar, just didn't know.
  • BigOnYa @ BigOnYa:
    Ok yes they were both made by Rare, but DK was from Rare back then, Rare now is owned by MS. So makes since.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    They even developed a LJN game.... lol
  • K3Nv2 @ K3Nv2:
    It was pretty rare
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder what deal with Satan LJN worked to get Rare to make that one...
  • BigOnYa @ BigOnYa:
    I remember couple years ago, they announced they were working on a Perfect Dark remake, wonder what ever happen with that?
  • K3Nv2 @ K3Nv2:
    It went into the darkness
  • BigOnYa @ BigOnYa:
    Me and buddies used to play the hell out of Perfect Dark on N64, that and Goldeneye, was the first real PvP shooter games I remember
  • BigOnYa @ BigOnYa:
    4-way split screen on a tiny 19" TV, lol
  • K3Nv2 @ K3Nv2:
    Did you share joysticks also
  • BigOnYa @ BigOnYa:
    Nuh we had the 4 controller add on thingy for n64. Duh I just got your joke, lol
  • K3Nv2 @ K3Nv2:
    So you touched ends
  • BigOnYa @ BigOnYa:
    Yea, but being in the boy scouts, they forced us to
  • K3Nv2 @ K3Nv2:
    Chopped down some wood for the scout master
  • BigOnYa @ BigOnYa:
    Big Gay Al was our Scout leader.
  • BigOnYa @ BigOnYa:
    I was actually in the scouts for 1 week, til they assigned me homework, n I was like f this, and quit, I was like 10 yrs old. And no I didn't join the girl Scouts.
  • K3Nv2 @ K3Nv2:
    Was the homework about getting to know the scout leaders
  • BigOnYa @ BigOnYa:
    I had to memorize how to tell 15 different trees species, I think, been awhile. But yea it was about knowing Wood.
  • K3Nv2 @ K3Nv2:
    Could've just wrote down firewood
  • BigOnYa @ BigOnYa:
    It was lame. Like the goal was to earn badges/patches to wear on your uniform. Stupid.
  • K3Nv2 @ K3Nv2:
    Scooby doo was the only thing that made the scouts seem cool back then
    K3Nv2 @ K3Nv2: Scooby doo was the only thing that made the scouts seem cool back then