Homebrew WIP nxdumptool - Nintendo Switch Dump Tool

  • Thread starter Thread starter DarkMatterCore
  • Start date Start date
  • Views Views 316,995
  • Replies Replies 562
  • Likes Likes 50
Yay it works so freaking good! Dumped Hyrule Warriors. Works like a charm :) Split NSP file to be exact.

This should be the defacto scene release tool if they do NSPs. Also if you can, can you add the option to keep tickets in NSPs from the cart as well? If possible? :)

Always with option, I rather have my NSP without tickets just in case :v
 
  • Like
Reactions: linuxares
Yay it works so freaking good! Dumped Hyrule Warriors. Works like a charm :) Split NSP file to be exact.

This should be the defacto scene release tool if they do NSPs. Also if you can, can you add the option to keep tickets in NSPs from the cart as well? If possible? :)
Carts don't have tickets, they use the other kind of crypto that doesn't use a ticket.
They do have certificates, to identify them for online play, I don't know if nsp can contain that, or if you'd want it to.
 
  • Like
Reactions: linuxares
You are a GOD. I will still make use if it lol, thanks a lot!

You're welcome, mate. If you run into any problems, just let me know.

Yay it works so freaking good! Dumped Hyrule Warriors. Works like a charm :) Split NSP file to be exact.

This should be the defacto scene release tool if they do NSPs. Also if you can, can you add the option to keep tickets in NSPs from the cart as well? If possible? :)

Glad to know it's working fine!

Well, in all my tests, I didn't see a single gamecard using a Ticket + Rights ID encryption. They all seem to just use encrypted NCA + CNMT NCA for each bundled application in the Secure partition. I even think tools like NSC_BUILDER remove the Rights ID encryption from NCAs when performing NSP -> XCI conversions.

If you end up finding one, sure, I could gladly make it an option. I'd need some help with testing, though. It's very hard for me at this moment to acquire any more gamecards.

EDIT: this won't end up being used for NSP Scene releases, because the header for each NCA content is decrypted to modify the content distribution method field, and then reencrypted before being written to the output file.

Always with option, I rather have my NSP without tickets just in case :v

Sure, that's the idea. Right now, the generated NSPs are both tik-less and cert-less.

REALLY? We will need to start again with this "YET" mame? :mellow::glare:

Sorry mate, I'm not very good with names. Although this thread was actually created like a year ago.

Carts don't have tickets, they use the other kind of crypto that doesn't use a ticket.
They do have certificates, to identify them for online play, I don't know if nsp can contain that, or if you'd want it to.

Yeah, that's exactly what I think.

The gamecard certificate format is different from the one used by NSPs, though, so it's not possible.
 
Last edited by DarkMatterCore,
I put together a quick batch script for merging XCI parts if anyone would rather do that than manually do it in command-line.
Just make sure to take a look at the README.txt for instructions.
 

Attachments

I put together a quick batch script for merging XCI parts if anyone would rather do that than manually do it in command-line.
Just make sure to take a look at the README.txt for instructions.

Thanks! I'll add it to the first post.

I'll also take a look at the issue you opened. Power just got back at my home.
 
Hey, I dumped Shining Force Resonance as a .nsp File (prod.keys is available) but after installing it with Goldleaf the game won't start. I'm on FW 7.0.1.

Same Problem with Dead or Alive Scarlet.

Dumping it as a .xci and converting ig on a PC to a .nsp works flawlessly
 
  • Like
Reactions: DarkMatterCore
Hey, I dumped Shining Force Resonance as a .nsp File (prod.keys is available) but after installing it with Goldleaf the game won't start. I'm on FW 7.0.1.

Same Problem with Dead or Alive Scarlet.

Dumping it as a .xci and converting ig on a PC to a .nsp works flawlessly

Yeah, it's not the first report I get about this problem. Might have to take a look at the NCA headers to see if anything else besides the content distribution method needs to be changed as well.

I'll send you a PM.
 
Is it possible to get the software to dump installed eshop applications?

Sure, but I prefer not to add such a feature since Goldleaf (and posibly other apps that I'm not aware of) already excel at this.

What may be desirable is adding a way to dump DLCs and Updates to Goldleaf, but that's up to XorTroll.
 
Updated the Windows batch script I made earlier, I was handling some parts of it pretty poorly.

Now it will only merge parts with a matching file-name. This allows the user to merge xci parts in a directory that already has xcis or other parts in it if they choose to.
Additionally if the xci it's building already exists in the current directory it will prompt the user if they want to overwrite it.
@DarkMatterCore Would you mind linking to this one instead of my previous upload?

Additionally I took the Windows script and ported it over to bash for Linux environments.
(While I have tested it, I'm not as experienced with Linux/Bash. So if I messed up with it somewhere someone let me know)
 

Attachments

Last edited by 8BitWonder,
  • Like
Reactions: DarkMatterCore
Updated the Windows batch script I made earlier, I was handling some parts of it pretty poorly.

Now it will only merge parts with a matching file-name. This allows the user to merge xci parts in a directory that already has xcis or other parts in it if they choose to.
Additionally if the xci it's building already exists in the current directory it will prompt the user if they want to overwrite it.
@DarkMatterCore Would you mind linking to this one instead of my previous upload?

Additionally I took the Windows script and ported it over to bash for Linux environments.
(While I have tested it, I'm not as experienced with Linux/Bash. So if I messed up with it somewhere someone let me know)

Sure thing, I'll gladly add it to the first post. Thanks again!

By the way, I've been suffering a lot of power outages and Internet disconnections recently. The perks of living in a socialist country, I guess. I have already taken care of the issue you opened in the meantime, along with some other problems as well.
 
I introduced a dumb bug in the Windows script I put up by forgetting a couple double quotes, sorry. :blush:
(It would make the script crash if a file contained ')' in the filename, which any gcdumptool file would)
@DarkMatterCore This should be the last fix, sorry to bug you twice in one day.
 

Attachments

  • Like
Reactions: DarkMatterCore
I introduced a dumb bug in the Windows script I put up by forgetting a couple double quotes, sorry. :blush:
(It would make the script crash if a file contained ')' in the filename, which any gcdumptool file would)
@DarkMatterCore This should be the last fix, sorry to bug you twice in one day.

Don't worry, that's a common thing! If I had a penny for each time that's ever happened to me, I'd be out of Venezuela! (at least) :rofl:

I'll gladly update the link. ;)
 
  • Like
Reactions: 8BitWonder
Sure thing, I'll gladly add it to the first post. Thanks again!

By the way, I've been suffering a lot of power outages and Internet disconnections recently. The perks of living in a socialist country, I guess. I have already taken care of the issue you opened in the meantime, along with some other problems as well.
Sorry about Venezuela my friend :/ hope things get better in the future. Cheers.
 
  • Like
Reactions: DarkMatterCore
So we can dump the games cert, does this mean we can install and *hopefully* avoid a ban? (I say hopefully because with CFW there is always a chance)
 
Sorry about Venezuela my friend :/ hope things get better in the future. Cheers.

Thanks mate, I really appreciate the support.

So we can dump the games cert, does this mean we can install and *hopefully* avoid a ban? (I say hopefully because with CFW there is always a chance)

Nope. The gamecard certificate can't be used with NSP installations.

However, if you use your own XCI dumps (with certificates) under SX OS, theoretically speaking you should be able to go online. Personally, I wouldn't risk it, though.
 
  • Like
Reactions: stitchxd
WFexVJk.jpg

Just a sneak-peak at what's to come (besides your usual bugfixes).
 
  • Like
Reactions: Aisuga
Can i dump games/dlcs/updates installed on my console to my SD in NSP format? or this one only extract cartridges?
 
Can i dump games/dlcs/updates installed on my console to my SD in NSP format? or this one only extract cartridges?

Only cartridges. Adding this feature isn't on my plans, but anyone is free to contribute to this project's repository if they feel like it.

You can, however, dump eShop titles using Goldleaf. Last time I checked, it didn't support dumping installed DLCs/Updates, though.

You can also dump your titlekeys and use this on a PC to get your NSPs.

@XorTroll Is this feature already in your to-do list?
 
Last edited by DarkMatterCore,
  • Like
Reactions: stitchxd

Site & Scene News

Popular threads in this forum