Homebrew Question hactool not liking my keys

nopo

Well-Known Member
OP
Newcomer
Joined
Dec 6, 2017
Messages
57
Trophies
0
Age
54
XP
158
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

  • keys with no keys.txt
    2.8 KB · Views: 369

Dust2dust

Well-Known Member
Member
Joined
Jun 17, 2010
Messages
2,654
Trophies
2
XP
5,232
Country
Canada
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)
 

nopo

Well-Known Member
OP
Newcomer
Joined
Dec 6, 2017
Messages
57
Trophies
0
Age
54
XP
158
Country
Australia
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
 

Dust2dust

Well-Known Member
Member
Joined
Jun 17, 2010
Messages
2,654
Trophies
2
XP
5,232
Country
Canada
Lockpick is another option if your Switch is running the latest update. If not (like me), the Google option definitely works. :D
 

nopo

Well-Known Member
OP
Newcomer
Joined
Dec 6, 2017
Messages
57
Trophies
0
Age
54
XP
158
Country
Australia
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
 

Dust2dust

Well-Known Member
Member
Joined
Jun 17, 2010
Messages
2,654
Trophies
2
XP
5,232
Country
Canada
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)
 

8BitWonder

Small Homebrew Dev
Member
Joined
Jan 23, 2016
Messages
2,500
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,626
Country
United States
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

nopo

Well-Known Member
OP
Newcomer
Joined
Dec 6, 2017
Messages
57
Trophies
0
Age
54
XP
158
Country
Australia
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
 

8BitWonder

Small Homebrew Dev
Member
Joined
Jan 23, 2016
Messages
2,500
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,626
Country
United States
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.
 

simskidd

Member
Newcomer
Joined
Dec 3, 2019
Messages
7
Trophies
0
Age
25
XP
61
Country
United States
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
 

adityab3

New Member
Newbie
Joined
Feb 17, 2023
Messages
1
Trophies
0
Age
21
XP
38
Country
India
@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

Small Homebrew Dev
Member
Joined
Jan 23, 2016
Messages
2,500
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,626
Country
United States
@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

General chit-chat
Help Users
  • No one is chatting at the moment.
  • kijetesantakalu042 @ kijetesantakalu042:
    and a half
  • BigOnYa @ BigOnYa:
    It's not so different than having your phone in your hands 24/7, which most young people do nowdays. Like sitting at a table or room together, but everyone is in they own world staring at they phone.
  • kijetesantakalu042 @ kijetesantakalu042:
    I find it so sad
    +1
  • kijetesantakalu042 @ kijetesantakalu042:
    The way they scream when it gets taken away
  • BigOnYa @ BigOnYa:
    That's the parents fault to begin with, not teaching control and discipline.
  • BigOnYa @ BigOnYa:
    My kids were not allowed to have any devices at the kitchen table at dinner time or family time, and now they practise the same with they kids.
  • kijetesantakalu042 @ kijetesantakalu042:
    I have a 6 year old cousin or whatever it's called. And he has said some things he shouldn't know about
  • BigOnYa @ BigOnYa:
    Like how Barney is now Barnatisha?
  • ZeroT21 @ ZeroT21:
    https://www.youtube.com/watch?v=o7TVPoxwi74 looks weird, fugly women again
    +1
  • ZeroT21 @ ZeroT21:
    topping it off with comments turned off
    +1
  • ZeroT21 @ ZeroT21:
    guess they can't handle rejection
    +1
  • SylverReZ @ SylverReZ:
    Lol bald wars
  • SylverReZ @ SylverReZ:
    @kijetesantakalu042, Throw the iPad away and teach him proper education that doesn't involve technology. Even better become amish.
    +3
  • kijetesantakalu042 @ kijetesantakalu042:
    @SylverReZ I would but he isn't my child.
  • ZeroT21 @ ZeroT21:
    seems like every kid these days
    +2
  • BlazeMasterBM @ BlazeMasterBM:
    seems like everyday i see a child with more expensive technology than me lol
    +2
  • kijetesantakalu042 @ kijetesantakalu042:
    @BlazeMasterBM have kids is expensive enough and these parents spend hundreds on tech.
    +1
  • BigOnYa @ BigOnYa:
    Yea like 10yr old kids with the newest iphone is redunklous. You already know that's gonna be lost or broke. (Apple care only covers it once a year now irc)
    +1
  • kijetesantakalu042 @ kijetesantakalu042:
    I don't even have an iphone. All I do with a phone is text and call family and friends and a shitty phone from several years ago was good enough.
    +1
  • kijetesantakalu042 @ kijetesantakalu042:
    The only annoying thing is not having a camera
  • BigOnYa @ BigOnYa:
    What? Didn't know any cellphone didn't have a camera, even cheap ones.
  • kijetesantakalu042 @ kijetesantakalu042:
    It's potato quality
  • kijetesantakalu042 @ kijetesantakalu042:
    not very usable
  • kijetesantakalu042 @ kijetesantakalu042:
    I'm due for an upgrade tbh
    kijetesantakalu042 @ kijetesantakalu042: I'm due for an upgrade tbh