How to extract RomFS

Upset-Swimming5103

Member
Newcomer
Joined
Jan 5, 2025
Messages
6
Reaction score
1
Trophies
0
Age
26
XP
48
Country
Anguilla
I wanted to extract the RomFS for Pokemon Violet in order to mod the game (of the base game + update since that's what I have at the moment). However, NXDumpTool throws the error:
`decryptNcaHeader: invalid NCA magic word! Wrong header key? (0x5FA22CA9)
Try running Lockpic_RCM to generate the keys file from scratch`
for firmware 19.0.1 (sysmmc) (I believe that's a more general issue with nxdumptool as shown by their issues tab). What tools do I use to extract RomFS then?
 
  • Like
Reactions: the_otsutsuki
I wanted to extract the RomFS for Pokemon Violet in order to mod the game (of the base game + update since that's what I have at the moment). However, NXDumpTool throws the error:
`decryptNcaHeader: invalid NCA magic word! Wrong header key? (0x5FA22CA9)
Try running Lockpic_RCM to generate the keys file from scratch`
for firmware 19.0.1 (sysmmc) (I believe that's a more general issue with nxdumptool as shown by their issues tab). What tools do I use to extract RomFS then?
Nstool on a computer.

Backup the game, create a .switch folder in the userfolder and copy the LockpickRCM keys inside.
Create a new folder and put the nsp and nstool in there.

Then from the cmd:
Code:
nstool -x out gamename.nsp

nstool out/number-of-the-tik.tik

mark the encrypted titlekey and press strg-c
Data:
encrypted titlekey

nstool --titlekey encrypted titlekey -x romfs out/big-nca.nca
 
Last edited by draftguy123,
  • Love
Reactions: Upset-Swimming5103
@Upset-Swimming5103

EDIT
A better way is (/ would be) using DBI (658-en)
(USB-C cable required)

Browse installed applications and select the game - press (A),
then select base game *or the latest update* (up / down) and press (+) to
Expose contents via MTP
Finally copy romfs / *the file(s) needed*

Repeat with the latest update and copy / overwrite into the base game romfs folder
 

Attachments

  • switch-3.jpg
    switch-3.jpg
    165.7 KB · Views: 137
  • pc-1.jpg
    pc-1.jpg
    46.4 KB · Views: 147
  • pc-2.jpg
    pc-2.jpg
    55.5 KB · Views: 107
Last edited by draftguy123,
  • Like
Reactions: Upset-Swimming5103
@Upset-Swimming5103

EDIT
A better way is (/ would be) using DBI (658-en)
(USB-C cable required)

Browse installed applications and select the game - press (A),
then select base game *or the latest update* (up / down) and press (+) to
Expose contents via MTP
Finally copy romfs / *the file(s) needed*

Repeat with the latest update and copy / overwrite into the base game romfs folder
i dont have this option, i missing something?
Post automatically merged:

@Upset-Swimming5103

EDIT
A better way is (/ would be) using DBI (658-en)
(USB-C cable required)

Browse installed applications and select the game - press (A),
then select base game *or the latest update* (up / down) and press (+) to
Expose contents via MTP
Finally copy romfs / *the file(s) needed*

Repeat with the latest update and copy / overwrite into the base game romfs folder
i dont have this option, i missing something?
 
i dont have this option, i missing something?
Post automatically merged:


i dont have this option, i missing something?
Make sure you've run the rcm lockpick payload from Hekate and your prod.keys file exists in your /switch folder. That file needs to be there for decoding functionality to work in DBI (it won't show up if it's not there).
 
  • Like
Reactions: draftguy123

Site & Scene News

Popular threads in this forum