Hacking [How to] Create and Use a LayeredFS plugin

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,656
Trophies
3
Age
29
XP
3,490
Country
France
I edited the first post, and added a mini-tutorial + video

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

I asked for a rename too
 

Noroxus

Margen67 Supporter
Member
Joined
Jul 7, 2013
Messages
443
Trophies
1
Location
Glorious Nippon
XP
868
Country
Germany
Do I need to put the entire content of the original RomFS into the game folder on root? Or can I leave out the unmoddified files so that NTR reads the original files instead?
 

GalladeGuy

Cool and Epic
Member
Joined
Oct 28, 2015
Messages
2,686
Trophies
1
XP
3,105
Country
United States
"bnBootNTR failed"

N3DS 10.7.0 US, Cakes emuNAND, no ARM9LoaderHax, custom region free home menu

It said a bunch of stuff like "addr: blablabla" and then it said "dump finished at addr: 00382000 (next line) current firmware not supported". I was using LayeredFS on Kirby Planet Robobot. What's wrong?
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,076
Country
United States
"bnBootNTR failed"

N3DS 10.7.0 US, Cakes emuNAND, no ARM9LoaderHax, custom region free home menu

It said a bunch of stuff like "addr: blablabla" and then it said "dump finished at addr: 00382000 (next line) current firmware not supported". I was using LayeredFS on Kirby Planet Robobot. What's wrong?
Sounds like you're not using a 10.2 FIRM.
 
D

Deleted User

Guest
I get the "press power button" error when the game is loading. Game is Alpha Sapphire and I'm trying to put custom musics online.
Any idea?
 
Last edited by ,

YugamiSekai

Mr. Picross
Member
Joined
Dec 24, 2014
Messages
2,015
Trophies
1
Age
21
XP
2,275
Country
United States
Have you seen any error messages when building it?
No, but I enabled Language emulation because it wasn't working before, but I think I can only have 1 plugin at a time so that's why.

EDIT: Build.py gives me an error but the plugin still works for other games.
 

YoshiOG1

Well-Known Member
Newcomer
Joined
Apr 15, 2016
Messages
52
Trophies
0
Age
28
XP
302
Country
United States
Is there a way to get this working with custom text if I use the exefs from the ORAS 1.4 patch to build the LayeredFS plugin? Because when I load the game with the LayeredFS plugin, my custom music works just fine, but the custom text (located at a/0/7/3 for English) doesn't seem to load; only the default text displays when I load up my game and talk to an NPC.
I guess it would work if I use a LayeredFS plugin for the original 1.0 ORAS (no update patch) and delete the update from my 3DS. But other than that, would it be possible with the 1.4 update?

Thanks for any help :)
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,656
Trophies
3
Age
29
XP
3,490
Country
France
Texts are also located in the game patch.
So take the GARC for your game patch, paste it in the romfs of the full game and delete the old one, load pk3ds, open text editor, edit, save.
Take the GARC, paste it in your patch, and rebuild the patch.

I don't know if I'm clear enough
 
Last edited by Asia81,
  • Like
Reactions: YoshiOG1

YoshiOG1

Well-Known Member
Newcomer
Joined
Apr 15, 2016
Messages
52
Trophies
0
Age
28
XP
302
Country
United States
Texts are also located in the game patch.
So take the GARC for your game patch, paste it in the romfs of the full game and delete the old one, load pk3ds, open text editor, edit, save.
Take the GARC, paste it in your patch, and rebuild the patch.

I don't know if I'm clear enough
Thanks! I actually did this by rebuilding the update patch with the modified text as a CIA, then I installed the CIA, loaded up the game, and it works! This means that every time I want to change the game text (not the story text), I have to rebuild that update CIA. But at least it works now! :D
 

herolarcio

The difference is night and day.
Member
Joined
Oct 26, 2015
Messages
208
Trophies
0
Age
25
Location
My room
XP
196
Country
United States
When I generate my layeredfs.plg for Animal Crossing New Leaf, it works, but the loading screens become like 30x longer. Like up to a minute per loading screen. The layeredfs.plg is around 12KB, is that too small?

EDIT: O3DS could also be the reason
 
Last edited by herolarcio,

Redferne

Well-Known Member
Member
Joined
Oct 28, 2015
Messages
845
Trophies
0
XP
1,855
Country
United Kingdom
I tried to make a plugin for the content restoration patch for FE Fates but I failed miserably.
Then I realized that every tutorial I read only speak of card game. Is this working for games bought and installed from eShop?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: afternoon