Homebrew WIP nxdumptool - Nintendo Switch Dump Tool

Puppydogpals

Well-Known Member
Member
Joined
Feb 19, 2018
Messages
193
Trophies
0
Age
43
XP
1,437
Country
United Kingdom
Having an issue.

Latest firmware, latest sxos, latest nxdumptool running in full memory mode, fat32

Got a game from hbg that's over 4GB tried to extract to nsp set fat32 to yes however resulting file is singular and shows to be 5.2GB in size which its obviously not

Any Ideas.....

Sent from my SM-G965F using Tapatalk
 

GnK23

Well-Known Member
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
I have a suggestion for the next update. Can you please include a batch dumper for DLC thank you!
 

BerserkLeon

Not-so-new member
Member
Joined
Mar 22, 2010
Messages
460
Trophies
1
Age
34
Location
Pennsylvania
XP
538
Country
United States
I think there's an error if you're running 10.0 now. Maybe because I used the updated lockpick_rcm?
Anyway game carts rip fine to xci
As mentioned elsewhere if you dump to nsp it won't split even if it's set to.
But more importantly, I don't seem to be able to dump dlcs/updates now. As soon as I start one I get the ! Box and it says an error occured.
Running NEUTOS, emummc. Booting up with payload.bin
 

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,604
Country
Spain
Having an issue.

Latest firmware, latest sxos, latest nxdumptool running in full memory mode, fat32

Got a game from hbg that's over 4GB tried to extract to nsp set fat32 to yes however resulting file is singular and shows to be 5.2GB in size which its obviously not

Any Ideas.....

Sent from my SM-G965F using Tapatalk

This is not a bug nor a problem with the application, but actually a feature. The generated NSP is split using the concatenation file method, which is just saving all parts to a directory using numbered filenames (e.g. "00", "01", etc.) and setting the archive bit on that directory. The Switch interprets this as a whole file.

If you take out the SD card and browse it using a computer, you'll see the NSP dump is indeed split.

I have a suggestion for the next update. Can you please include a batch dumper for DLC thank you!

It's has already been implemented. Just enter the batch mode menu and disable both the base applications and updates options. You'll be able to dump all DLCs that way.

I think there's an error if you're running 10.0 now. Maybe because I used the updated lockpick_rcm?
Anyway game carts rip fine to xci
As mentioned elsewhere if you dump to nsp it won't split even if it's set to.
But more importantly, I don't seem to be able to dump dlcs/updates now. As soon as I start one I get the ! Box and it says an error occured.
Running NEUTOS, emummc. Booting up with payload.bin

The 10.0.0 crash has apparently been fixed, but I need some additional tests. Feel free to try this build: https://github.com/DarkMatterCore/nxdumptool/files/4495949/nxdumptool_20200417_t1.zip. Please let me know if it works fine.

NSP dumps really are being splitted. Check my explanation to Puppydogpals.
 

KingRaijun

Member
Newcomer
Joined
Apr 18, 2020
Messages
8
Trophies
0
Age
34
XP
59
Country
Philippines
I am running the tool (dump NSP) on the latest CFW 10.0.0 | AMS 0.11.1E and latest release of Kosmos, everything works perfectly fine. With a FAT32 sd, the files are split but I need not combine them or whatsoever to install through Goldleaf. I'm using NS-USBloader to do the job. MacOS Mojave user btw.
 
Last edited by KingRaijun,

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,271
Country
Chile
I'm having an issue when trying to browse romFS files from Dark Souls game, it browse the game files just fine but if I add the update it crashes atmosphere, it happen with other games also. I'm using atmosphere 0.11.1, I redumped my keys when latest FW update came out, and also updated nxdumptool / xml.
 

Puppydogpals

Well-Known Member
Member
Joined
Feb 19, 2018
Messages
193
Trophies
0
Age
43
XP
1,437
Country
United Kingdom
This is not a bug nor a problem with the application, but actually a feature. The generated NSP is split using the concatenation file method, which is just saving all parts to a directory using numbered filenames (e.g. "00", "01", etc.) and setting the archive bit on that directory. The Switch interprets this as a whole file.

If you take out the SD card and browse it using a computer, you'll see the NSP dump is indeed split.

Ah I was using NXMTP to transfer and not removing card... thanks will try again


Sent from my SM-G965F using Tapatalk
 

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,604
Country
Spain
I am running the tool (dump NSP) on the latest CFW 10.0.0 | AMS 0.11.1E and latest release of Kosmos, everything works perfectly fine. With a FAT32 sd, the files are split but I need not combine them or whatsoever to install through Goldleaf. I'm using NS-USBloader to do the job. MacOS Mojave user btw.

That's exactly the idea behind the concatenation file split method: being able to use the output dump right away if you want to.

I'm having an issue when trying to browse romFS files from Dark Souls game, it browse the game files just fine but if I add the update it crashes atmosphere, it happen with other games also. I'm using atmosphere 0.11.1, I redumped my keys when latest FW update came out, and also updated nxdumptool / xml.

Please test the build from my previous post. Let me know about your results.

Ah I was using NXMTP to transfer and not removing card... thanks will try again


Sent from my SM-G965F using Tapatalk

Yes, nxmtp doesn't support concatenation files for some reason - which is quite a shame, because I still think it's the best MTP responder available for the Switch.
 
Last edited by DarkMatterCore,

Puppydogpals

Well-Known Member
Member
Joined
Feb 19, 2018
Messages
193
Trophies
0
Age
43
XP
1,437
Country
United Kingdom
Yes, nxmtp doesn't support concatenation files for some reason - which is quite a shame, because I still think it's the best MTP responder available for the Switch.

Anything else you can recommend transfer to pc without removing card (dont have much faith in the quality and longevity of the card mechanism to be honest)

Sent from my SM-G965F using Tapatalk
 

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,604
Country
Spain
Anything else you can recommend transfer to pc without removing card (dont have much faith in the quality and longevity of the card mechanism to be honest)

Sent from my SM-G965F using Tapatalk

You could try other MTP-based solutions, like mtp-server-nx. Using FTP to transfer dumps is another possibility, but it may take quite some time depending on the dump size.
 
  • Like
Reactions: Puppydogpals

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,648
Country
France
Hello Dark,
Thank you for still working on that tool :)

Just a question, as I didn't follow the scenes nor installed any games yet.
I'd prefer to understand before doing anything wrong.


Last summer, I used the dumptool to dump my brother's games to xci, I chose to keep the certificate to make them full dumps.
But, the certificate is only a real problem if you play online, and someone else play at the same time (or not?) that cartridge online too?

If I understand correctly, the certificate is only used/kept when using xci mounting with SXOS (which I don't have), so I don't have to care if the certificate is present or not if I use the xci dump to install it to NAND/SD (like nsp install, or convert xci to nsp etc.).
I don't have to first delete the certificate from the xci for my own use if I want to install it instead of mounting it?
as long as I don't share the full dump with the certificate in it I'm good, right?. I'd just wouldn't want the cart owner (currently my brother, someone else if he sells it) to be banned from online.

It's only the cartridge itself which is banned, or also the console/user account?

Is SXOS still capable of loading games xci without certificate? it just can't go online, right? or does it need some kind of fake replacement to even launch?
installing xci or nsp which don't have a certificate we can't go online at all, even if we try? how are games bought on eshop going online then? ticket instead of certificate?
(not that I'd want to play online with cfw, just for my knowledge)

it's what makes sense to me so far

edit : Which tool can remove/restore certificates from xci?
 
Last edited by Cyan,

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,604
Country
Spain
Hello Dark,
Thank you for still working on that tool :)

Just a question, as I didn't follow the scenes nor installed any games yet.
I'd prefer to understand before doing anything wrong.


Last summer, I used the dumptool to dump my brother's games to xci, I chose to keep the certificate to make them full dumps.
But, the certificate is only a real problem if you play online, and someone else play at the same time (or not?) that cartridge online too?

If I understand correctly, the certificate is only used/kept when using xci mounting with SXOS (which I don't have), so I don't have to care if the certificate is present or not if I use the xci dump to install it to NAND/SD (like nsp install, or convert xci to nsp etc.).
I don't have to first delete the certificate from the xci for my own use if I want to install it instead of mounting it?
as long as I don't share the full dump with the certificate in it I'm good, right?. I'd just wouldn't want the cart owner (currently my brother, someone else if he sells it) to be banned from online.

It's only the cartridge itself which is banned, or also the console/user account?

Is SXOS still capable of loading games xci without certificate? it just can't go online, right? or does it need some kind of fake replacement to even launch?
installing xci or nsp which don't have a certificate we can't go online at all, even if we try? how are games bought on eshop going online then? ticket instead of certificate?
(not that I'd want to play online with cfw, just for my knowledge)

it's what makes sense to me so far

edit : Which tool can remove/restore certificates from xci?

Hi there, mate!

That's right, it's only a problem when someone else goes online using the same gamecard certificate. NSP dumps don't include the gamecard certificate at all - they just don't use it.

If you're the only one who's gonna use a XCI dump with a valid certificate, it should represent no problem at all. But in this specific case, keeping the certificate in the XCI dump is discouraged, because your brother could potentially keep using the real gamecard.

The cartridge itself is flagged by Nintendo (serverside). And as far as I know, the console gets banned.

SX OS is still capable of launching XCIs without a certificate. Then again, going online is discouraged.

Nintendo servers request the tickets from installed digital titles to check if they're legit or no. Going online is discouraged as well in this case.

I believe XCI Explorer is capable of removing certificates from dumped XCIs. You can also just choose to remove the certificate from future dumps if you use nxdumptool.

Working, no crashes when adding upd/dlc :)

Excellent, thanks. :)

New release incoming.
 

GnK23

Well-Known Member
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
This is not a bug nor a problem with the application, but actually a feature. The generated NSP is split using the concatenation file method, which is just saving all parts to a directory using numbered filenames (e.g. "00", "01", etc.) and setting the archive bit on that directory. The Switch interprets this as a whole file.

If you take out the SD card and browse it using a computer, you'll see the NSP dump is indeed split.



It's has already been implemented. Just enter the batch mode menu and disable both the base applications and updates options. You'll be able to dump all DLCs that way.



The 10.0.0 crash has apparently been fixed, but I need some additional tests. Feel free to try this build: https://github.com/DarkMatterCore/nxdumptool/files/4495949/nxdumptool_20200417_t1.zip. Please let me know if it works fine.

NSP dumps really are being splitted. Check my explanation to Puppydogpals.

Maybe including a press x button for batch menu would be better. I had a friend tell me to press x button and thats the only time I found the batch menu. Thanks for the reply though.
 

PvtConker

Member
Newcomer
Joined
Apr 9, 2020
Messages
18
Trophies
0
Age
34
XP
107
Country
Germany
if i dump the cartridge without the certificate i get error if i want to install it, if i dump it with the certificate it is working.
both times i converted it to nsp and added the latest update.

if i convert the xci with the certificate to nsp, will it remove the certificate? i dont want my new/no cfw Switch to be banned
 

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,604
Country
Spain
Maybe including a press x button for batch menu would be better. I had a friend tell me to press x button and thats the only time I found the batch menu. Thanks for the reply though.

MDtT4Q4.jpg

I know the menu isn't the best and definitely won't ever be no matter how much effort I put into it because UI/UX isn't my thing, but all instructions are there.

if i dump the cartridge without the certificate i get error if i want to install it, if i dump it with the certificate it is working.
both times i converted it to nsp and added the latest update.

if i convert the xci with the certificate to nsp, will it remove the certificate? i dont want my new/no cfw Switch to be banned

The gamecard NSP dump menu offers no option to include/remove the gamecard certificate from the output NSP dump, at all. Are you actually dumping the XCI and converting it to NSP using PC tools? If so, and assuming you're using NSWDB XML verification while dumping the XCI and it passes, it's a bug unrelated to nxdumptool.

No XCI -> NSP conversion keeps the gamecard certificate. It's not needed for digital titles.
 

PvtConker

Member
Newcomer
Joined
Apr 9, 2020
Messages
18
Trophies
0
Age
34
XP
107
Country
Germany
The gamecard NSP dump menu offers no option to include/remove the gamecard certificate from the output NSP dump, at all. Are you actually dumping the XCI and converting it to NSP using PC tools? If so, and assuming you're using NSWDB XML verification while dumping the XCI and it passes, it's a bug unrelated to nxdumptool.

No XCI -> NSP conversion keeps the gamecard certificate. It's not needed for digital titles.
so my ofw switch is 100% save if i use your tool to dump my game directly to nsp, because there is no certificate includet?! if i understand that correctly :)
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,008
Trophies
2
Age
36
XP
4,570
Country
United States
so my ofw switch is 100% save if i use your tool to dump my game directly to nsp, because there is no certificate includet?! if i understand that correctly :)
Absolutely not. Digital games don’t use a certificate but they DO use their ticket for online verification. Installing a game card is the same as using an XCI without a certificate. Insta-ban if you try to go online with it.
 
  • Like
Reactions: DarkMatterCore

GnK23

Well-Known Member
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
MDtT4Q4.jpg

I know the menu isn't the best and definitely won't ever be no matter how much effort I put into it because UI/UX isn't my thing, but all instructions are there.



The gamecard NSP dump menu offers no option to include/remove the gamecard certificate from the output NSP dump, at all. Are you actually dumping the XCI and converting it to NSP using PC tools? If so, and assuming you're using NSWDB XML verification while dumping the XCI and it passes, it's a bug unrelated to nxdumptool.

No XCI -> NSP conversion keeps the gamecard certificate. It's not needed for digital titles.

Maybe this is an error on the script but the press x does not show on the text bar.
https://i.imgur.com/6xwJjXf.jpg
 

protivakid

Well-Known Member
Member
Joined
May 6, 2014
Messages
197
Trophies
0
Age
38
XP
628
Country
United States
Is there a way to change the default output directory? Would save time moving the files from one folder to another after dumping
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=pnRVIC7kS4s