Hacking Manually updating romfs.bin for backups

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,114
Country
Mali
hmm i dont quite follow... are you able to provide steps?

I'm able to extract the DLC .nca file into a folder, but how do i merge with the game?

Actually you extract the romfs folder for the base game and the update first as a folder, then you extract the dlc which is section0 cause as you said there will be mismatch if you attemp them together. See these commands for instance:
1. Merge base & update as folder: hactool.exe -k keys.dat --titlekey= --basenca=Splatoon2stock.nca --section1dir=romfs --exefsdir=exefs Splatoon2Update.nca
2. You'll get an exefs folder and a romfs folder. Then you use this command for the dlc: hactool.exe -k keys.dat --titlekey= --section0dir=romfs --exefsdir=exefs Splatoon2dlc.nca
 

Assasin1990

Well-Known Member
Member
Joined
Dec 8, 2014
Messages
140
Trophies
0
Age
34
XP
739
Country
Moldova
Actually you extract the romfs folder for the base game and the update first as a folder, then you extract the dlc which is section0 cause as you said there will be mismatch if you attemp them together. See these commands for instance:
1. Merge base & update as folder: hactool.exe -k keys.dat --titlekey= --basenca=Splatoon2stock.nca --section1dir=romfs --exefsdir=exefs Splatoon2Update.nca
2. You'll get an exefs folder and a romfs folder. Then you use this command for the dlc: hactool.exe -k keys.dat --titlekey= --section0dir=romfs --exefsdir=exefs Splatoon2dlc.nca

So , all dlc are section0 ?
 

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,271
Country
United States
I see that case with DevMenu over Pokémon Quest...
Layeredfs works just fine either with romfs.bin or romfs folder. Look at the hbmenu folder! I even tried with kirby to confirm this.

Before I tried with just the folder and it didn't work :v


EDIT:

Extracted everything (imcluding DLC) and im gonna test now, lets see if it boots :v

And I was right, if its not romfs.bin XC2 wont even boot.
 
Last edited by huma_dawii,

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,114
Country
Mali
I see that case with DevMenu over Pokémon Quest...


Before I tried with just the folder and it didn't work :v


EDIT:

Extracted everything (imcluding DLC) and im gonna test now, lets see if it boots :v

And I was right, if its not romfs.bin XC2 wont even boot.

Region matters for updates and dlc. Try extracting only the base game as romfs folder and see if it works. I update kirby this way as it's only a matter of merging folders.
 

Assasin1990

Well-Known Member
Member
Joined
Dec 8, 2014
Messages
140
Trophies
0
Age
34
XP
739
Country
Moldova
Region matters for updates and dlc. Try extracting only the base game as romfs folder and see if it works. I update kirby this way as it's only a matter of merging folders.
I'll try tonight updated v1.5 Zelda with dlc as it's region free
never tried romfs as folder. I'll let you know if it works.
 
Last edited by Assasin1990,

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,271
Country
United States
Region matters for updates and dlc. Try extracting only the base game as romfs folder and see if it works. I update kirby this way as it's only a matter of merging folders.
I'll try as just folder and report back. (just the base for now).


EDIT: So many little files T.T its taking forever.
 
Last edited by huma_dawii,

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,271
Country
United States
Well I'd say it's a one time process if you get everything right: Game+latest update+DLC
DLC works regardless of the legitimacy of it? Because I doubt it xD

EDIT:

Game loads over Octopath Traveler V5 of SD Files, just the base for now... I will add the Update and DLC next.

EDIT: After I injected the save file from my XC2 the game just crashes!
 
Last edited by huma_dawii,

HoTsHoTz79

GIC-Developer
Member
Joined
May 9, 2018
Messages
322
Trophies
0
Age
39
XP
964
Country
Canada
DLC works regardless of the legitimacy of it? Because I doubt it xD

EDIT:

Game loads over Octopath Traveler V5 of SD Files, just the base for now... I will add the Update and DLC next.

EDIT: After I injected the save file from my XC2 the game just crashes!

i did a quick test using Splatoon 2 (base only) since its small in size but didn't work

//atmosphere/titles/<donor id>/romfs/<extracted files>
//atmosphere/titles/<donor id>/exefs/<extracted files>

then i tried
//atmosphere/titles/<donor id>/<romfs extracted files>
//atmosphere/titles/<donor id>/exefs/<extracted files>

crashes upon starting... but since you mentioned Xeno 2 base works as extracted files... ill have to test that out later today
 
Last edited by HoTsHoTz79,

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,271
Country
United States
i did a quick test using Splatoon 2 (base only) since its small in size but didn't work

//atmosphere/titles/<donor id>/romfs/<extracted files>
//atmosphere/titles/<donor id>/exefs/<extracted files>

then i tried
//atmosphere/titles/<donor id>/<romfs extracted files>
//atmosphere/titles/<donor id>/exefs/<extracted files>

crashes upon starting... but since you mentioned Xeno 2 base works as extracted files... ill have to test that out later today
Me too I'm gonna test more, my XC2 crashes after injecting my save ad it won't boot anymore even deleted the save with no luck.
 

Mat37

Well-Known Member
Member
Joined
Dec 3, 2016
Messages
790
Trophies
0
Age
22
Location
Does it matter ?
XP
1,379
Country
France
I'm going to test latest update as romfs.bin, the same as romfs folder, then game+update+voice pack as romfs folder and let you know the results. Everything with SDFiles v5, Horizon 5.1 and with SMO as Donor. But it's soooo long to transfer everytime (i'm using memloader moreover) :hateit:
 
  • Like
Reactions: huma_dawii

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,114
Country
Mali
I'm going to test latest update as romfs.bin, the same as romfs folder, then game+update+voice pack as romfs folder and let you know the results. Everything with SDFiles v5, Horizon 5.1 and with SMO as Donor. But it's soooo long to transfer everytime (i'm using memloader moreover) :hateit:

Don't use memloader to transfer big files, use an sd card adapter instead.
 

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,114
Country
Mali
Any idea of why the game crashes after first boot being fine?


EDIT: besides the obvious, injected save....

I'm not sure but when the romfs is extracted as folder a new save is created for it! So I'm guessing it's rejecting older saves from older game versions. W2 tells you that trying to resume your progress of the level will reset you at the start of that level cause it's save from an older version of the game.

---------------

SD-USB adapter

Trust me: get one and your transfers will be much quicker!
 

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,271
Country
United States
I'm not sure but when the romfs is extracted as folder a new save is created for it! So I'm guessing it's rejecting older saves from older game versions. W2 tells you that trying to resume your progress of the level will reset you at the start of that level cause it's save from an older version of the game.

---------------



Trust me: get one and your transfers will be much quicker!
That was my idea too, it was before I updated the software, so my save is Obviously from the most recent update plus the dlc so maybe that is why, gonna have to reset all what I did to test one more time, this time with update included ;)
 
  • Like
Reactions: Zumoly

HoTsHoTz79

GIC-Developer
Member
Joined
May 9, 2018
Messages
322
Trophies
0
Age
39
XP
964
Country
Canada
@huma_dawii im counting on your testing! i got all my extracted files ready and .npdm patched for octo... (going to test 3 seperate scenarios: base first, then base+update, then base+update+voice pack dlc) but couldn't transfer to test as i had to leave for work
also, can you confirm if this is how you got the base game running? (2 folders, romfs and exefs within donor title)
//atmosphere/titles/<donor id>/romfs/<extracted files>
//atmosphere/titles/<donor id>/exefs/<extracted files>
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Lmao that sold out fast +1