Homebrew RELEASE Nintendo Switch SD to NSP Dumper

demonXcore

Member
Newcomer
Joined
Jul 9, 2018
Messages
19
Trophies
0
Age
34
XP
194
Country
Germany
Hey, thanks for the quick response and for the tool!

I finally got this to work. I just manually replaced the fixedkeys.txt with my keys.txt and it worked!

I have the same issue, it's not able to decrypt some NCAs although I removed the FixedKeys.txt and reload it.
Manually overwriting doesn't work either.

The problem appears using version 1.10.
The games not appearing are Super Smash Bros. Ultimate and Travis Strikes Again.

I'd appreciate some help. Meanwhile, I'll check if any other versions work.

EDIT: Tried with 1.09 as I can't download older versions anymore. In 1.09 it won't let me parse NCAs at all, I'm just getting an error about something that can't be "NULL".
EDIT2: Nvm. I found out that Lockpick didn't get all keys because for whatever reason, it didn't correctly find the tsec or whatever happened. I created a new keys.txt that contained all keys and now it worked. Thanks anyway!
 
Last edited by demonXcore,

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
do you have too restore your backup to use this tool? just that there's nothing wrong with the console and i don't want to do it unless i have too?
 

Romreactor

Member
Newcomer
Joined
Feb 7, 2019
Messages
23
Trophies
0
Age
32
XP
144
Country
United States
Hey guys, I have a switch on 4.0.1 firmware and am not looking into updating it. But I purchased Beyonetta 2 hard copy that came with Beyonetta 1 as eShop download code. If I retrieve code online, is there a way for me to download the game on friends updated switch and put it on his SD card, then use this tool to transfer the Beyonetta 1 game to my switch sd card via computer and then put it back into my switch and play it?
 

LoneFlo

Well-Known Member
Member
Joined
Oct 20, 2015
Messages
180
Trophies
0
XP
765
Country
France
I have one corrupted nca which decryption fails. What can I do to repair that. It makes the parsing step crash. :unsure:
 

s3phir0th115

Well-Known Member
Member
Joined
Dec 31, 2008
Messages
728
Trophies
1
XP
1,003
Country
United States
I've been getting these errors when trying to Parse NCAs for 6.x and 7.x firmwares:
Exception: Unable to decrypt NCA section.
Key Type: Common
Key Name: key_area_key_application_06
Stack Trace: at LibHac.Nca.OpenRawSection(Int32 index, Boolean leaveOpen)
at LibHac.Nca.OpenSection(Int32 index, Boolean raw, IntegrityCheckLevel integrityCheckLevel, Boolean leaveOpen)
at SwitchSDTool.Form1.btnParseNCA_Click(Object sender, EventArgs e) in H:\DevProjects\SwitchSDTool\SwitchSDTool\Form1.cs:line 1568
and
Exception: Unable to decrypt NCA section.
Key Type: Common
Key Name: key_area_key_application_07
Stack Trace: at LibHac.Nca.OpenRawSection(Int32 index, Boolean leaveOpen)
at LibHac.Nca.OpenSection(Int32 index, Boolean raw, IntegrityCheckLevel integrityCheckLevel, Boolean leaveOpen)
at SwitchSDTool.Form1.btnParseNCA_Click(Object sender, EventArgs e) in H:\DevProjects\SwitchSDTool\SwitchSDTool\Form1.cs:line 1568

My keys file has key_area_key_application_06 and key_area_key_application_07 populated, but it doesn't seem to copy to FixedKeys.txt. I've tried removing that file, and putting my keys.txt in place of it, and it just gets overwritten with 06 and 07 missing in the result when I try to parse NCAs again.

I used the Lockpick RCM payload to get the bulk of the keys and added a couple of them from a run of the Lockpick nro file, namely tsec_root_key and master_kek_06.

Am I missing anything?
 

pka4916

Well-Known Member
Member
Joined
May 24, 2006
Messages
206
Trophies
1
Location
USA
XP
422
Country
United States
I keep getting these errors

Exception: Unable to decrypt NCA section.
Key Type: Common
Key Name: key_area_key_application_06
Stack Trace: at LibHac.Nca.OpenRawSection(Int32 index, Boolean leaveOpen)
at LibHac.Nca.OpenSection(Int32 index, Boolean raw, IntegrityCheckLevel integrityCheckLevel, Boolean leaveOpen)
at SwitchSDTool.Form1.btnParseNCA_Click(Object sender, EventArgs e) in H:\DevProjects\SwitchSDTool\SwitchSDTool\Form1.cs:line 1568

same for

Key Name: key_area_key_application_05

Any suggestions ?

The keys are available in keys.txt
 

s3phir0th115

Well-Known Member
Member
Joined
Dec 31, 2008
Messages
728
Trophies
1
XP
1,003
Country
United States
I found what was going on in my case.

So I had an older set of keys under my user profile at .switch. It looks like that took precedence over the newer keys.txt I had next to the executable for SwitchSDTool.

Once I removed that .switch folder, and the fixedkeys.txt, it all worked as expected.
 
  • Like
Reactions: TotalJustice

pka4916

Well-Known Member
Member
Joined
May 24, 2006
Messages
206
Trophies
1
Location
USA
XP
422
Country
United States
I found what was going on in my case.

So I had an older set of keys under my user profile at .switch. It looks like that took precedence over the newer keys.txt I had next to the executable for SwitchSDTool.

Once I removed that .switch folder, and the fixedkeys.txt, it all worked as expected.


Really?

I'll try that right now..

--------------------- MERGED ---------------------------

the .switch was the problem...
GREAT FIND!!!!
 
  • Like
Reactions: s3phir0th115

Saulot

Member
Newcomer
Joined
Oct 28, 2008
Messages
10
Trophies
0
XP
263
Country
Greece
Is there a way to mount the system .bin dump? That way we will not have the switch mounted for the duration of the dump.
 

TotalJustice

Well-Known Member
Member
Joined
Jan 28, 2017
Messages
443
Trophies
0
Age
26
XP
2,602
Country
United Kingdom
I found what was going on in my case.

So I had an older set of keys under my user profile at .switch. It looks like that took precedence over the newer keys.txt I had next to the executable for SwitchSDTool.

Once I removed that .switch folder, and the fixedkeys.txt, it all worked as expected.
Amazing find! This was bugging me for a while now, just assumed that the tool didn't work with 7+ keys. Thanks for sharing the fix.
 
  • Like
Reactions: s3phir0th115

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
which tool would you think be safer to use sx installer 1.52 on device or this tool?
Ive been doing games one by one but i think on doing all my games which take time

thanks
 

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
I keep getting these errors

Exception: Unable to decrypt NCA section.
Key Type: Common
Key Name: key_area_key_application_06
Stack Trace: at LibHac.Nca.OpenRawSection(Int32 index, Boolean leaveOpen)
at LibHac.Nca.OpenSection(Int32 index, Boolean raw, IntegrityCheckLevel integrityCheckLevel, Boolean leaveOpen)
at SwitchSDTool.Form1.btnParseNCA_Click(Object sender, EventArgs e) in H:\DevProjects\SwitchSDTool\SwitchSDTool\Form1.cs:line 1568

same for

Key Name: key_area_key_application_05

Any suggestions ?

The keys are available in keys.txt

I m having issues and i ve tried everything, any suggestions?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    I @ idonthave: :)