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,817
Trophies
0
Location
Yorosso
XP
3,109
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
402
Trophies
1
Age
28
XP
2,107
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,817
Trophies
0
Location
Yorosso
XP
3,109
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,038
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
    BigOnYa @ BigOnYa: https://torrentfreak.com/one-nintendo-dmca-notice-just-wiped-out-8535-yuzu-emulator-forks-240502/