Homebrew Question hactool not liking my keys

  • Thread starter Thread starter nopo
  • Start date Start date
  • Views Views 12,360
  • Replies Replies 15

nopo

Well-Known Member
Newcomer
Joined
Dec 6, 2017
Messages
57
Reaction score
11
Trophies
0
Age
55
XP
168
Country
Australia
I'm trying to get the romfs from let's go Pikachu and it says fail to match key

this is what it says
D:\Switch\Decrypt-nsp>hactool -x D:\Switch\games\lets go pikachu.nsp
[WARN]: Failed to match key "bis_kek_source", (value "")
[WARN]: Failed to match key "bis_key_00", (value "")
[WARN]: Failed to match key "bis_key_01", (value "")
[WARN]: Failed to match key "bis_key_02", (value "")
[WARN]: Failed to match key "bis_key_03", (value "")
[WARN]: Failed to match key "bis_key_source_00", (value "")
[WARN]: Failed to match key "bis_key_source_01", (value "")
[WARN]: Failed to match key "bis_key_source_02", (value "")
[WARN]: Failed to match key "device_key", (value "")
[WARN]: Failed to match key "eticket_rsa_kek", (value "")
[WARN]: Failed to match key "eticket_rsa_kek_source", (value "")
[WARN]: Failed to match key "eticket_rsa_kekek_source", (value "")
[WARN]: Failed to match key "per_console_key_source", (value "")
[WARN]: Failed to match key "retail_specific_aes_key_source", (value "")
[WARN]: Failed to match key "rsa_oaep_kek_generation_source", (value "")
[WARN]: Failed to match key "rsa_private_kek_generation_source", (value "")
[WARN]: Failed to match key "save_mac_key", (value "")
[WARN]: Failed to match key "sd_seed", (value "")
[WARN]: Failed to match key "ssl_rsa_kek", (value ")
[WARN]: Failed to match key "ssl_rsa_kek_source_x", (value "")
[WARN]: Failed to match key "ssl_rsa_kek_source_y", (value "")
hactool (c) SciresM.
Built: 00:52:28 Nov 24 2018

in the file i put it will be what keys i have
 

Attachments

Can't give you a direct link to the keys, but Google is your friend.
Hint: search for "key_area_key_system_07"
also search for "key_area_key_system_08"
Build yourself a nice up to date keys.txt file (or prod.keys)
 
Can't give you a direct link to the keys, but Google is your friend.
Hint: search for "key_area_key_system_07"
also search for "key_area_key_system_08"
Build yourself a nice up to date keys.txt file (or prod.keys)

i used lockpick rcm to get the keys, do i need more
 
Lockpick is another option if your Switch is running the latest update. If not (like me), the Google option definitely works. :D
 
Lockpick is another option if your Switch is running the latest update. If not (like me), the Google option definitely works. :D

my switch is on fw 8.1.0 and i used lock pick and i linked what keys im using do i need more
 
The file you uploaded has no keys. I assume you edited them out. If not, Lockpick didn't work properly. Try again. Or just use Google. (google is faster)
 
You're not using hactool properly.
Those key mismatch errors don't matter because hactool doesn't use those.
In a nutshell it's saying "hey there are keys here that we can't match to any we use".

To extract the NCAs of the NSP you need to run something like:
Code:
hactool -x -tpfs0 --pfs0dir="<Output path>" "<Path to NSP>"

Then on the largest NCA you would run the following to extract the game romfs:
Code:
hactool -x -tnca --romfsdir="<Output path>" "<Path to NCA>"
 
Last edited by 8BitWonder,
  • Like
Reactions: ELY_M
You're not using hactool properly.
Those key mismatch errors don't matter because hactool doesn't use those.
In a nutshell it's saying "hey there are keys here that we can't match to any we use".

To extract the NCAs of the NSP you need to run something like:
Code:
hactool -x -tpfs0 --pfs0dir="<Output path>" "<Path to NSP>"

Then on the largest NCA you would run the following to extract the game romfs:
Code:
hactool -x -tnca --romfsdir="<Output path>" "<Path to NCA>"


when i did the first command i still get the same error and no files get put in the output path
 
hactool -x -tpfs0 --pfs0dir=D:\Switch\games\pokemon D:\Switch\games\lets go pikachu.nsp
 
hactool -x -tpfs0 --pfs0dir=D:\Switch\games\pokemon D:\Switch\games\lets go pikachu.nsp
Enter:
hactool -x -tpfs0 --pfs0dir="D:\Switch\games\pokemon" "D:\Switch\games\lets go pikachu.nsp"
With those quotation marks added.

They shouldn't be necessary for your outpath (though I recommend them anyway) but you certainly need them for your NSP path.
As it is right now it's looking for "D:\Switch\games\lets" when you don't put quotations around it.
 
You're not using hactool properly.
Those key mismatch errors don't matter because hactool doesn't use those.
In a nutshell it's saying "hey there are keys here that we can't match to any we use".

To extract the NCAs of the NSP you need to run something like:
Code:
hactool -x -tpfs0 --pfs0dir="<Output path>" "<Path to NSP>"

Then on the largest NCA you would run the following to extract the game romfs:
Code:
hactool -x -tnca --romfsdir="<Output path>" "<Path to NCA>"
i don't know where to put that command
 
@8BitWonder can you please help me fixing this line
hactool --basenca="$basenca" $updatenca --romfsdir="romfs" --exefsdir="exefs"
Here's the Error:
Failed to read from Base NCA RomFS!
 
Last edited by adityab3,
@8BitWonder can you please help me fixing this line
hactool --basenca="$basenca" $updatenca --romfsdir="romfs" --exefsdir="exefs"
Here's the Error:
Failed to read from Base NCA RomFS!
Been a while since I've touched hactool, try the following and see if it makes a difference;

hactool -x -tnca --basenca="$basenca" --romfsdir="romfs" --exefsdir="exefs" "$updatenca"

Also make sure you have the correct base/update titlekeys in your title.keys file if they're encrypted.
 

Site & Scene News

Popular threads in this forum