ROM Hack Question I extraced romfs.bin from a game - how do I get a folder from it?

nmkd

Well-Known Member
OP
Member
Joined
Oct 25, 2016
Messages
554
Trophies
0
Age
26
XP
775
Country
Germany
I want to mod a game but I was only able to get the romfs folder from the base game.

For the update, I used a tool that can extract romfs.bin (file, not folder) from base+update, but now I don't know how to extract romfs.bin to look at the game's files.

Any ideas?
 

jonyluke

Well-Known Member
Member
Joined
Aug 22, 2018
Messages
145
Trophies
0
Age
24
XP
1,162
Country
Spain
Use this program

https://gbatemp.net/attachments/nca-nsp-xci_to_layeredfs_v1-6-rar.136644/

Select:

- 2. eShop NSP
- 1. Extract Eshop NSP

Then you have the nca files in Extracted_NSP folder

- 1. NCA
- 2. Extract Ecrypted NCA
- 2. Romfs folder
(Use the biggest nca file)

Enter the title key that is located at the .tik file, open it with Hxd and copy the line at 0x180 offset (in hexadecimal), without spaces

You have your files in Extracted_NCA folder


Also if you use the option BASE.nsp + Update.nsp to LayeredFs instead of Extract Eshop NSP it will be already a "Decrypted.nca" in Extracted_Base_Game_NSP folder, so you can use Extract Decrypted NCA and not use Hxd, the files will be in Extracted_NCA folder.
 
Last edited by jonyluke,

Bigjokker

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
98
Trophies
0
Age
47
XP
356
Country
United States
I want to mod a game but I was only able to get the romfs folder from the base game.

For the update, I used a tool that can extract romfs.bin (file, not folder) from base+update, but now I don't know how to extract romfs.bin to look at the game's files.

Any ideas?

You can use this batch program I made if your using windows. Just put it in the same folder as hactool and keys.txt and Drag NSP, NCA or XCI from any folder on your computer onto the bat.

It will extract everything in a similar folder structure as the file. Which is helpful if you want to repack back to NSP or XCI.
 

Attachments

  • EXTRT_v2.1.rar
    3.6 KB · Views: 1,247

werneck14

Well-Known Member
Member
Joined
Jan 19, 2017
Messages
121
Trophies
0
Age
25
XP
310
Country
Brazil
Use this program

https://gbatemp.net/attachments/nca-nsp-xci_to_layeredfs_v1-6-rar.136644/

Select:

- 2. eShop NSP
- 1. Extract Eshop NSP

Then you have the nca files in Extracted_NSP folder

- 1. NCA
- 2. Extract Ecrypted NCA
- 2. Romfs folder
(Use the biggest nca file)

Enter the title key that is located at the .tik file, open it with Hxd and copy the line at 0x180 offset (in hexadecimal), without spaces

You have your files in Extracted_NCA folder


Also if you use the option BASE.nsp + Update.nsp to LayeredFs instead of Extract Eshop NSP it will be already a "Decrypted.nca" in Extracted_Base_Game_NSP folder, so you can use Extract Decrypted NCA and not use Hxd, the files will be in Extracted_NCA folder.
Thank you! I couldn't find what was the "enter the title key" and you tutorial helped me.
 
  • Like
Reactions: jonyluke

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • S @ salazarcosplay:
    human, robot, cyborg
  • S @ salazarcosplay:
    human with cyborg enhancements
  • S @ salazarcosplay:
    or like terminatior
  • S @ salazarcosplay:
    with living tissue
  • BigOnYa @ BigOnYa:
    @Xdqwerty there is health behaviour you can add to your character, then to use a health bar is lil more complicated, google n watch a few tutorial video on it, be too hard to explain here.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the character has the health behavior
  • BigOnYa @ BigOnYa:
    I know you have to create a health and health max variable. Then there is a calculation you use in code to subtract width size of the health bar. Google few vids.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the "greenflatbar" is one of the preset health bars btw
  • BigOnYa @ BigOnYa:
    Yea you can use any bar/sprite. It will just change the width. Ok good luck and have fun. I'm off to go shoot some pool at the bar. Talk to you later.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why does the health behavior exist if you can just use a variable?
  • Xdqwerty @ Xdqwerty:
    and nope the number still doesnt change
  • Xdqwerty @ Xdqwerty:
    ok im gonna make my own asset
  • Xdqwerty @ Xdqwerty:
    nvm i think i fixed it
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I fixed it
    +1
  • S @ salazarcosplay:
    how are you\
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, we just talked like 2 hours ago
  • BigOnYa @ BigOnYa:
    I had the Goodyear blimp fly real low right over my house this morning, was weird out of nowhere looking up and seeing it that close up. Memorial golf tourney going on by me in Dublin Ohio and its there.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i tried the gdevelop mobile app and theres a event limit and you have to pay to add more events
  • BigOnYa @ BigOnYa:
    I never used the mobile or online versions, just the pc version.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i only use the online version
    +1
  • BigOnYa @ BigOnYa:
    I was at the bar for 1 hour and lost $40 playing pool, and said well that's enough for my unlucky day, better quit. Some sharks up there today.
    BigOnYa @ BigOnYa: I was at the bar for 1 hour and lost $40 playing pool, and said well that's enough for my...