ROM Hack Question How to extract a nsp romfs?

DeslotlCL

GBAtemp's scalie trash
OP
Member
Joined
Oct 28, 2015
Messages
2,847
Trophies
0
XP
2,755
Country
United States
Before someone says it, i have already looked at similar threads, but got no results so far.

I recently got my hands on dusty raging fist nsp and am trying to extract its contents, so far i have used two tools from two different threads, where they extract the nsp into its cert, tik and nca files, but once i got to extract the nca it asks me for its title key, which i know how to get (looking at offset 180 in a hex editor in the tik file) but in the two tools it tells me the header may be incorrect, or that the key is invalid.

Is there something i'm doing wrong? Or is there a better tool available? Note that i'm not experienced with command lines and stuff.

Thanks for reading.
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,284
Trophies
3
XP
12,053
Country
Poland
Silly ask: did you paste titlekey without spaces between bytes?
Should look something like this
01020304
Not like this
01 02 03 04
 

DeslotlCL

GBAtemp's scalie trash
OP
Member
Joined
Oct 28, 2015
Messages
2,847
Trophies
0
XP
2,755
Country
United States
Silly ask: did you paste titlekey without spaces between bytes?
Should look something like this
01020304
Not like this
01 02 03 04
I did, yet i still got the invalid keys/header message.

I was wondering, could it be that the nsp currently online is a bad dumped one? Just tried a third tool, and even got the same message, but i noticed it displayed the title id of the nsp and it was a=A, which i think is really, really wrong, right?
 

orangpelupa

Well-Known Member
Member
Joined
Aug 7, 2009
Messages
388
Trophies
1
XP
1,183
Country
Indonesia
In the homebrew subforum there's a bunch of tools that can auto extract nsp to layeredfs

The one with green text is the easiest and can automatically read titlekey

But for me, I must extract using the white text one to get NCA

Then extract NCA using the green one

Sorry can't remember the tool name and my stomach hurts so much to hunt the threads
 

DeslotlCL

GBAtemp's scalie trash
OP
Member
Joined
Oct 28, 2015
Messages
2,847
Trophies
0
XP
2,755
Country
United States
In the homebrew subforum there's a bunch of tools that can auto extract nsp to layeredfs

The one with green text is the easiest and can automatically read titlekey

But for me, I must extract using the white text one to get NCA

Then extract NCA using the green one

Sorry can't remember the tool name and my stomach hurts so much to hunt the threads
Hmm, will try getting the nca file with one of those tools and then try to extract the nca with the green one (which was the third tool used but still failed to get the files lmao).

Dont want to annoy so much, but could you explain the steps you followed to successfully get the romfs files? No need to search for the tools, i will do it, but the details of how you did it would be really appreciated!
 

F4mouZSt4r

Well-Known Member
Newcomer
Joined
Apr 29, 2018
Messages
76
Trophies
0
Age
29
XP
957
Country
Germany
Cuz with the command line itself, you have much more decide what you actually doing

I had already so many ppl who had problems with romfs extracting cuz they used the tools, but after I said use hactool and the commands, they had the files without any problems
 
Last edited by F4mouZSt4r,

orangpelupa

Well-Known Member
Member
Joined
Aug 7, 2009
Messages
388
Trophies
1
XP
1,183
Country
Indonesia
Hmm, will try getting the nca file with one of those tools and then try to extract the nca with the green one (which was the third tool used but still failed to get the files lmao).

Dont want to annoy so much, but could you explain the steps you followed to successfully get the romfs files? No need to search for the tools, i will do it, but the details of how you did it would be really appreciated!
I simply drag the NCA to its window.

What error message you got?
 

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,270
Country
United States
Before someone says it, i have already looked at similar threads, but got no results so far.

I recently got my hands on dusty raging fist nsp and am trying to extract its contents, so far i have used two tools from two different threads, where they extract the nsp into its cert, tik and nca files, but once i got to extract the nca it asks me for its title key, which i know how to get (looking at offset 180 in a hex editor in the tik file) but in the two tools it tells me the header may be incorrect, or that the key is invalid.

Is there something i'm doing wrong? Or is there a better tool available? Note that i'm not experienced with command lines and stuff.

Thanks for reading.

Try using this tool

https://gbatemp.net/threads/extract-nsp-nca-xci-update-all-in-one-tool-for-layeredfs.511156/
 

DeslotlCL

GBAtemp's scalie trash
OP
Member
Joined
Oct 28, 2015
Messages
2,847
Trophies
0
XP
2,755
Country
United States
Just noticed i need the keys file dumped from my switch, so rip, wont be hacking the only one i have.

Thanks anyway for the help people, but i guess i cant do crap with the game as of now.
 

Plunt

Well-Known Member
Member
Joined
Nov 21, 2010
Messages
204
Trophies
1
Age
39
Location
Ontario
XP
1,475
Country
Canada
Just noticed i need the keys file dumped from my switch, so rip, wont be hacking the only one i have.

Thanks anyway for the help people, but i guess i cant do crap with the game as of now.

If you look around you can find a keys.txt floating around. Just cant be shared here. You don't need any console specific keys
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    The snack that smiles back, Ballsack!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
  • BakerMan @ BakerMan:
    Wake up, it's da first of da month
    BakerMan @ BakerMan: Wake up, it's da first of da month