Homebrew Question hactool not liking my keys

nopo

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

Dust2dust

Well-Known Member
Member
Joined
Jun 17, 2010
Messages
2,427
Trophies
2
XP
4,411
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
53
XP
148
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,427
Trophies
2
XP
4,411
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
53
XP
148
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,427
Trophies
2
XP
4,411
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,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,367
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
53
XP
148
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,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,367
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
24
XP
51
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
20
XP
28
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,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,367
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
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, but what is the game about?
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Never heard of it. Any good?
  • RedColoredStars @ RedColoredStars:
    You control a kitten. You fall out the window and have to make your way back home. Solve some light puzzles, do cat things like knock stuff over and steal things, trip people up when theyre walking, pounce on birds, complete goals/tasks etc. in the process of getting back to your home.
    +1
  • RedColoredStars @ RedColoredStars:
    I think ones enjoyment would depend on how much a person loves cats. :)
    +1
  • RedColoredStars @ RedColoredStars:
    Theres my kitty watching me play.
  • SylverReZ @ SylverReZ:
    @RedColoredStars, I'm a cat person so this game must be for me. :D
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, sounds kinda neat
  • RedColoredStars @ RedColoredStars:
    @SylverReZ It's short but adorable imo. Im a HUGE cat lover.Can be completed in a couple of hours if just going for the main goals. But can be stretched out a good deal by exploring and doing everything there is to do and see.
    +2
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, like a cat gta?
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Reminds me of a similar game called "Neko Atsume", similar to Nintendogs but you look after cats.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, wasnt there an official nintendogs game with cats for the 3ds?
    +1
  • Xdqwerty @ Xdqwerty:
    ill have no wifi for a bit so see ya later
    +2
  • RedColoredStars @ RedColoredStars:
    Gross. lol
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Ok seeya.
  • SylverReZ @ SylverReZ:
    @RedColoredStars, I've got a fairly dark sense of humor lol.
  • BigOnYa @ BigOnYa:
    So a man goes to the doctor because his boner wont go down. As he is laying in the hospital bed, with his thing propped up in the air, a fly is flying around and landing on the tip and bothering him, so he calls in the nurse. The nurse comes in, swats at the fly but can't quite reach it, so she climbs his boner to get better aim. After a few tries of swatting and sliding back down, she says sorry I cant get it. He says keep going, a few more tries, and I can shoot the fly down.
    +2
  • AncientBoi @ AncientBoi:
    Can I get his ☎️ # :shy::blush:
    +2
  • AncientBoi @ AncientBoi:
    oowpf What a work out it would be to help the guy get back down to normal :)
  • K3Nv2 @ K3Nv2:
    I don't know why pizza hut has fries now
  • AncientBoi @ AncientBoi:
    You're joking right?
  • AncientBoi @ AncientBoi:
    But also by the same token, I wouldn't mind if they had potato wedges instead :)
  • BigOnYa @ BigOnYa:
    Taco bell, and Mcdonalds both sold pizza, so its fair
    BigOnYa @ BigOnYa: Taco bell, and Mcdonalds both sold pizza, so its fair