Homebrew WIP nxdumptool - Nintendo Switch Dump Tool

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,606
Country
Spain
Thanks for the tip. OK, I have downloaded the file, do I need to *install* this? Also seems like I already have a Lockpick App when that came with my Atlas NX Kosmos.

Thanks!

Lockpick isn't something you're supposed to install. All it does is retrieve your console keys and save them to your SD card. These keys are needed by nxdumptool to deal with the encryption schemes used by Nintendo Switch content files.

You should have both the Lockpick homebrew app (NRO) and the Lockpick_RCM payload. You are supposed to run the latter in order to retrieve all the keys needed by the application. If you use Hekate, just select the "Lockpick_RCM.bin" file from the "Payloads" menu and you're good to go.
 
D

Deleted User

Guest
Assuming you're using 90DNS + airplane mode + disabled report upload to Nintendo, I don't see why using this or any other homebrew application could impose any kind of risk.
I do use EdiZon to dump/restore saves in airplane mode. Safe enough for me to use without needing to restore my nand. I can go and play online but I just wanted to know if this was safe. I'll give it a try
 
Last edited by ,
  • Like
Reactions: DarkMatterCore

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,606
Country
Spain
nxdumptool updated to v1.1.6! As usual, go check the changelog in the first post.
  • It is now possible to start a XCI/NSP dump procedure even if there's not enough free storage space available (sequential dump á la Hekate). Check the changelog for more details.
  • A configuration file is now used to keep track of the settings for each dump mode (XCI / NSP / batch mode).
  • The entries displayed in the batch mode summary list can now be enabled/disabled, letting the user further customize the dump process.
  • Batch mode overrides have been added. They are useful to skip titles that have been successfully dumped in the past using batch mode, even if their NSPs have been moved or deleted from the SD card.
  • Bugfixes and other minor stuff.
Just as always, feedback is deeply appreciated.

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

@8BitWonder Could you please update your scripts to add compatibility with sequential dumps? Mostly NSPs, since the ".nsp.hdr" file must be placed before anything else.
 

Josephox

New Member
Newbie
Joined
Oct 17, 2019
Messages
2
Trophies
0
Age
25
XP
77
Country
United States
Hello, I am on FW 8.1.0 with ReiNX CFW and have updated to this latest build but I continue to get the error: invalid header size for NCA RomFS section while trying to dump that section. This error only occurs on about a quarter of my games (Ori, Little Town Hero, Spyro, etc.). I also get the error: invalid NCA BKTR subsection header size while trying to browse the RomFS section of updates where the base game's RomFS is able to be dumped successfully. Any ideas on what I might be doing wrong?
 

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,606
Country
Spain
Hello, I am on FW 8.1.0 with ReiNX CFW and have updated to this latest build but I continue to get the error: invalid header size for NCA RomFS section while trying to dump that section. This error only occurs on about a quarter of my games (Ori, Little Town Hero, Spyro, etc.). I also get the error: invalid NCA BKTR subsection header size while trying to browse the RomFS section of updates where the base game's RomFS is able to be dumped successfully. Any ideas on what I might be doing wrong?

Have you properly dumped your console keys using the latest Lockpick_RCM build?
 
Last edited by DarkMatterCore,

8BitWonder

Small Homebrew Dev
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,363
Country
United States
@DarkMatterCore
New Windows script.
- Added Sequential XCI Support
- Added Sequential NSP Support

If anyone runs into problems with it let me know and I'll see about fixing it.
I'll update the Linux script when I find more time for it.
 

Attachments

  • [Windows] Merge nxdumptool Parts.7z
    1.7 KB · Views: 607
Last edited by 8BitWonder,
  • Like
Reactions: DarkMatterCore

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,606
Country
Spain
@DarkMatterCore
New Windows script.
- Added Sequential XCI Support
- Added Sequential NSP Support

If anyone runs into problems with it let me know and I'll see about fixing it.
I'll update the Linux script when I find more time for it.

Thanks! I'll update the first post.
 

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,606
Country
Spain
nxdumptool updated to v1.1.7! As usual, go check the changelog in the first post. Here's a quick summary of the changes from this new version:
  • Tickets and RSA certificates are now properly parsed and retrieved from their respective system savefiles at runtime (using code from Lockpick_RCM). Thus, ticket/titlekey retrieval is even faster now; and it is no longer necessary to bundle any certificates within the application.
  • Added a ticket submenu to dump tickets from SD/eMMC titles without having to dump their entire NSPs. Supports optional removal of console specific data. The titlekey is displayed during the dump process.
  • Added compatibility with the new XS00000024 RSA ticket certificate introduced in 9.0.0.
  • Added an option to control the NPDM RSA key/sig patching performed on Program NCAs from base applications and updates whenever additional modifications are needed.
  • Updates/DLCs with missing base applications (Y button menu) now properly display their parent base application name whenever possible.
  • NSP/ExeFS/RomFS options are now entirely disabled if no keys file is found in "sdmc:/switch/prod.keys". A warning is also displayed under this case, telling the user to run Lockpick_RCM.
  • Many fixes for output update NSPs. If you have any, please redump them.
  • Slightly improved the codestyle in some sections.
PSA: if you downloaded any new games from the eShop after updating to 9.0.0+ and used a previous release of nxdumptool to dump NSPs with console specific data, please redump them - their RSA certificate chain isn't the proper one. Dumps without console specific data (or without a ticket) are not affected by this.

Just as always, feedback is deeply appreciated.

By the way, sorry for the delay. Under normal circumstances, I would have announced the update here as soon as I released it. But some sick stuff happened in my life over the last couple of days.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
    Veho @ Veho: That's a relief to hear. Do you know what happened?