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
... Here's another sneak peek. I know it's been a while now since my last update, but I'm trying my best to keep this as polished as possible. My current internal changelog for the new version has gotten pretty big up to this point (more than I would have wanted, tbh). Suggestions are welcome.

88N4U9C.jpg




7VS2SBg.jpg



aUtep5V.jpg
 

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
Are the updates on the gamecard or on the internal memory?

Every gamecard includes a copy of a specific System Update.

There are also gamecards that include an update for the game itself, stored with it on the same HFS0 Secure partition. They are basically a new revision of the same physical game release.
 
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,606
Country
Spain
gcdumptool updated to v1.1.0! As usual, go check the changelog in the first post.

The complete set of changes for this new version is preeeeeeetty long, so here's a quick summary of what can be expected from this release:
  • Generated NSPs should no longer require ACID patches.
  • Dumps DLCs/Updates straight from gamecards (if they're available).
  • Split XCIs + archive bit are now a thing.
  • Enjoy datamining the RomFS section from your gamecards! You can now browse/dump it to your heart's content. And it supports multigame carts.
  • The application is now capable of retrieving the required keys on its own. The "prod.keys" file is not needed anymore.
Just as always, feedback is deeply appreciated.
 

Agent Moose

Well-Known Member
Member
Joined
Dec 6, 2014
Messages
407
Trophies
0
Age
33
XP
552
Country
United States
First time user here. I just tried to dump Breath of the Wild on 3.0.0 and I'm getting an error when trying to dump via NSP: ncmContenStorageReadContentId file failed for NCA.

Any clue how to fix this?
 
  • 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
First time user here. I just tried to dump Breath of the Wild on 3.0.0 and I'm getting an error when trying to dump via NSP: ncmContenStorageReadContentId file failed for NCA.

Any clue how to fix this?

Never had the chance to try the NSP dump feature on 3.0.0, sorry. Might have something to do with the IPC calls used to read the NCA content files, but it's hard to know without performing some additional tests.

I would be glad to fix this if you can help me. My Switch is always kept on the latest FW.
 

Agent Moose

Well-Known Member
Member
Joined
Dec 6, 2014
Messages
407
Trophies
0
Age
33
XP
552
Country
United States
Never had the chance to try the NSP dump feature on 3.0.0, sorry. Might have something to do with the IPC calls used to read the NCA content files, but it's hard to know without performing some additional tests.

I would be glad to fix this if you can help me. My Switch is always kept on the latest FW.
I'm up for helping as long as it doesn't harm my switch :P (I do make frequent NAND Backups)
 
  • 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
Updated the disclaimer in the OP to add some pretty important information about the NSP dumping and RomFS dumping/browsing capabilities: they won't work if the inserted gamecard uses a crypto type/keyslot higher than what the currently installed FW version supports (e.g. trying to create a SSBU RomFS dump under 4.0.0 will fail).

I'm up for helping as long as it doesn't harm my switch :P (I do make frequent NAND Backups)

Thanks! I sent you a PM.
 
Last edited by DarkMatterCore,

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,270
Country
United States
Updated the disclaimer in the OP to add some pretty important information about the NSP dumping and RomFS dumping/browsing capabilities: they won't work if the inserted gamecard uses a crypto type/keyslot higher than what the currently installed FW version supports (e.g. trying to create a SSBU RomFS dump under 4.0.0 will fail).



Thanks! I sent you a PM.
You made it possible... im so thankful! Thanks a lot for your efforts!
 

E1mwood

New Member
Newbie
Joined
Jun 13, 2019
Messages
2
Trophies
0
Age
41
XP
98
Country
United States
Never had the chance to try the NSP dump feature on 3.0.0, sorry. Might have something to do with the IPC calls used to read the NCA content files, but it's hard to know without performing some additional tests.

I would be glad to fix this if you can help me. My Switch is always kept on the latest FW.

I'm running 3.0.0, having the same error trying to read a copy of Pokken Tournament. I can help with debugging, as well. I'm fairly new to Switch modding but can pull log files or whatever else you need with a little guidance.

XCI backup seemed to work but I haven't yet installed or tested the resulting dump. Thanks for this awesome tool.
 
  • Like
Reactions: 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,356
Country
United States
I'm running 3.0.0, having the same error trying to read a copy of Pokken Tournament. I can help with debugging, as well. I'm fairly new to Switch modding but can pull log files or whatever else you need with a little guidance.

XCI backup seemed to work but I haven't yet installed or tested the resulting dump. Thanks for this awesome tool.
Out of curiosity, is your cartridge a v000 or v001 copy?
(I assume v000 since you probably play it on 3.0.0, but I'm curious anyway)
 

E1mwood

New Member
Newbie
Joined
Jun 13, 2019
Messages
2
Trophies
0
Age
41
XP
98
Country
United States
Out of curiosity, is your cartridge a v000 or v001 copy?
(I assume v000 since you probably play it on 3.0.0, but I'm curious anyway)

v000, from when it first came out. I play mostly on up to date FW on a different Switch.

I bought an extra Switch (splatoon bundle) when I heard they were on 3.0.0. I've only recently busted it out and started working on hacking it. Very cool stuff.
 
Last edited by E1mwood,
  • Like
Reactions: Mouser X

Mouser X

Well-Known Member
Member
Joined
Aug 26, 2009
Messages
101
Trophies
0
XP
546
Country
United States
I bought an extra Switch (splatoon bundle) when I heard they were on 3.0.0. I've only recently busted it out and started working on hacking it. Very cool stuff.
Hah! Same here! I've been using Lakka on my 3.0.0 Switch (my other Switch is hackable as well, but at the time, I knew 3.0.0 had some specific exploits) to play Skies of Arcadia. I'm hoping to eventually use this tool to dump my game carts from my other Switch, to use them on my 3.0.0 Switch (local multiplayer using only one cart for the win!).

Sadly, I'm not sure Splatoon 2 was worth the extra $80 (though, since I got the whole thing 25% off, I actually paid $285, so still cheaper than a standard Switch. I guess I can't complain about it too much). I've only been able to play it single player. Maybe when I rip the NSP off my other Switch, I'll be able to do local multiplayer with someone.
 

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
I'm running 3.0.0, having the same error trying to read a copy of Pokken Tournament. I can help with debugging, as well. I'm fairly new to Switch modding but can pull log files or whatever else you need with a little guidance.

XCI backup seemed to work but I haven't yet installed or tested the resulting dump. Thanks for this awesome tool.

Thanks. I really appreciate it. I'll try to put up a quick test build and send it to you.

Hah! Same here! I've been using Lakka on my 3.0.0 Switch (my other Switch is hackable as well, but at the time, I knew 3.0.0 had some specific exploits) to play Skies of Arcadia. I'm hoping to eventually use this tool to dump my game carts from my other Switch, to use them on my 3.0.0 Switch (local multiplayer using only one cart for the win!).

Sadly, I'm not sure Splatoon 2 was worth the extra $80 (though, since I got the whole thing 25% off, I actually paid $285, so still cheaper than a standard Switch. I guess I can't complain about it too much). I've only been able to play it single player. Maybe when I rip the NSP off my other Switch, I'll be able to do local multiplayer with someone.

Hey, I know you from HCS forum! I'm a long time lurker in that site.

I may not look like it but I love datamining. Your scripts and other contributions over there have been of great help for me in the last few years. I guess it's time to pay that debt.
 

TerraPhantm

Well-Known Member
Member
Joined
Jul 27, 2007
Messages
498
Trophies
0
XP
680
Country
United States
Is there anything special that needs to be done for newer firmware versions? Trying to dump my copy of BOTW (launch day version) to NSP, and I get an error saying "unable to locate "header_kek_source" in process memory!" XCI dumping seemingly works, though I didn't bother letting that finish since I don't have SXOS

Using Atmosphere 0.9.0 with OS 8.0.1
 

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
Is there anything special that needs to be done for newer firmware versions? Trying to dump my copy of BOTW (launch day version) to NSP, and I get an error saying "unable to locate "header_kek_source" in process memory!" XCI dumping seemingly works, though I didn't bother letting that finish since I don't have SXOS

Using Atmosphere 0.9.0 with OS 8.0.1

If you're using an emuMMC, that's normal. It's already fixed for the next version, which will be released tomorrow (hopefully).

If you're not, beats me. I'd have to check the code to see what's wrong. I haven't updated to Atmosphere 0.9.0 yet.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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