OblivionReign

Developer
Developer
Joined
Apr 23, 2016
Messages
2,560
Trophies
2
XP
7,825
Country
Japan
I have mounted my system partition with hacdiskmount to a drive but when i try to enter it all i get is a message saying it needs to be formatted first... and as for looking for that file in save/************** i dont have that one.... mine all end in 0000000000000001, 8000000000000000, or 8000000000000124

Edit: Fixed my dumbass forgot my biskey 2
 
Last edited by OblivionReign,

OblivionReign

Developer
Developer
Joined
Apr 23, 2016
Messages
2,560
Trophies
2
XP
7,825
Country
Japan
are you sure you used the update title key and not the base game title key? there's a difference
ok new info here
Traceback (most recent call last):
File "get_titlekeys.py", line 4, in <module>
from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher

Nowhere has this guide asked me for an AES key.... so im not sure why i am erroring like this. and this is just from command "python get_titlekeys.py F:/PRODINFO.bin personal_ticketblob.bin"


Edit: I reinstalled PyCrypto and now i dont have the tracebakc error but it just tells me failed to open file "PRODINFO.bin"

This is the dump of PRODINFO from using hekate and then renaming the ext. to .bin...

did i miss something?
 
Last edited by OblivionReign,

jakibaki

Well-Known Member
Member
Joined
Mar 3, 2017
Messages
296
Trophies
0
Age
26
XP
1,826
Country
Germany
ok new info here
Traceback (most recent call last):
File "get_titlekeys.py", line 4, in <module>
from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher

Nowhere has this guide asked me for an AES key.... so im not sure why i am erroring like this. and this is just from command "python get_titlekeys.py F:/PRODINFO.bin personal_ticketblob.bin"


Edit: I reinstalled PyCrypto and now i dont have the tracebakc error but it just tells me failed to open file "PRODINFO.bin"

This is the dump of PRODINFO from using hekate and then renaming the ext. to .bin...

did i miss something?
The prodinfo needs to be dumped decrypted. So you'll have to get the image from hacdiskmount (or whichever method you used to mount the nand).
 

OblivionReign

Developer
Developer
Joined
Apr 23, 2016
Messages
2,560
Trophies
2
XP
7,825
Country
Japan
Alright. I got everything ready and i ran the titlekeys command with my decrypted prodinfo but nothing dumps just tells me in command window my title keys. the next step mentions
"hactool -k path/to/prod.keys"
. what is this. i didnt get any files for anything like that prod.keys so im not sure what i do with that. @Khangaroo
 
Last edited by OblivionReign,

jakibaki

Well-Known Member
Member
Joined
Mar 3, 2017
Messages
296
Trophies
0
Age
26
XP
1,826
Country
Germany
Alright. I got everything ready and i ran the titlekeys command with my decrypted prodinfo but nothing dumps just tells me in command window my title keys. the next step mentions
"hactool -k path/to/prod.keys"
. what is this. i didnt get any files for anything like that prod.keys so im not sure what i do with that. @Khangaroo
The prod.keys are just the normal keys which are needed for all hactool-operations. They're not obtained in this guide.
You can either dump them yourself or just google for them (don't link them here!)
 

OblivionReign

Developer
Developer
Joined
Apr 23, 2016
Messages
2,560
Trophies
2
XP
7,825
Country
Japan
The prod.keys are just the normal keys which are needed for all hactool-operations. They're not obtained in this guide.
You can either dump them yourself or just google for them (don't link them here!)
Well I mean I got keys.ini from layered FS guide. Want to link me to the guide that helps me get the asked for file? Please :) (not to keys themselves)
 

jakibaki

Well-Known Member
Member
Joined
Mar 3, 2017
Messages
296
Trophies
0
Age
26
XP
1,826
Country
Germany
Well I mean I got keys.ini from layered FS guide. Want to link me to the guide that helps me get the asked for file? Please :) (not to keys themselves)
prod.keys is the 'real' name for the keys.ini. So just use the path to the keys.ini instead of prod.keys and you should be fine.
 
  • Like
Reactions: OblivionReign

ShaytheStar

3TEETH fan
Member
Joined
Apr 30, 2018
Messages
105
Trophies
0
Age
23
Location
my bed
XP
399
Country
United States
Hi, this may sound dumb (and try not to be rude, please), but where are the title keys outputted? I get the keys printed in the command window, but no new files seem to have been created. Also, I get the error "Input path appears to neither be a NAX0, nor a NAX0 directory!" when I tried putting the path to my dumped keys.txt that I got in the LayeredFS tutorial. I also tried making the keys.txt into a keys.ini and I get the same error.
 
Last edited by ShaytheStar,

FoxofGrey

Well-Known Member
Newcomer
Joined
Jul 1, 2016
Messages
92
Trophies
0
XP
396
Country
United States
I'm getting "Invalid NCA header! Are keys correct?"

I'm pointing to the keys.ini file. Should it actually be prod.keys, or am I doing something else here that's incorrect?

This is the directory for the game I want to dump:
I:\Nintendo\Contents\registered\000000C1\eb5d0278545b20cb306627c077b37c69.nca

Edit: turns out that nax0 doesn't need a '-' switch, but I have another hurdle, which is the more common "NAX0 key derivation failed". I'm using keys I dumped myself, and I haven't touched my SD card since, and I made sure my pathfiles were correct. So I don't know.

Edit 2: again turns out that you need to have the slashes as '/' rather than usually on windows with '\'. Works now.

Edit 3: so I'm getting another error with "section 0 is corrupted", and I'm using the right titlekey with the title I'm dumping. Is anyone else able to solve this? And yes, I tried to add in the Master_Key_03 keys, which my dump didn't have, and it still throws up that error.
 
Last edited by FoxofGrey,

Khangaroo

$ORIGINALTITLE
OP
Member
Joined
Feb 27, 2016
Messages
456
Trophies
0
Location
192.168.1.3 (don't ddos me!)
XP
615
Country
United States
Hi, this may sound dumb (and try not to be rude, please), but where are the title keys outputted? I get the keys printed in the command window, but no new files seem to have been created. Also, I get the error "Input path appears to neither be a NAX0, nor a NAX0 directory!" when I tried putting the path to my dumped keys.txt that I got in the LayeredFS tutorial. I also tried making the keys.txt into a keys.ini and I get the same error.
save the title key cmd output to a txt for later and post the command you typed for the nax0 stuff (without your sd seed ofc) because you probably typed it wrong
I'm getting "Invalid NCA header! Are keys correct?"

I'm pointing to the keys.ini file. Should it actually be prod.keys, or am I doing something else here that's incorrect?

This is the directory for the game I want to dump:
I:\Nintendo\Contents\registered\000000C1\eb5d0278545b20cb306627c077b37c69.nca

Edit: turns out that nax0 doesn't need a '-' switch, but I have another hurdle, which is the more common "NAX0 key derivation failed". I'm using keys I dumped myself, and I haven't touched my SD card since, and I made sure my pathfiles were correct. So I don't know.

Edit 2: again turns out that you need to have the slashes as '/' rather than usually on windows with '\'. Works now.

Edit 3: so I'm getting another error with "section 0 is corrupted", and I'm using the right titlekey with the title I'm dumping. Is anyone else able to solve this? And yes, I tried to add in the Master_Key_03 keys, which my dump didn't have, and it still throws up that error.
dm me the console output and i'll take a look
 

ShaytheStar

3TEETH fan
Member
Joined
Apr 30, 2018
Messages
105
Trophies
0
Age
23
Location
my bed
XP
399
Country
United States
save the title key cmd output to a txt for later and post the command you typed for the nax0 stuff (without your sd seed ofc) because you probably typed it wrong

All right, done. Here you go. Thanks for the help :)

hactool -k F:/keys.ini -t nax0 --sdseed=sdseed --sdpath=/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca" --plaintext=game.nca H:/Nintendo/Contents/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca\00

Also, uh...hm...can't I just take that .nca and convert it to an .xci using a tool like Title Switch using my keys? I don't use Windows unless I'm forced to, so that seems like an easier way to achieve the same thing: decrypting the nca. Even so, it would be nice to know where I went wrong.
 

FoxofGrey

Well-Known Member
Newcomer
Joined
Jul 1, 2016
Messages
92
Trophies
0
XP
396
Country
United States
All right, done. Here you go. Thanks for the help :)

hactool -k F:/keys.ini -t nax0 --sdseed=sdseed --sdpath=/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca" --plaintext=game.nca H:/Nintendo/Contents/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca\00

Also, uh...hm...can't I just take that .nca and convert it to an .xci using a tool like Title Switch using my keys? I don't use Windows unless I'm forced to, so that seems like an easier way to achieve the same thing: decrypting the nca. Even so, it would be nice to know where I went wrong.
hactool -k F:/keys.ini -t nax0 --sdseed=sdseed --sdpath="/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca" --plaintext=game.nca "H:/Nintendo/Contents/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca\00"

FIFY
 

ShaytheStar

3TEETH fan
Member
Joined
Apr 30, 2018
Messages
105
Trophies
0
Age
23
Location
my bed
XP
399
Country
United States
hactool -k F:/keys.ini -t nax0 --sdseed=sdseed --sdpath="/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca" --plaintext=game.nca "H:/Nintendo/Contents/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca\00"

FIFY

I'm still getting the input error :( Also, duh, the .nca is currently a folder in my sd card, so it's not as easy as I said.
 

FoxofGrey

Well-Known Member
Newcomer
Joined
Jul 1, 2016
Messages
92
Trophies
0
XP
396
Country
United States
I'm still getting the input error :( Also, duh, the .nca is currently a folder in my sd card, so it's not as easy as I said.
Are you using the modified Hactool linked in the Github?

hactool -k F:\keys.ini -t nax0 --sdseed=sdseed --sdpath="\registered\0000008E\db0efb9c3352208b5249eaf40e9d442e.nca" --plaintext=game.nca "H:\Nintendo\Contents\registered\0000008E\db0efb9c3352208b5249eaf40e9d442e.nca\00"

Also try that.
 

ShaytheStar

3TEETH fan
Member
Joined
Apr 30, 2018
Messages
105
Trophies
0
Age
23
Location
my bed
XP
399
Country
United States
Are you using the modified Hactool linked in the Github?

hactool -k F:\keys.ini -t nax0 --sdseed=sdseed --sdpath="\registered\0000008E\db0efb9c3352208b5249eaf40e9d442e.nca" --plaintext=game.nca "H:\Nintendo\Contents\registered\0000008E\db0efb9c3352208b5249eaf40e9d442e.nca\00"

Also try that.
I wasn't before, but now I am. And I get a different error on both of those revisions. "Error: NAX0 key derivation failed. Check SD card seed and relative path?"
 

FoxofGrey

Well-Known Member
Newcomer
Joined
Jul 1, 2016
Messages
92
Trophies
0
XP
396
Country
United States
I wasn't before, but now I am. And I get a different error on both of those revisions. "Error: NAX0 key derivation failed. Check SD card seed and relative path?"
Alright, try to use the hactool within your C: drive. Make sure the keys.ini file is in the same directory as with the hactool application as well. Make sure it is the full path to keys.ini as well with the "\" slash rather than using the Windows "/" slash.
 

ShaytheStar

3TEETH fan
Member
Joined
Apr 30, 2018
Messages
105
Trophies
0
Age
23
Location
my bed
XP
399
Country
United States
Alright, try to use the hactool within your C: drive. Make sure the keys.ini file is in the same directory as with the hactool application as well. Make sure it is the full path to keys.ini as well with the "\" slash rather than using the Windows "/" slash.
That didn't work either.... :(
 

FoxofGrey

Well-Known Member
Newcomer
Joined
Jul 1, 2016
Messages
92
Trophies
0
XP
396
Country
United States
That didn't work either.... :(
-k keys.ini -t nax0 --sdseed="your_sdseed_here_without_quotation_marks" --sdpath="/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca" --plaintext=game.nca "H:/Nintendo/Contents/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca/00"

Here you are, just make sure keys.ini is in the same directory with the hactool application and stuff with it.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, the other game where I found newgrounds is new york shark
    +1
  • SylverReZ @ SylverReZ:
    Spoke to Tom Fulp the other day, if he can find his old Newgrounds site content like the mini Flash animations from the 2000's that played on the portal.
  • SylverReZ @ SylverReZ:
    So far no response, but he did say that he'll find them. Wayback Machine doesn't have em.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast the 1999 versión of pico's school is avaliable (the difference between it, the 2006 versión and the 2016 versión is that the speed of the game depends of the speed of your computer and that it had the og soundtrack)
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Another being Pico VS Bear, the original 1999 version before Jim Henson filed a DMCA takedown.
    +1
  • Xdqwerty @ Xdqwerty:
    The 2006 versión was made when the flash portal was made
  • SylverReZ @ SylverReZ:
    Many people thought it was lost, but was discovered that he hid it on the same page.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, although the "secrets" system where the game was has been removed. Also pico vs uberkids had a netplay versión that was shutdown, although the swf file has been found
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Nope. There are two download buttons on the same page, where you can download the original under a file called "bear.exe". "bear2.exe", however, is the updated game in a Flash projector. P.s. this was on the archived Pico page from 2000.
  • SylverReZ @ SylverReZ:
    @Xdqwerty, That's been there for a long time, too. People who search for lost media don't look hard enough lmao.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, also the pico 2 demos used to be only for the newgrounds patrons but they are on internet archive too (https://archive.org/download/picos_school_2)
    +1
  • Xdqwerty @ Xdqwerty:
    Iirc the demos were removed from newgrounds in 2022
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, or well only the demo with mindchamber's style was on newgrounds
    +1
  • Xdqwerty @ Xdqwerty:
    Fun fact @SylverReZ: iirc one of the goals on the fnf Kickstarter stated that pico 2 would be finished but the Kickstarter didnt get enough money for that goal to be fullfiled
  • SylverReZ @ SylverReZ:
    @Xdqwerty, FNF sucks, their community is toxic as hell.
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ its a single player game
  • Xdqwerty @ Xdqwerty:
    @The Real Jdbye, Yea but it has a shitton of mods with their own songs and stuff
  • Xdqwerty @ Xdqwerty:
    @The Real Jdbye, and quite a lot of people involved in those mods get cancelled
  • SylverReZ @ SylverReZ:
    Newgrounds wasn't the birth of FNF; rather, it was games where you beat up celebrities and parodies.
    +2
  • a_username_that_is_cool @ a_username_that_is_cool:
    FNF was born from Game Jams
  • a_username_that_is_cool @ a_username_that_is_cool:
    Specifically Ludum Dare 47
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, and Sonic fights a la dragón ball z
    T @ Texasauras: help https://www.youtube.com/watch?v=UUPdNq0qyeA