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,

Chrisw329

New Member
Newbie
Joined
Jun 18, 2018
Messages
3
Trophies
0
Age
35
XP
157
Country
United States
Can someone point me in the right direction to get fs_mitm.kip mine is 0kb and i cant find it anywere i think that is what is causing all my problems. Been working on this all day haha
 

Skater4599

Well-Known Member
Member
Joined
May 29, 2008
Messages
965
Trophies
1
Location
United States
XP
1,554
Country
United States
After you have the nca, run this:

hactool.exe --exefsdir=exefs\ --romfs=romfs.bin --titlekey=f28...(should be in the NFO) -k keys.txt -t nca 32a23f30763ca916909399fc03c57bd2.nca

the MD5 of my NCA is b60d4b346beef465fd23f7c53d25f355


Tried this, my NCA has a matching MD5. It gave me a romfs.bin file. But in the cli i got an "Error: section 0 is corrupted!" and Section 1 at the end as well. This normal or is something wrong?
 

Nerdtendo

Your friendly neighborhood idiot
Member
Joined
Sep 29, 2016
Messages
1,770
Trophies
1
XP
4,649
Country
United States
I had to leave before I could finish up but something wasnt working. There were two numbers I needed to jot down and put in later, but I got an error saying I needed to put in values with 36 hexadecimal characters. The numbers I had only contained 32. Which strings were a supposed to use?
 

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,109
Country
Mali
I had to leave before I could finish up but something wasnt working. There were two numbers I needed to jot down and put in later, but I got an error saying I needed to put in values with 36 hexadecimal characters. The numbers I had only contained 32. Which strings were a supposed to use?

Your keys are incomplete.
 

WuskyDingo

Active Member
Newcomer
Joined
Jun 2, 2018
Messages
26
Trophies
0
Location
San Diego, CA
Website
www.youtube.com
XP
122
Country
United States
Tried this, my NCA has a matching MD5. It gave me a romfs.bin file. But in the cli i got an "Error: section 0 is corrupted!" and Section 1 at the end as well. This normal or is something wrong?

I had this problem too. Get the newest hactool. You also might need something I cannot give out on this forum. Message me on twitter @DingoTech
 

luca1

Member
Newcomer
Joined
May 17, 2018
Messages
18
Trophies
0
Age
27
XP
190
Country
Brazil
Using pragma's program is not working for me. Tried it with kirby star allies, crashes the program as soon as I open it. Using the batch file + rewriting the TID manually worked. Skyrim crashes too with the program, will test it with the manual path now and see if it works.
 

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,109
Country
Mali
Hi guys
Just a heads up
Delete the savegame of donor title!
Sometimes it'll hang and not boot (it's actually trying to load savegame of donor title which is wrong!)
So for the first launch, be sure to delete the savegame from under system. 90% of my games are compatibles that way.
 

arthur_bleme

Active Member
Newcomer
Joined
Jun 18, 2018
Messages
30
Trophies
0
Age
35
Location
France
XP
259
Country
France
After you have the nca, run this:

hactool.exe --exefsdir=exefs\ --romfs=romfs.bin --titlekey=f28...(should be in the NFO) -k keys.txt -t nca 32a23f30763ca916909399fc03c57bd2.nca

the MD5 of my NCA is b60d4b346beef465fd23f7c53d25f355

Yooka-Laylee work perfectly with Fornite donor for me too, thank you very much ! i spent the night trying to extract this damn nca, I had forgotten the titleKey argument...
 
Last edited by arthur_bleme,
  • Like
Reactions: WuskyDingo

F1NATIK

Active Member
Newcomer
Joined
Jun 11, 2018
Messages
43
Trophies
0
Age
39
XP
200
Country
Australia
um so is no one going to look into thjs???????????

"Is it possible layeredfs is failing for some titles because of the titleid offset o.o Holy fuck think about it, whats a title that hasnt run at all yet? 1-2-Switch. What offset is that using? 0x430, not 0x440 like almost every other title.
If anyone can, try verify im correct on this topic.
I dont have lfs source so I cant do any tests.
It's very possible the titles that isn't running is caused by this."
 

idenfox

New Member
Newbie
Joined
Jun 18, 2018
Messages
1
Trophies
0
Age
30
XP
83
Country
Peru
I got this error while decrypting the xci also only create a folder with tittle id romfs.bin but nothing of exefs. I tought it was my keys.ini but I rebuild them twice.
"you can not find a part of the path tittleid / exefs / main.npdm"
I think something about section 0 corrupted also in cmd window
 

Attachments

  • error.PNG
    error.PNG
    10.9 KB · Views: 209

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • ZeroT21 @ ZeroT21:
    :toot:blow me then @K3Nv2
  • K3Nv2 @ K3Nv2:
    Nah I'm straight but you're more than welcome to blow ancientboi
  • ZeroT21 @ ZeroT21:
    LOL, which straight person does not make gay jokes?
    +1
  • K3Nv2 @ K3Nv2:
    I'm straight but we can whack dicks together
  • ZeroT21 @ ZeroT21:
    nah, I'm gud over here, no need for sword fights

    :glare:
    +1
  • K3Nv2 @ K3Nv2:
    Dick slang
  • K3Nv2 @ K3Nv2:
    See ancientboi already has a crush on you
  • AncientBoi @ AncientBoi:
    [brings my ⚔️ ] On Guard :D:evil::wub:
  • K3Nv2 @ K3Nv2:
    Looks more like a dagger to me
  • AncientBoi @ AncientBoi:
    Pffffft I have a crush on everybody
  • ZeroT21 @ ZeroT21:
    I see no problem, unless i happen to grow another gender one day. Too bad it ain't now
  • K3Nv2 @ K3Nv2:
    Thought you already had both hotswappable gender fluid
  • ZeroT21 @ ZeroT21:
    Enjoy whatever life chucks your way

    :teach:
    +1
  • K3Nv2 @ K3Nv2:
    Deeze nuts
  • AncientBoi @ AncientBoi:
    Dem Nutz
  • ZeroT21 @ ZeroT21:
    'Em nutters
  • AncientBoi @ AncientBoi:
    M&M nutz
    +1
  • K3Nv2 @ K3Nv2:
    Slim anus nutter
  • AncientBoi @ AncientBoi:
    :unsure::unsure::unsure: I might go buy them M&M w/nuts. I gotta go out to pay the rent anyway
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Eat a Snickers!
  • Psionic Roshambo @ Psionic Roshambo:
    Almond Joys got nuts!
  • Xdqwerty @ Xdqwerty:
    Good afternoon
    Xdqwerty @ Xdqwerty: Good afternoon