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,391
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,181
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
42
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
266
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
42
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
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
    The Real Jdbye @ The Real Jdbye: never had that i don't think