Homebrew WIP nxdumptool - Nintendo Switch Dump Tool

  • Thread starter Thread starter DarkMatterCore
  • Start date Start date
  • Views Views 316,930
  • Replies Replies 562
  • Likes Likes 50
hi there so i have v.1.1.3 and everytime I start process I gat error for could not write bytes at 96% I have noticed my s.d is on FAT32 format so that may be the issue however my switch wont load a exfat s.d so is splitting my best option , if so how do exactly fuse them together to make them usable, or is there a way to make it work on FAT32 or how do I get the switch to run exfatpayload every time I do it doesn't boot past the triangle logo after atmosphere, any help is appreciated, ty.

Please provide additional information, like the CFW you're using (and its version), your Switch's FW version, a screenshot of the problem and your SD card details (brand, model, capacity).
 
UPDATE: If you downloaded the NRO binary before 2019-08-17 07:25 AM (UTC -4), please re-download it again. A quick fix was applied to avoid a crash while generating NSP dumps.

Sorry about that one, guys.
 
Last edited by DarkMatterCore,
@DarkMatterCore
Can I add this to HBUpdater?:
https://gbatemp.net/threads/hbupdater-a-one-stop-shop-for-keeping-cfws-homebrew-up-to-date.546116/


For the description I'd like to use a modified body of the gbatemp post and the compatibility list found on the github page:
Nintendo Switch Game Card Dump Tool
Main features:
- Generates full Cartridge Image dumps (XCI) with optional certificate removal and optional trimming.
- Generates installable Nintendo Submission Packages (NSP) from base applications, updates and DLCs stored in the inserted game card.
- Compatible with multigame carts.
- CRC32 checksum calculation for XCI/NSP dumps.
- Full XCI dump verification using XML database from NSWDB.COM (NSWreleases.xml).XML database and in-app update via libcurl.
- Precise HFS0 raw partition dumping, using the root HFS0 header from the game card.
- HFS0 partition file data dumping.
- HFS0 partition file browser with manual file dump support.
- RomFS section file data dumping.
- RomFS section file browser with manual file dump support.
- Manual game card certificate dump.
- Free SD card space checks in place.
- File splitting support for all operations.
- Game card metadata retrieval using NCM and NS services.
- Dump speed calculation, ETA calculation and progress bar.
Compatibility:
- Doesn't work under 1.0.0, and probably never will. The application needs some IPC calls that are only available from 2.0.0 onwards.
- Doesn't work under FW > 1.0.0 and < 4.0.0 if the application is launched using PegaSwitch. This is because PegaSwitch doesn't give full access permissions to the application. This is a known bug that's being looked into.
- Works under SX OS v1.2 and later, but only is your Switch is on FW > 1.0.0.
- When used with the inserted gamecard, the NSP dumping, ExeFS dumping/browsing and RomFS dumping/browsing capabilities depend entirely on the FW version the console is on. This is because the SPL services are used to decrypt the NCA key area directly without deriving for key area encryption keys. If the console is not updated to a FW version that supports the crypto/keyslot used by the inserted gamecard, these features will fail.
- NSP dumping, ExeFS dumping/browsing and RomFS dumping/browsing capabilities for installed SD/eMMC require the "sdmc:/switch/prod.keys" file. Likewise, update NSP dumping from gamecards requires this file to be available. Use Lockpick_RCM to generate it.
- If you go back to Horizon and get an error or black screen when trying to launch the inserted gamecard, just pull it out and re-insert it. No reboot needed. Any help on fixing this bug will be greatly appreciated.
 
  • Like
Reactions: DarkMatterCore
@DarkMatterCore
Can I add this to HBUpdater?:
https://gbatemp.net/threads/hbupdater-a-one-stop-shop-for-keeping-cfws-homebrew-up-to-date.546116/


For the description I'd like to use a modified body of the gbatemp post and the compatibility list found on the github page:
Nintendo Switch Game Card Dump Tool
Main features:
- Generates full Cartridge Image dumps (XCI) with optional certificate removal and optional trimming.
- Generates installable Nintendo Submission Packages (NSP) from base applications, updates and DLCs stored in the inserted game card.
- Compatible with multigame carts.
- CRC32 checksum calculation for XCI/NSP dumps.
- Full XCI dump verification using XML database from NSWDB.COM (NSWreleases.xml).XML database and in-app update via libcurl.
- Precise HFS0 raw partition dumping, using the root HFS0 header from the game card.
- HFS0 partition file data dumping.
- HFS0 partition file browser with manual file dump support.
- RomFS section file data dumping.
- RomFS section file browser with manual file dump support.
- Manual game card certificate dump.
- Free SD card space checks in place.
- File splitting support for all operations.
- Game card metadata retrieval using NCM and NS services.
- Dump speed calculation, ETA calculation and progress bar.
Compatibility:
- Doesn't work under 1.0.0, and probably never will. The application needs some IPC calls that are only available from 2.0.0 onwards.
- Doesn't work under FW > 1.0.0 and < 4.0.0 if the application is launched using PegaSwitch. This is because PegaSwitch doesn't give full access permissions to the application. This is a known bug that's being looked into.
- Works under SX OS v1.2 and later, but only is your Switch is on FW > 1.0.0.
- When used with the inserted gamecard, the NSP dumping, ExeFS dumping/browsing and RomFS dumping/browsing capabilities depend entirely on the FW version the console is on. This is because the SPL services are used to decrypt the NCA key area directly without deriving for key area encryption keys. If the console is not updated to a FW version that supports the crypto/keyslot used by the inserted gamecard, these features will fail.
- NSP dumping, ExeFS dumping/browsing and RomFS dumping/browsing capabilities for installed SD/eMMC require the "sdmc:/switch/prod.keys" file. Likewise, update NSP dumping from gamecards requires this file to be available. Use Lockpick_RCM to generate it.
- If you go back to Horizon and get an error or black screen when trying to launch the inserted gamecard, just pull it out and re-insert it. No reboot needed. Any help on fixing this bug will be greatly appreciated.

Sure thing! Feel free to go ahead and add it. :)
 
If you don't want to run homebrew using the internal eMMC, you must replace your current emuMMC with a copy of your internal eMMC after you purchase and download the game. If you download it to your SD card, you must also copy the contents from your "Nintendo" directory to your emuMMC directory in the SD card.

Alternatively, you can just run nxdumptool on your internal eMMC after downloading the game and call it a day.[/QUOTE]

If I understand your reply any time I want to make a nsp copy of a purchased eshop game(to use in my other Switch) I need to make a new emuMMC by downloading the boot 00 & 01 & raw gpp)and coping the contents from the Nintendo directory into the emuMMC?
 
I have a physical store bought legit copy of MM2 I'd like to dump so I can use the GC for other games. My Switch has been internet active on Atmosphere since I bought it with no issues. I don't use emuMMC, and have only used Homebrew through HB Menu as NRO.

As long as nobody else uses the physical cart on their system (it's going up on my bookshelf after the dump) there would be a low level of ban risk to run/play MM2 after installing the dump via Goldleaf yeah? What would be the most advisable method for dumping/installing? XCI? NSP? Plus GC cert dump? Thanks for advice...
 
Last edited by axiomjunglist,
I have a physical store bought legit copy of MM2 I'd like to dump so I can use the GC for other games. My Switch has been internet active on Atmosphere since I bought it with no issues. I don't use emuMMC, and have only used Homebrew through HB Menu as NRO.

As long as nobody else uses the physical cart on their system (it's going up on my bookshelf after the dump) there would be a low level of ban risk to run/play MM2 after installing the dump via Goldleaf yeah? What would be the most advisable method for dumping/installing? XCI? NSP? Plus GC cert dump? Thanks for advice...
Here's the problem. There is no way to play that dumped copy online without using SX OS. That is because the certificate of the game can only be used when the .XCI file is mounted. If you convert the .XCI file to .NSP format, the certificate will be lost in the process because it cannot be converted into a ticket. If you install the .XCI file, the certificate will be lost because it cannot be installed. So while you can install or convert the .XCI file, you will lose all online functionality with the game when you do so.
 
  • Like
Reactions: axiomjunglist
Here's the problem. There is no way to play that dumped copy online without using SX OS. That is because the certificate of the game can only be used when the .XCI file is mounted. If you convert the .XCI file to .NSP format, the certificate will be lost in the process because it cannot be converted into a ticket. If you install the .XCI file, the certificate will be lost because it cannot be installed. So while you can install or convert the .XCI file, you will lose all online functionality with the game when you do so.

Thank you, just the knowledge I was hoping someone could shed light on here. So, SX OS can mount (just not install) an .XCI dump that would be playable online. Does this require using the "GC cert dump" option in nxdumptool, or does simply dumping to .XCI cover this? Thx!
 
Thank you, just the knowledge I was hoping someone could shed light on here. So, SX OS can mount (just not install) an .XCI dump that would be playable online. Does this require using the "GC cert dump" option in nxdumptool, or does simply dumping to .XCI cover this? Thx!
The certificate dumping feature just dumps the certificate by itself. Someone else can correct me if I'm wrong because I have actually never used the program.
 
  • Like
Reactions: axiomjunglist
The certificate dumping feature just dumps the certificate by itself. Someone else can correct me if I'm wrong because I have actually never used the program.

@DarkMatterCore, does an .XCI dump from your tool contain the game cert automatically or do you need to use the optional "GC Cert Dump" and merge it somehow to the .XCI dump?
 
@DarkMatterCore, does an .XCI dump from your tool contain the game cert automatically or do you need to use the optional "GC Cert Dump" and merge it somehow to the .XCI dump?

You can choose to keep the certificate while generating the XCI dump by enabling the "Dump certificate" option in the "Cartridge Image (XCI) dump" submenu.
 
  • Like
Reactions: axiomjunglist
When I try to explore Romfs section of an update i get "error: invalid offset/size for NCA BKTR Romfs section", how do i fix this? (Im on version 1.1.4)
 
When I try to explore Romfs section of an update i get "error: invalid offset/size for NCA BKTR Romfs section", how do i fix this? (Im on version 1.1.4)

Did you retrieve your full keyset using Lockpick_RCM? Vanilla Lockpick (launched from HBL) is not enough.
 
nxdumptool updated to v1.1.5! As usual, go check the changelog in the first post.
  • RomFS sections from DLCs can now be browsed/dumped!
  • Minor speedup while dumping content, thanks to code optimizations + slight overclocking use applet functions.
  • Built using latest libnx to avoid HID problems under 9.0.0+.
Just as always, feedback is deeply appreciated.
 
Hello all,
Sorry if this has been asked, but when I try to dump my own US copy of the game Flashback, I get two options: The BASE and UPDATE.

The BASE gets dumped with no issue, but when I try to dump the UPDATE file onto my SD card, I get the "unable to open prod.keys to retrieve etc."

PLEASE HELP!

Thanks!
 
Hello all,
Sorry if this has been asked, but when I try to dump my own US copy of the game Flashback, I get two options: The BASE and UPDATE.

The BASE gets dumped with no issue, but when I try to dump the UPDATE file onto my SD card, I get the "unable to open prod.keys to retrieve etc."

PLEASE HELP!

Thanks!

Carefully read the disclaimer in the first post from this thread. Please.
 
  • Like
Reactions: Naked_Snake
Carefully read the disclaimer in the first post from this thread. Please.

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!
 

Site & Scene News

Popular threads in this forum