Hacking Manually updating romfs.bin for backups

0000ff

Spase Peepole
Member
Joined
Mar 3, 2018
Messages
161
Trophies
0
Location
Spase
XP
692
Country
United States
Stardew was a pain to update

First extract both nsp's and rename the largest nca's as stardew.nca and update.nca

Then run the command below

Code:
hactool.exe -k keys.ini --titlekey=[insert titlekey for base] "stardew.nca" --plaintext=NCAID_PLAIN.nca

This outputs a plaintext base nca - no need for titlekey to work with it

then to merge the update to the base, using the command below or use @Assasin1990 's
Update_NCA.bat

hactool.exe -k keys.ini --titlekey=[insert titlekey for update] --basenca="NCAID_PLAIN.nca" --section1="romfs.bin" --exefsdir="exefs" "update.nca"

this will create an updated and combined romfs.bin and exefs folder. use with modplague
 
Last edited by 0000ff,

Assasin1990

Well-Known Member
Member
Joined
Dec 8, 2014
Messages
140
Trophies
0
Age
34
XP
739
Country
Moldova
  • Like
Reactions: 0000ff

HoTsHoTz79

GIC-Developer
Member
Joined
May 9, 2018
Messages
322
Trophies
0
Age
39
XP
964
Country
Canada
use my .bat you should update exefs files also , not only romfs.bin ... that's why it don't display the game ver

tried it with your .bat file... got the extracted/exefs files
updated the main.npdm file with donor title id for octopath

still shows v1.0

o well.. atleast update is applied lol
 
  • Like
Reactions: Assasin1990

HoTsHoTz79

GIC-Developer
Member
Joined
May 9, 2018
Messages
322
Trophies
0
Age
39
XP
964
Country
Canada
Stardew was a pain to update

First extract both nsp's and rename the largest nca's as stardew.nca and update.nca

Then run the command below

This outputs a plaintext base nca - no need for titlekey to work with it

then to merge the update to the base, using the command below or use @Assasin1990 's
Update_NCA.bat

this will create an updated and combined romfs.bin and exefs folder. use with your favorite layeredfs nro

outta curiosity, whats happens when you use stardew.nca instead of plain .nca
 

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,268
Country
United States
Stardew was a pain to update

First extract both nsp's and rename the largest nca's as stardew.nca and update.nca

Then run the command below



This outputs a plaintext base nca - no need for titlekey to work with it

then to merge the update to the base, using the command below or use @Assasin1990 's
Update_NCA.bat



this will create an updated and combined romfs.bin and exefs folder. use with your favorite layeredfs nro
outta curiosity, whats happens when you use stardew.nca instead of plain .nca


Look the answer to our question about merging the .NCAs! :D
 

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,268
Country
United States
Stardew was a pain to update

First extract both nsp's and rename the largest nca's as stardew.nca and update.nca

Then run the command below



This outputs a plaintext base nca - no need for titlekey to work with it

then to merge the update to the base, using the command below or use @Assasin1990 's
Update_NCA.bat



this will create an updated and combined romfs.bin and exefs folder. use with your favorite layeredfs nro


tried this with XC2 to merge voice DLC with gamestock and I get this

upload_2018-7-3_21-38-39.png
 

Attachments

  • upload_2018-7-3_21-38-35.png
    upload_2018-7-3_21-38-35.png
    10.4 KB · Views: 180

AlphaSapphire

Well-Known Member
Member
Joined
Aug 10, 2015
Messages
422
Trophies
0
Age
25
XP
1,174
Country
Canada
OH OK

--------------------- MERGED ---------------------------

1GB

--------------------- MERGED ---------------------------

NEXT?
 

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,268
Country
United States
OH OK

--------------------- MERGED ---------------------------

1GB
Now you will have to go to you SD on your PC, go to the folder Nintendo, then Contents, then Registered, then a bunch of folders with numbers you gotta check one by one which one is the 1GB size folder (assuming you don't have any other games with 1GB updates it should be easy to find :) ) then you know where the file is now you have to dump it, for that you need to follow a guide which is not very easy, and you need to make a dump of your nand etc etc.

--------------------- MERGED ---------------------------

Stardew was a pain to update

First extract both nsp's and rename the largest nca's as stardew.nca and update.nca

Then run the command below



This outputs a plaintext base nca - no need for titlekey to work with it

then to merge the update to the base, using the command below or use @Assasin1990 's
Update_NCA.bat



this will create an updated and combined romfs.bin and exefs folder. use with your favorite layeredfs nro


That command does not merge my big and second big NCA. only extracts and repacks the stock NCA and renames it to plainsomething.nca

I don't get what is that for?

I have three files, one base, two different updates.
 

0000ff

Spase Peepole
Member
Joined
Mar 3, 2018
Messages
161
Trophies
0
Location
Spase
XP
692
Country
United States
:) )

That command does not merge my big and second big NCA. only extracts and repacks the stock NCA and renames it to plainsomething.nca

I don't get what is that for?

I have three files, one base, two different updates.


Once you have the decrypted base, you can now run the command to merge with the update, using the titlekey for that update. Hactool does not let you use two titlekey, which is what would be necessary if the base wasn't decrypted.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=ftyFz0yBxj8