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,609
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
  • 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
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub: