NSP update with SAK

  • Thread starter Thread starter Mvssv
  • Start date Start date
  • Views Views 8,782
  • Replies Replies 21

Mvssv

Member
Newcomer
Joined
Oct 1, 2024
Messages
9
Reaction score
1
Trophies
0
Age
30
XP
29
Country
France
Hello everyone,

I download a game and his update from a wellknown website.
I heard you have to use SAK to update games or add DLC.
My case is that I have 2 NSP files: game and update 1.XX version.

When on SAK, I click "update NSP" > select my NSP with the game > select my NSP update in the second square > Update

And then I have an error:
Updating failed E:\Download\Inscryption [010027F017B12000][v0][US].nsp
Something failed!?
Is the selected NSP file a game and the NSP the update?

I tried to update another game and i'm having the same error...
 
Hmm... does SAK work with the latest files? It might not be able to decrypt them.

Try using NSC_Builder instead?
 
Hmm... does SAK work with the latest files? It might not be able to decrypt them.

Try using NSC_Builder instead?

I'm trying to use NSC Builder atm.
Quick question it ask to my Prod.Keys

I managed to find a Lockpick RCM bin but now I don't know if i have to dump the sysNAND or the EmuNAND

Thks a lot for your help
 
I'm trying to use NSC Builder atm.
Quick question it ask to my Prod.Keys

I managed to find a Lockpick RCM bin but now I don't know if i have to dump the sysNAND or the EmuNAND

Thks a lot for your help
The best keys to dump are the ones on which have the highest firmware. Lets say you Emunand is on the 18.1.0 (I think its the latest?) its best to dump from that one :)
 
  • Like
Reactions: Mvssv and BigOnYa
Ah I see, I have never used it and it have been updated since 2021.
It's basically just a frontend for hactool/hactoolnet/4nxci and squirrel. It's obvioulsy coded to use those to send the correct commands to unpack, pack, move files etc. It just needs the updated keys to decrypt the nsp/xci/nca files.
It should keep working for any firmware as long as people keep thier keys updated and have a recent hactool/hacktoolnet version that is able to use those keys.
 
It works if you have the correct keys.dat/hactool/hactoolnet versions.
Hey miniminx, thks for joining! I'm really new and just wanted to update my games + add DLC.
If i'm correctly referring to the LibHac github, the v0.19.0 Add key sources for system version 16.0.0 and 17.0.0

I'm currently running an emuMMC 18.1.0 AMS 1.7.1

What would be the safest and easiest website/tool/app to do so?
 
Hey miniminx, thks for joining! I'm really new and just wanted to update my games + add DLC.
If i'm correctly referring to the LibHac github, the v0.19.0 Add key sources for system version 16.0.0 and 17.0.0

I'm currently running an emuMMC 18.1.0 AMS 1.7.1

What would be the safest and easiest website/tool/app to do so?
Just make sure you have the following in keys.dat - (make sure to populate those keys)
Code:
aes_kek_generation_source = 
aes_key_generation_source = 
header_key = 
key_area_key_application_source = 
master_key_00 = 
master_key_01 = 
master_key_02 = 
master_key_03 = 
master_key_04 = 
master_key_05 = 
master_key_06 = 
master_key_07 = 
master_key_08 = 
master_key_09 = 
master_key_0a = 
master_key_0b = 
master_key_0c = 
master_key_0d = 
master_key_0e = 
master_key_0f = 
master_key_10 = 
master_key_11 =

Those are needed to decrypt files upto the current firmware versions that games use.

You can get hactoolnet from here:
Code:
https://github.com/Thealexbarney/LibHac/releases

and hactool from here:
Code:
https://github.com/SciresM/hactool/releases

Then with sak you should be able to do what you want.
 
Then with sak you should be able to do what you want.
Well I had a Prod.Keys from the lockpick_RCM.bin from my EmuNAND.
I putted it inside the SAK/bin and now it works perfectly.

I want to understand why by just putting the Prod.Keys it worked. And if I made a mistake doing doing so.

Thks a lot for your answers
 
  • Like
Reactions: linuxares
Well I had a Prod.Keys from the lockpick_RCM.bin from my EmuNAND.
I putted it inside the SAK/bin and now it works perfectly.

I want to understand why by just putting the Prod.Keys it worked. And if I made a mistake doing doing so.

Thks a lot for your answers
You probably also have prod.keys here - %UserProfile%/.switch/prod.keys

This is default directory that hactool uses to find the key file if the -k flag is not set properly. Sak works with keys.dat, I don't have access to the source but maybe it also checks for prod.keys as well as keys.dat.

As long as you have it working and your keys are upto date, well that's good and you should be able to do what you want to now.

As for your question - you need keys to decrypt files, that's why it's working now.
 
What you trying to achieve though, combine base game, update and dlc together? or lower require firmware version?
 
What you trying to achieve though, combine base game, update and dlc together? or lower require firmware version?
I'm trying to combien game update and dlc together. Which I managed to do.

At start i couldn't manage because i missed the Prod.keys inside the /bin of the SAK folder.
My steps:
  • launch my switch with lockpick_RCM.bin payload
  • create a dump from EmuNAND
  • copy the prod.keys from my SWITCH/sdcard/switch
  • past it in SAK/bin
Now I can update and put DLC together. Which is what i wanted at the begining of the post
special thks to linuxares and miniminx


But now my question is my switch flagged or will be ban?
since i already used some NSP games on my switch directly from a website and played it prior to the all SAK situation with prod.keys

Heard that the saving files from games goes to the memory of the switch not the SD card. I want to keep my switch system as clean as i can

Because if i understand correctly, doing the all prod.keys thing do a stamp/signature on the game.

If i push my reflection on the subject do i need to peraps switch NSP file to XCI with SAK to get a full clean game?
 
I'm trying to combien game update and dlc together. Which I managed to do.

At start i couldn't manage because i missed the Prod.keys inside the /bin of the SAK folder.
My steps:
  • launch my switch with lockpick_RCM.bin payload
  • create a dump from EmuNAND
  • copy the prod.keys from my SWITCH/sdcard/switch
  • past it in SAK/bin
Now I can update and put DLC together. Which is what i wanted at the begining of the post
special thks to linuxares and miniminx


But now my question is my switch flagged or will be ban?
since i already used some NSP games on my switch directly from a website and played it prior to the all SAK situation with prod.keys

Heard that the saving files from games goes to the memory of the switch not the SD card. I want to keep my switch system as clean as i can

Because if i understand correctly, doing the all prod.keys thing do a stamp/signature on the game.

If i push my reflection on the subject do i need to peraps switch NSP file to XCI with SAK to get a full clean game?

Combining nsps doesn't prevent a ban.
 
Combining nsps doesn't prevent a ban.
What does then? And why do i have to use my prod.keys to update games with SAK when i don't have to do signature with my prod.keys with files that i get online? That's the mystery i want to understand
 
What does then? And why do i have to use my prod.keys to update games with SAK when i don't have to do signature with my prod.keys with files that i get online? That's the mystery i want to understand

If you ever want to play online you need a clean NAND. If you go online with any installed nsps you get flagged for a ban.
 
If you ever want to play online you need a clean NAND. If you go online with any installed nsps you get flagged for a ban.
Yes i know that part. That's why i install everything on my EmuNAND
But for the prod.keys signature on SAK to be able to update, do you know anything? I'm really curious
 
What do you mean?
Well at first when i wanted to update my games i couldn't do it with SAK software. I was getting a failed error each time.
But then i did this:
My steps:
  • launch my switch with lockpick_RCM.bin payload
  • create a dump from EmuNAND
  • copy the prod.keys from my SWITCH/sdcard/switch
  • past it in SAK/bin
And now it works I manage to patch the NSPs files. I want to know why i have to do this.
 
Well at first when i wanted to update my games i couldn't do it with SAK software. I was getting a failed error each time.
But then i did this:

And now it works I manage to patch the NSPs files. I want to know why i have to do this.

Oh it is because you need the keys to combine the nsps, convert it super XCI etc.
 

Site & Scene News

Popular threads in this forum