Tutorial  Updated

How to use LayeredFS for Backup Loading + What Games Work/Don't

This thread is outdated
A lot of information in this thread is heavilly out of date.
If you have time, and have Staff permission, feel free to edit this thread and remove this statement once necessary.

Some information that needs to be addressed:
  • SX OS and Atmosphere now supports proper LayeredFS, instructions for using it has changed since this tutorial was made
  • Supported Firmware information is out of date
  • LFSKit needs to be updated to properly support non 5.x.x firmware
  • Compatability chart needs to be re-made
-PRAGMA


WARNING
  • DO NOT GO ONLINE WHEN DOING THIS (YOU WILL BE BANNED)


How to use LayeredFS for Backup Loading

Firmware Supported: ONLY 5.x.x
Use the PRAGMA LFS Kit below.

PRAGMA's LFS Kit

DOWNLOAD
SOURCE

  • Go from NOTHING in your SD Card to playing a game backup in a few clicks!
  • Decrypt .XCI -> romfs/exefs folder with main.nmpd auto edited aswell as folder's name auto renamed to donor titleid
  • Download NOTHING except LFSKit!
ENJOY!

yyTJ8rr.gif


Picking a Donor Title and getting Donor TitleIDRunning Game Backups!


    1. A donor title is the application we will run to open the backup.
      Pick a game you don't care about (Download a Demo or a free game from eShop, for example Octopath Demo)
      saves are something no one knows much about, we don't fully know where or how they are stored.
      They might overwrite the donor titles save, so seriously pick a game you DONT care about, not a game you rarely play.

    2. I also recommend picking a donor title/game combo that has been tested and reported working just so you know if YOU did something wrong or not.
    3. Find the TitleID of the donor title you chose from http://nswdb.com or http://switchbrew.org/index.php?title=Title_list/Games
      Region must be the same, choose the TitleID for the base-game NOT for the update title, even if your updated.

    1. Once again, boot into Hekate-IPL (Step 1).
    2. Enter "Launch firmware" and select "RomFS".
    3. Your now in your system's home menu.
    4. Open the Donor Title you set the TitleID of on that folder and .npmd file earlier.
    5. The game will load up flawlessly.
      If you opened the Title lets say, Fortnite, and Fortnite booted, the titleid of the folder in sd:/atmosphere/titles/{fortnitetitleid} doesnt exist, or doesnt start with 0100.
      If it gives you an error screen, either you didnt edit the main.npmd properly, or its an incompatible title/donor combo.
    To see which games work and which dont using which donor titles, look below.
    If you notice that you used a combination of Game and Donor title that isnt in the list below, post in the thread and I will add it. (look under to see what I need to add to chart).


Troubleshooting

  • Black Screen/Infinitely Loading
    Leave it for around 5 minutes then press the home button and go back into the game without closing it. Often this can do the job.
  • Freeze when Loading
    Close the game and try again, its a common occurence, you may have to try up to 4-5 times before getting it to work, sometimes you may even have to reboot between retries.
 
Last edited by PRAGMA,

M-Gardevoir

Well-Known Member
Newcomer
Joined
Apr 2, 2016
Messages
85
Trophies
0
Age
23
XP
251
Country
France
Hey !

Maybe it's unrelated but when i launch "RomFS" on hekate, it just stay "loading" until a whitescreen of death appears...
 

FearItSelf23

Well-Known Member
Member
Joined
Feb 24, 2013
Messages
172
Trophies
1
Age
32
XP
371
Country
United States
If I use this I get an error about path for exefs and if I try just using xci decrypter I get the xcidecrypted folder with just the romfs.bin. It wont produce an exefs folder/file.
 

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,820
Trophies
0
Location
Yorosso
XP
3,133
Country
Mali
Chill!
The thing is:
-When you launch romFS from the launch firmware section of your payload, you need to directly go for the donor game of the game you're launching (nothing else! no homebrew, no other game!)
-An error usually means either you already launched a donor game or your donor game is not compatible and you need to use another one.

I cannot get a game to run for the life of me, I followed everything down to the letter on these tutorials but whenever I inject pokken into fortnite, I always get the same error, something went wrong/turn off system, I just don't understand what I am doing wrong, I followed ShinyMK's hekate cfw/RCM smash tutorial aswell to see if the version of hekate I was using was wrong or something, but nope same error as usual, the only thing left to try is to format my sd card and try again, but that shouldn't be a problem because I am sure I formatted my SD card as exfat32 before doing kind of CFW/Homebrew stuff with my switch.

If anyone can help it would be much appreciated.

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

Guys you know what causes the "The software was closed because an error occurred" error? It comes immediately when i try to start the Game.
I tried Skyrim with octopath traveler demo as donor. It should work according to OP.

Check this: https://awesome-table.com/-LFDcC2m8HJCLBPe-7e0/view
 

Treeko

Well-Known Member
Member
Joined
Sep 29, 2012
Messages
403
Trophies
1
Age
28
XP
2,119
Country
Chill!
The thing is:
-When you launch romFS from the launch firmware section of your payload, you need to directly go for the donor game of the game you're launching (nothing else! no homebrew, no other game!)
-An error usually means either you already launched a donor game or your donor game is not compatible and you need to use another one.



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



Check this: https://awesome-table.com/-LFDcC2m8HJCLBPe-7e0/view
Thanks for the quick reply, but I don't seem to see any kind of romfs option when I choose launch firmware on the hekate payload menu, okay now I definitely think I am doing something wrong, maybe you could point me in the right direction?
 

FearItSelf23

Well-Known Member
Member
Joined
Feb 24, 2013
Messages
172
Trophies
1
Age
32
XP
371
Country
United States
Why do I get section 0 is corrupted and unhandled errors every time even when I follow the instructions on a clean SD card? Unhandled error is always unable to find path for main.npdm. I feel like something is missing from the instructions.
 

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,820
Trophies
0
Location
Yorosso
XP
3,133
Country
Mali
Thanks for the quick reply, but I don't seem to see any kind of romfs option when I choose launch firmware on the hekate payload menu, okay now I definitely think I am doing something wrong, maybe you could point me in the right direction?

You need to prepare your SD card for LayeredFS and also put a line of code into hekate.ini on the root of your SD card.

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

Why do I get section 0 is corrupted and unhandled errors every time even when I follow the instructions on a clean SD card? Unhandled error is always unable to find path for main.npdm. I feel like something is missing from the instructions.

Maybe you're still missing some keys.
 

PRAGMA

Well-Known Member
OP
Member
Joined
Dec 29, 2015
Messages
2,258
Trophies
1
Location
Ireland
Website
github.com
XP
5,041
Country
Ireland
I cannot get a game to run for the life of me, I followed everything down to the letter on these tutorials but whenever I inject pokken into fortnite, I always get the same error, something went wrong/turn off system, I just don't understand what I am doing wrong, I followed ShinyMK's hekate cfw/RCM smash tutorial aswell to see if the version of hekate I was using was wrong or something, but nope same error as usual, the only thing left to try is to format my sd card and try again, but that shouldn't be a problem because I am sure I formatted my SD card as exfat32 before doing kind of CFW/Homebrew stuff with my switch.

If anyone can help it would be much appreciated.
Not all games work with each other m8, try ones confirmed to work.
 
  • Like
Reactions: Treeko

Dvdxploitr

Well-Known Member
Member
Joined
May 24, 2008
Messages
705
Trophies
1
XP
1,295
Country
United States
Game: Shaq-Fu: A Legend Reborn
Donor: Fortnite
Saves: Yes
Firmware: 5.1.0


Yes, the first load screen for the game is about a full minute!! I typed this post in the time it took to load to the main menu!
 

cherryduck

Well-Known Member
Member
Joined
Jul 1, 2007
Messages
331
Trophies
1
Age
34
Location
The far side of the moon
Website
Visit site
XP
1,617
Country
I must be doing something wrong. When I go to the "launch RomFS" option I get a weird pattern of white lines on my screen, eventually "Rebuilt and loaded package 2" and "Booting..." appear within the mess of lines, but nothing happens from there, just sits on that screen. Also, I get a different key set if I use BOOT0 and the other file from the latest firmware, versus using my files from my 3.0.1 NAND backup. With the newest files, I get keys 00 and 04 on everything, with the older 3.0.1 files I get 00 and 02. Only my keys dumped from the older firmware files can actually successfully extract XCI dumps.
 

M-Gardevoir

Well-Known Member
Newcomer
Joined
Apr 2, 2016
Messages
85
Trophies
0
Age
23
XP
251
Country
France
Well i followed all the steps in the APP flawlessly. No error or anything like this.
Just i've found something weird : fs_mitm.kip have 0kb... in [SDCARD letter]\modules\romfs
Also have 4 files :
- fs_mitm.kip 0kb
- kernel-patched.bin 455kb
- loader.kip 139kb
- sm.kip 149kb

Hope it help
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Psi would be doing like 300-3,000 years in prison lol
  • K3Nv2 @ K3Nv2:
    Have some in closet allegations?
  • Psionic Roshambo @ Psionic Roshambo:
    Someone tried to pull a gun on me once, they reached into the couch thinking I wouldn't notice, quick kick to the arm snapping it between the wrist and elbow broke like a swing lol I reached into the couch to see what was in there, cool a free .380 lol had to hit him with it a few times to remind him not to do it again lol
  • Psionic Roshambo @ Psionic Roshambo:
    He had the 20K he owed the very next day it was a miracle lol
  • Psionic Roshambo @ Psionic Roshambo:
    Psi was a bad bad man at one point lol
  • BigOnYa @ BigOnYa:
    We need a GTA based on your life, or at least put you in 6 as a character.
  • Psionic Roshambo @ Psionic Roshambo:
    I don't think people would believe 10% of the things I have done lol thank god...
  • Psionic Roshambo @ Psionic Roshambo:
    I have a giant check list of impossible things, and I haven't done them all yet lol
  • K3Nv2 @ K3Nv2:
    @Psionic Roshambo, Was the pot farmer in San andreas
  • Psionic Roshambo @ Psionic Roshambo:
    I tell people I wrestled a 5 foot alligator and they get this smile like this guy is full of shit lol the reality is I am sad it got away.... I wanted a pet alligator lol
  • BigOnYa @ BigOnYa:
    You live in Florida, so I believe it, you guys are crazy.
  • Psionic Roshambo @ Psionic Roshambo:
    At the time I would have probably fed it people lol
  • Psionic Roshambo @ Psionic Roshambo:
    Seriously cocaine not even once lol
  • BigOnYa @ BigOnYa:
    Not even once, but 100's of times
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    My girlfriend at the time, she had me stay up with her all night because some how the crazy bitch had spent like 12 hours snorting 2 8 balls, didn't use any water (gotta clean your nose) so she had so much crusted in her nose I was sure she was gonna blow up her heart. I mean this was the stuff right off the boat so absolutely pure. ugghh so annoying
  • Psionic Roshambo @ Psionic Roshambo:
    Also doing like 320 dollars worth of coke in half a day lol damn it
  • Psionic Roshambo @ Psionic Roshambo:
    hmmm 360 even lol
  • Psionic Roshambo @ Psionic Roshambo:
    Well I was getting a discount so 320 is probably right
  • BigOnYa @ BigOnYa:
    That is cheap, I used to pay $100 for a tine.
  • Psionic Roshambo @ Psionic Roshambo:
    Tine? One gram?
  • BigOnYa @ BigOnYa:
    Sixteenth
  • Psionic Roshambo @ Psionic Roshambo:
    Also it was literally out of a kilo when I got it off the boat so absolutely pure
  • Psionic Roshambo @ Psionic Roshambo:
    Holy shiz that's a lot
    +1
    Psionic Roshambo @ Psionic Roshambo: Holy shiz that's a lot +1