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,

Ryab

Well-Known Member
Member
Joined
Aug 9, 2017
Messages
3,246
Trophies
1
XP
4,492
Country
United States
How to use LayeredFS for Backup Loading

Firmware Supported: 5.x.x
(for other firmwares, we need a way to patch a kernel.bin thats on 4.x.x firmware, but no such tool exists yet)

Step 1 - Hekate-IPL + CTCaer Hekate Mod + Initial-LayeredFS SupportStep 2 - Getting Switch's KeysStep 3 - Picking a Donor Title and getting Donor TitleIDStep 4 - Kernel PatchingStep 5 - Installing Game BackupsStep 6 - Running Game Backups!


    1. Follow this thread to learn how to enter Hekate-IPL using @CTCaer 's Hekate Mod. (The original hekate mod has bugs).
      You should boot into Hekate-IPL once before continuing so you get it stuck in your head on how it's done and to know your getting it right.
    2. For LayeredFS support, I changed how and where files are loaded for Hekate.
      Delete ALL FILES NOT FOLDERS except hbmenu.nro from SD Cards root.
      Download this and extract it to the SD Cards root.
      Result (Nintendo folder may not exist but its fine):
      4oX1K3P.png

    3. You now have Hekate-IPL + CTCaer Hekate Mod + Initial-LayeredFS Support (still need kernal-patched.bin, more on that later).

    1. Follow this tutorial to get your "keys.ini" file which will be needed.

    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. Look below for the Title ID or google it and remember it, jot it down on Notepad, we will need it later.

    1. Kernel patching is required for LayeredFS to be able to run.
      Either, Find "kernel-patched.bin" using my SHA-1: a445c342d31dd1435629893c5ecb60ad6cf0ff7f (Google ;) ) and place it in sd:/modules/romfs
      Or, continue on to patch your own kernel.bin to kernel-patched.bin
    2. Download HxD v2.0 (not v1.7.7 from HxD Homepage) and install it if you havent already got HxD v2.0
    3. Remember how to open Hekate-IPL using CTCaer's Hekate Mod? Do that now.
    4. Click "Tools" -> Dump eMMC SYS (not eMMC USER)
    5. Once its finished, put your SD Card in your PC, and follow this using this .bat file (extract the .bat out of the .zip).
    6. You now have your very own kernel.bin. This file is NOT patched yet.
    7. To patch it, download kernelpatches.exe from @thomasnet here and just put the kernelpatches.exe next to your kernel.bin, let it run and you will have kernel-patched.bin
    8. Delete the original kernel.bin and kernelpatches.exe, we dont need them anymore, and place kernel-patched.bin in your SD Card at: sd:/modules/romfs/kernel-patched.bin

    1. Follow this thread to get your .XCI file decrypted.
    2. You should now have an xciDecrypted folder.
    3. Rename that xciDecrypted folder to the Donor Title's Title ID you picked earlier. Do note, it should always start with 0100. So if your Title ID is 100XXXXXXXXXXXX add a 0 to the start.
    4. Download HxD v2.0 (not v1.7.7 from HxD Homepage) and install it if you havent already got HxD v2.0
    5. Follow the video tutorial here (the main.npmd that was opened, is in the xciDecrypted->exefs folder we just renamed, the titleid we paste in, should be the same one we used for the folders name, just no 0 at the start)
    6. You should now have a folder named as a titleid starting with 0100 and has an edited main.npmd
    7. Copy that folder, and paste it into your SD Card at: sd:/atmosphere/titles/
      The SD Card should look like this: (010025400AECE000 is Fortnite and is a Backup of Mario+Rabbids)
      m6iWcxp.png

    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).


Title ID list (may be incomplete)

http://switchbrew.org/index.php?title=Title_list/Games
https://nswdb.com
(never use the "Update" title id's even if your title is updated and always use the same region of the installed title)

All free eShop Title's ID's - Handy for testing working games

Title NameTitle ID
Fortnite010025400AECE000
Hulu0100A66003384000
The Pinball Arcade0100cd300880E000
Fallout Shelter010043500A17A000
Octopath Demo010096000B3EA000
Kitten Squad01000C900A136000
Blazblue0100C6E00AF2C000
Pinball FX30100DB7003828000
Pokemon Quest01005D100807A000
Stern Pinball Arcade0100AE0006474000
PaccMan VS0100BA3003B70000


Working Titles - DO NOT ATTEMPT TO USE TITLES ONLINE!

If the title is infinitely loading or black screen, leave it for roughly 5 minutes, press home button, go back into the donor title and see if it loads.
Some games just need a little push.
I have a theory that some games work and some dont due to SD Card and LayeredFS filesize reading limitations.
Of course, I could be wrong, but is it really a coincidence most of the BIG games dont run?

If a title FREEZES when loading, just close the game and try again. Try 3-4 times. If it still freezes, try rebooting.
Some testers had freezes on games for ex: DOOM + Fortnite(donor) yet some testers did that combo, and got through.

Boots?GameDonor Title's that WORKDonor Title's that FAILFirmwareSaves?
OwlboyFortnite-5.1.0
DOOMFortnite (doesnt save)Fallout Shelter (crashes before menu), Pokemon Quest (freezes for 1 tester, blackscreen for another tester), Octopath Traveler Demo (buggy)5.1.0X
Poi: Explorer EditionFortnite-5.1.0
I Am SetsunaFortnite-5.1.0?
Scribblenauts ShowdownFallout Shelter-5.1.0
Overcooked!Fortnite (saves?), The Pinball Arcade (saves!)Hulu5.1.0
SkyrimOctopath Traveler Demo (saves!), Fortnite (doesnt save)Super Mario Odyssey (crashes starting a save), Mario Kart 8 DELUXE (infinite loading screen)5.1.0
Fire Emblem WarriorsFortnite (buggy?), Super Mario Odyssey (saves!), Dragon Quest Builders (saves!)-5.1.0✓?
Stardew ValleySkyrim-5.1.0
BayonettaFortnite (saves!), Oceanhorn Demo (saves?)-5.1.0✓?
Dragon Ball Xenoverse 2Kitten Squad-5.1.0?
Ultra Street Fighter II: The Final ChallengersKitten Squad-5.1.0?
Wonder Boy: The Dragon's TrapAstro Bears Party-5.1.0?
Wild Guns ReloadedPokemon Quest-5.1.0?
Lost SphearI Am Setsuna, Pokemon Quest-5.1.0?
Little Nightmares: Complete EditionPokemon Quest-5.1.0
Gal Gun 2Wonder Boy: The Dragon's Trap-5.1.0
RAYMAN LEGENDS: DEFINITIVE EDITIONFortnite-5.1.0?
Sonic ForcesFallout ShelterFortnite, Super Mario Odyssey5.1.0
LEGO WorldsFortnite, Stern Pinball Arcade-5.1.0
Super Bomberman RFallout Shelter-5.1.0?
Hyrule Warriors: Definitive EditionSuper Mario OdysseyFortnite, Pinball PX35.1.0
Mario + Rabbids Kingdom BattleFortnite, Super Mario Odyssey, Fallout Shelter, Golf Story, Oxenfree-5.1.0
Kirby Star AlliesFortnite (doesnt save, max savesize of 5.3mb?), Pokemon Quest (?), Minecraft (saves!), Stardew Valley (saves!)Pokken Tournament DX Demo (infinite loading), Pokken Tournament DX (freezes/infinite loading)5.1.0✓?
Splatoon 2Super Mario Odyssey, Just Dance 2018, Splatoon 2 Splatfest DemoRocket League (black screen), Fallout Shelter (crash 1 tester, blackscreen another tester), Kitten Squad, Fortnite5.1.0
Nintendo Labo - Toy-Con 02 ROBOT KITSuper Mario Odyssey, Rocket League-5.1.0?
Minecraft - Switch EditionSuper One More Jump Demo-5.1.0?
Dragon Quest BuildersFallout Shelter, ARMS, Blaster Master Zero, Kitten Squad, Pinball FX3, I Am Setsuna-5.1.0
The Binding of IsaacFallout Shelter (saves!), FAST RMX (saves?), Rocket League (saves?), Super Mario Odyssey (saves!), Minecraft (saves!)-5.1.0✓?
Darkest DungeonFAST RMX-5.1.0?
Just Dance 2018Fortnite-5.1.0?
Human: Fall FlatFortnite-5.1.0
Pokkén Tournament DXSkyrim, Fortnite, Just Dance 2018Fallout Shelter (freezes on auto-save warning), Pokkén Tournament DX DEMO, Splatoon 2 (freezes)5.1.0X
Donkey Kong Country: Tropical FreezeSuper Mario Odyssey, Fallout Shelter, Fortnite, Wonder Boy: The Dragon's Trap-5.1.0
VoezVoez Demo, Fortnite, Super Mario Odyssey-5.1.0
Sonic ManiaSuper Mario Odyssey-5.0.2
Payday 2Pokemon QuestFAST RMX5.1.0
ARMSSuper Mario Odyssey (saves!), Namco Museum (saves!), Overcooked! (doesn't save)-5.1.0✓?
Shantae: Half-Genie HeroFallout Shelter, Super Mario Odyssey-5.1.0
Scribblenauts ShowdownRocket League-5.1.0?
Disgea 5Super Mario OdysseyFortnite5.1.0
Cave Story+VOEZ (Demo)-5.1.0
Monster Hunter XXSkyrim (loading screen doesnt fade, home button, and back in game to fix), Phantasy Star Online 2-5.1.0
XThe Legend of Zelda: Breath of the Wild-Fortnite (black screen), Fallout Shelter (black screen), Kitten Squad (black screen)5.1.0-
XSnipperclips-Snipperclips DEMO (freeze)5.1.0-
XPuyo Puyo Tetris Demo-Pokemon Quest5.1.0-
XPuyo Puyo Tetris-Fortnite, Snipperclips Demo5.1.0-
XAzure Striker Gunvolt Striker Pack-VOEZ Demo5.1.0-
XMario Kart 8 DELUXE-Super Mario Odyssey, Hyrule Warriors Definitive Edition, Puyo Puyo Tetris, Fortnite, RAYMAN LEGENDS: DEFINITIVE EDITION DEMO, Rocket League (error screen), Stern Pinball Arcade, Pinball FX3, Pac-Man VS, Blazblue5.1.0-
X1-2-Switch-Fortnite, Splatoon 2, The Legend of Zelda: Breath of the Wild, Super Mario Odyssey, Snipperclips Demo, Fallout Shelter (error screen), Rocket League (black screen)5.1.0-
XXenoblade Chronicles 2-Fortnite, Wonder Boy: The Dragon's Trap, RAYMAN LEGENDS: DEFINITIVE EDITION DEMO, Fallout Shelter, Super Mario Odyssey, Pokemon Quest, Blaster Master Zero DEMO, Disgaea 55.1.0-
XSuper Mario Odyssey-Fortnite, Pokemon Quest, FAST RMX, The Legend of Zelda: Breath of the Wild, Namco Museum, Fallout Shelter, Puyo Puyo Tetris, Octopath Traveler Demo, Mario Kart 8 DELUXE5.1.0-
XSouth Park: The Fractured But Whole-Fortnite, Pokemon Quest, ARMS5.1.0-
XNBA 2K18-Super Mario Odyssey (black screen), Pokemon Quest (black screen)5.1.0-


Adding to List

Post the game name, donor name tried, firmware (probably 5.1.0).
If it boots I also need to know if it saves or not

LayeredFS Backup Loading Challenge/Test

- Get one of these games on your switch installed normally, no layeredfs stuff with them: Fallout Shelter, ARMS, Blaster Master Zero, Kitten Squad, Pinball FX3, I Am Setsuna
- Lets say you have Fallout Shelter, Use that as a Donor Title to load Dragon Quest Builders.
- Now, also use Dragon Quest Builders as a donor title to load Fire Emblem Warriors.

I wanna see if you can get from Fallout Shelter->Dragon Quest Builders->Fire Emblem Warriors, just from boot a free game like Fallout Shelter lmao

Notes

Seems fortnite is a good title to test with. Apparently using Fortnite as a Target Title and redirecting Axiom Verge works but I havent tried myself.
1-2-Switch seems to not work for anything, possibly as it doesnt use User-Accounts?
Puyo Puyo tetris over its own demo boots to black screen
 
  • Like
Reactions: SonicRegret

serenewarfare

Active Member
Newcomer
Joined
Aug 14, 2013
Messages
41
Trophies
0
Age
29
XP
255
Country
United States
When I get to the key dumping part and I'm using cmd to open the hactool folder it gives me a error that says that the path dose not exisist. Anybody wiling to help?

Same was happening to me. What I did was just copied the folder location from the explorer and past in in the command line instead of typing it out and it worked.
 

Ty_

Well-Known Member
Member
Joined
May 22, 2018
Messages
399
Trophies
0
Age
44
XP
1,256
Country
United Kingdom
Tried Lego City Undercover, got vastly different results with different donors.

With a Fortnite donor it loads up immediately and begins well, but then it crashes when it tries to save the profile, just like Doom. Tried it twice and exactly the same happened.

Using Pokemon Quest donor it runs fine, however messages pop up about there not being enough free space (even though I do). after a few tries you can get through but it won't save anything. I closed the game and re-tried it, and it crashed on the 2nd run.

Octopath Traveler Prologue donor had a weird effect where it displays the Switch loading screen as a top and bottom border at the same time as the game is running (going to home menu then re-opening fixes it). Saving fully works (I tested with a console reset).

Octopath is the winner so far, I'll try a couple others
 
Last edited by Ty_,

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,013
Trophies
2
Age
29
Location
New York City
XP
13,398
Country
United States
So, is that a yes? I'm really paranoid about these things and I don't want to update for no reason.
IMO, this is not worth updating for. Not all games are supported and this is technically not backup loading but backup swapping. So, this will be replaced by something that will run the backups more straightforward such as a cartridge emulator (similar to SX OS) or a title manager (like FBI on the 3DS).
 
D

Deleted User

Guest
SPLATOON 2 WORKS ON 5.1.0
Settings used:
Donor: pokemon Quest
Requirements:delete donor save data
Save:works
 

Ty_

Well-Known Member
Member
Joined
May 22, 2018
Messages
399
Trophies
0
Age
44
XP
1,256
Country
United Kingdom
Tried Lego City Undercover, got vastly different results with different donors.

With a Fortnite donor it loads up immediately and begins well, but then it crashes when it tries to save the profile, just like Doom. Tried it twice and exactly the same happened.

Using Pokemon Quest donor it runs fine, however messages pop up about there not being enough free space (even though I do). after a few tries you can get through but it won't save anything. I closed the game and re-tried it, and it crashed on the 2nd run.

Octopath Traveler Prologue donor had a weird effect where it displays the Switch loading screen as a top and bottom border at the same time as the game is running (going to home menu then re-opening fixes it). Saving fully works (I tested with a console reset).

Octopath is the winner so far, I'll try a couple others

Okay last donor I'm trying with this game is Fallout Shelter. Has exactly the same result as using Fortnite.

Best method is using Octopath Traveller Prologue, then going to home (not closing) and opening it back up again to deal with the border issue. From my brief time with it it played fine. Some slowdown but I think the game does anyway
 

DollyWhipDoll

Royalty & Unbothered. LMFAO!!! ;)
Member
Joined
May 18, 2018
Messages
451
Trophies
0
XP
991
Country
United States
How this is going to go {not really, lmao};

1. Those on 4.1 aren't going to be able to stand the excitement and will update by tomorrow.

2. The day after they update, a fork will be out for compatibility with ALL FWs.

3 The day after that, a soft mod will be out for 1.0-4.1.

Tada
 
D

Deleted User

Guest
How to delete safe data?
Data management

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

LAST TIME I SAY :
IF THE SAVES DON'T WORK GO TO DATA MANAGEMENT AND DELETE DONOR SAVE DATA IT WORKS ON MOST GAMES LIKE PAYDAY OR SPLATOON!!!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    @Sonic Angel Knight, Is that SAK I see. :ninja:
  • BigOnYa @ BigOnYa:
    What a weird game
  • K3Nv2 @ K3Nv2:
    Yeah I wanted to see shards of the titanic
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +1
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
    K3Nv2 @ K3Nv2: My life has no value my fat ass is staying right here