Homebrew Question How do I extract RomFS from an nsp?

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Code:
hactool -t pfs0 --pfs0dir=0100d870045b6000 filename.nsp

hactool -k keys.dat --titlekey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --romfsdir=romfs 0100d870045b6000/56988d68627179b0393561018d15c4be.nca
That'll extract the NSP into a `0100d870045b6000` folder, then extract romFS into a folder called `romfs` (this is assuming that the NSO file is in the same directory as hactool or that hactool is in your path and can be run from anywhere)
 
Last edited by DocKlokMan,

Nerdtendo

Your friendly neighborhood idiot
OP
Member
Joined
Sep 29, 2016
Messages
1,770
Trophies
1
XP
4,644
Country
United States
Where can I find titlekeys? I was getting them from Bob CDNSP but it doesn't support Python 2.7 and hactool doesn't support Python 3.6

Truly a predicament.

I'm pretty sure you're not allowed to specifically state where to find them but a hint in the right direction would be appreciated.
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Where can I find titlekeys? I was getting them from Bob CDNSP but it doesn't support Python 2.7 and hactool doesn't support Python 3.6

Truly a predicament.

I'm pretty sure you're not allowed to specifically state where to find them but a hint in the right direction would be appreciated.
Gotta quote replies man, otherwise people don't get notifications for them. If you have the NSP you can just extract it with the first command and grab the title key from the *.tik file inside. Also, hactool doesn't run on python, so what version of python you have doesn't matter.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Well start walking towards them +1