Homebrew WIP nxdumptool - Nintendo Switch Dump Tool

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,879
Trophies
1
Age
33
Location
Planet Earth
XP
4,249
Country
United States
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

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,788
Trophies
2
XP
28,198
Country
United Kingdom
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

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,602
Country
Spain
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,

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,602
Country
Spain
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.
 

Ochi

Member
Newcomer
Joined
May 10, 2014
Messages
14
Trophies
0
Age
37
XP
120
Country
Gambia, The
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

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,602
Country
Spain
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.
 

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,602
Country
Spain
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.
 

8BitWonder

Small Homebrew Dev
Member
Joined
Jan 23, 2016
Messages
2,487
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,314
Country
United States
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

  • [Windows] Merge gcdumptool Parts.7z
    1.2 KB · Views: 180
  • [Linux] Merge gcdumptool Parts.7z
    1.6 KB · Views: 375
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,602
Country
Spain
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.
 

8BitWonder

Small Homebrew Dev
Member
Joined
Jan 23, 2016
Messages
2,487
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,314
Country
United States
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

  • [Windows] Merge gcdumptool Parts.7z
    1.2 KB · Views: 255
  • 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,602
Country
Spain
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

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,879
Trophies
1
Age
33
Location
Planet Earth
XP
4,249
Country
United States
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

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,602
Country
Spain
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

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,602
Country
Spain
WFexVJk.jpg

Just a sneak-peak at what's to come (besides your usual bugfixes).
 
  • Like
Reactions: Aisuga

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,602
Country
Spain
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

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Sicklyboy @ Sicklyboy:
    maaaaan that's so awesome but I also don't want to fork over a hundo for it
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Leo could not withstand communism.
  • SylverReZ @ SylverReZ:
    Its OUR products to begin with lol.
    SylverReZ @ SylverReZ: Its OUR products to begin with lol.