Homebrew WIP nxdumptool - Nintendo Switch Dump Tool

MSco

Well-Known Member
Member
Joined
Nov 2, 2016
Messages
350
Trophies
0
XP
704
Country
Germany
When dumping update data or cartridges with nxdumptool the following options can be done:

when dumping an update to nsp:
(a) Remove console specific data
(b) change npdm rsa key/sig in Program NCA

when dumping a cartridge to xci:
(c) Keep certificate

I would like to dump my cartridges to installable files and my updates and dlcs to seperate nsp files. I would like to play offline on cfw (with installed titles from xci dumps) and online on ofw (with original cartridge)

1. Which dump is more safe for my purpose? nsp or xci?

2. What is the purpose of the options listed above? Which option should be enabled and which disabled, when I want to use those dumps for playing offline only and give away the cartridges to other persons who will (maybe) play online on their ofw? I would like to be as safe as possible, my console is not banned, yet.

3. Does the certificate only matter, if I want to play online? I read, that two people with the same certificate cannot play at the same time. Is this even the case, if I play offline with that installed title from xci dump?
 
Last edited by MSco,

SnaXe

Active Member
Newcomer
Joined
May 29, 2020
Messages
34
Trophies
0
Age
27
XP
112
Country
Australia
Hey i've been trying to dump a game that I own from OFW and have it on my emu cfw. The game is free and i'm still new to game dumping so if anyone can help that would be great.
 

MxFlix

New Member
Newbie
Joined
Jun 18, 2020
Messages
2
Trophies
0
Age
30
XP
34
Country
Germany
I'm very new to Switch hacking, so please tell me if I provide to little (or too much) information.

I tried dumping my Pokémon Shield Gamecard, and it worked just fine.
But when I try to include the Update/DLC (or really, if I try to dump any non-Gamecard content), I get the error,
retrieveNcaTikTitleKey: invalid public RSA exponent for eTicket data! Wrong keys?
Try running Lockpick_RCM to generate the keys file from scratch.

I saw that the same error has been described same pages ago already, but unfortunately, I still get it even after trying the suggestions there.
I'm using the latest versions of nxdumptool (v1.1.10) and Lockpick_RCM (v1.8.3).
It occurs no matter whether the data has been downloaded under EmuMMC or Sys, nor whether it's on the SD card or the internal memory.
I have also tried creating the prod.keys file from both SysNAND and EmuNAND (not at the same time, obviously)

Any ideas what I could be doing wrong?
 

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 found an error when i Dump gamecard content.
Nca found success but can not read header data

Please provide a screenshot of the problem.

I'm very new to Switch hacking, so please tell me if I provide to little (or too much) information.

I tried dumping my Pokémon Shield Gamecard, and it worked just fine.
But when I try to include the Update/DLC (or really, if I try to dump any non-Gamecard content), I get the error,
retrieveNcaTikTitleKey: invalid public RSA exponent for eTicket data! Wrong keys?
Try running Lockpick_RCM to generate the keys file from scratch.

I saw that the same error has been described same pages ago already, but unfortunately, I still get it even after trying the suggestions there.
I'm using the latest versions of nxdumptool (v1.1.10) and Lockpick_RCM (v1.8.3).
It occurs no matter whether the data has been downloaded under EmuMMC or Sys, nor whether it's on the SD card or the internal memory.
I have also tried creating the prod.keys file from both SysNAND and EmuNAND (not at the same time, obviously)

Any ideas what I could be doing wrong?

Hmm, last time people were getting this error was because there are consoles with personalized eTicket device keys, and a newer Lockpick_RCM fixed the issue.

Could you please send me a DM or contact me via Discord? I would like to try some options.
 

MxFlix

New Member
Newbie
Joined
Jun 18, 2020
Messages
2
Trophies
0
Age
30
XP
34
Country
Germany
Please provide a screenshot of the problem.



Hmm, last time people were getting this error was because there are consoles with personalized eTicket device keys, and a newer Lockpick_RCM fixed the issue.

Could you please send me a DM or contact me via Discord? I would like to try some options.
Unfortunately, I can't yet send DMs here. I contacted you via Discord :)
 
  • Like
Reactions: DarkMatterCore

Derlohgocker

Well-Known Member
Newcomer
Joined
Apr 13, 2016
Messages
52
Trophies
0
Age
26
XP
139
Country
Gambia, The
Hello together i have a problem i want to use pknx again with pokemon so i needed to dump my shield again but this time with update and every time at 96% it stops with this error ->
RecursiveDumpRomFsFile: failed to write 4194304 bytes chunk from offset 0x000000001D400000! (wrote 0 bytes)
i hope someone can help me thanks in advance :)
 

cai_miao

Well-Known Member
Newcomer
Joined
Jun 6, 2017
Messages
56
Trophies
0
XP
322
Country
China
on mariko cannot dump some eshop content with proper (full) keyset from another console

`retrieveNcaTikTitleKey: invalid public RSA exponent for eTicket data! Wrong keys?`
 

KlikAas

New Member
Newbie
Joined
Jul 20, 2020
Messages
1
Trophies
0
Age
23
XP
33
Country
Netherlands
hi, I am trying to dump my Pokemon Sword cartridge to randomize it. I updated my game using NSP and also downloaded the DLC using the same method but when I try to dump the game with the dlc my Atmosphere crashes and I get error code 2168-0002 (0x4a8). Am i doing anything wrong here please help :)
 

frisk9003

Member
Newcomer
Joined
Mar 6, 2020
Messages
8
Trophies
0
Age
33
XP
78
Country
United States
Hello, I really need help with nxdumptool!!
So every time I try dumping my romfs for pokemon shield it says recursiveDumpRomFsFile: failed to open output file 'sdmc:/switch/nxdumptool/RomFs/Pok_mon Shield v0 901008DB008C2000 BASE/bin/message/JPN/script_0/sub_event_022.dat
and when I plug my sd card into my PC it gets corrupted.

I'm using the pokemon shield game card and my USB is exfat
 
Last edited by frisk9003,

glowy

Well-Known Member
Member
Joined
May 18, 2007
Messages
130
Trophies
1
Age
49
XP
566
Country
Netherlands
Hi, thanks for this awesome tool.
I'm having a strange issue when dumping DLC, might be as designed, but I'm not quite sure.
I usually check my NSPs with NX Game Info, switch backup manager or any other tool to check the validity of the NSP files.
But all the DLCs I dump are not recognized as a valid NSP, is there a different setting I need to use for DLC?

I use these settings:
- split: yes
- verify with no-intro database: no
- remove console specific data: yes
- generate ticketless: no
 

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
Hi, thanks for this awesome tool.
I'm having a strange issue when dumping DLC, might be as designed, but I'm not quite sure.
I usually check my NSPs with NX Game Info, switch backup manager or any other tool to check the validity of the NSP files.
But all the DLCs I dump are not recognized as a valid NSP, is there a different setting I need to use for DLC?

do u have your prod.keys and titles.txt in your switch folder? are they up to date? also what title is the dlc for?
 

glowy

Well-Known Member
Member
Joined
May 18, 2007
Messages
130
Trophies
1
Age
49
XP
566
Country
Netherlands
do u have your prod.keys and titles.txt in your switch folder? are they up to date? also what title is the dlc for?
I think you mean the title.keys instead of titles.txt?
If yes, then yes, the keys files are in the switch folder, I even recreated them for troubleshooting purposes.
I tried several DLCs i.e.a Hat in Time, Moving Out and several others. all with the same result.
 

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
I think you mean the title.keys instead of titles.txt?
If yes, then yes, the keys files are in the switch folder, I even recreated them for troubleshooting purposes.
I tried several DLCs i.e.a Hat in Time, Moving Out and several others. all with the same result.

ok well is this the main switch mark on your account or secondary switch? if it's secondary then that's your issue since it doesn't save the titlekey cert on the secondary switch which is why it checks online when you launch the game
 

glowy

Well-Known Member
Member
Joined
May 18, 2007
Messages
130
Trophies
1
Age
49
XP
566
Country
Netherlands
ok well is this the main switch mark on your account or secondary switch? if it's secondary then that's your issue since it doesn't save the titlekey cert on the secondary switch which is why it checks online when you launch the game
I only have one switch, so then it should be the main one :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: 24,000 hmmmm lol