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,

Stoned

Well-Known Member
Member
Joined
Mar 26, 2014
Messages
2,763
Trophies
2
Age
45
XP
4,383
Country
Germany
I can’t decrypt crash bandicoot?
Can’t find file is the error in cmd

Tried hactool
xci decrypter2.1.bat and pragmalayeredfs tool

  • Get the latest version of XCI Explorer with Card 2 Support (https://github.com/StudentBlake/XCI-Explorer/releases)
  • Load the XCI file, then go to the Partitions tab, then under secure find the biggest NCA file and extract it to your desktop (See image 1 for reference) (should be called "cdee81d37ad6e99952d7f45fb01b2c83.nca" for Mario Tenis Aces)
  • Extract the NCA file to your desktop
  • Download hactool and extract the content to your desktop
    • Create a folder on your Desktop called Mario
    • At this point, you should have 1 folder and 6 files on your desktop (NCA file, four files for hactool, and keys.ini) (See image 2 for reference)
    • Open CMD (Command Prompt)
    • Type in the following command:
    • cd Desktop (press enter)
    • hactool.exe -k keys.ini --romfs="Mario\romfs.bin" --exefsdir="Mario\exefs" "cdee81d37ad6e99952d7f45fb01b2c83.nca" (press enter) (if you are using a different game you would have a different name for you NCA file)
    • Now command prompt will run the command and if it is successful you should see "Done!" at the end (See image 3 for reference)
    • Now you have all the files required to run your game!
    • Rename the Mario folder to the title ID of your donor game and then modify main.npdm with your donor title ID
    • Copy the folder to the titles folder on your SD card (atmosphere/titles/)
    Now you are all good to go! Hope this tutorial was hopeful for people decrypting Cart 2 games!

    Same Methode for Crash
Could you tell me Happy Birthdays demo's TitleID?


010069700AF9C000 Happy Birthdays DEMO
 

ImCarlosGG

Well-Known Member
Member
Joined
Sep 21, 2015
Messages
398
Trophies
0
Location
Virtual World
XP
1,069
Country
Spain
  • Get the latest version of XCI Explorer with Card 2 Support (https://github.com/StudentBlake/XCI-Explorer/releases)
  • Load the XCI file, then go to the Partitions tab, then under secure find the biggest NCA file and extract it to your desktop (See image 1 for reference) (should be called "cdee81d37ad6e99952d7f45fb01b2c83.nca" for Mario Tenis Aces)
  • Extract the NCA file to your desktop
  • Download hactool and extract the content to your desktop
    • Create a folder on your Desktop called Mario
    • At this point, you should have 1 folder and 6 files on your desktop (NCA file, four files for hactool, and keys.ini) (See image 2 for reference)
    • Open CMD (Command Prompt)
    • Type in the following command:
    • cd Desktop (press enter)
    • hactool.exe -k keys.ini --romfs="Mario\romfs.bin" --exefsdir="Mario\exefs" "cdee81d37ad6e99952d7f45fb01b2c83.nca" (press enter) (if you are using a different game you would have a different name for you NCA file)
    • Now command prompt will run the command and if it is successful you should see "Done!" at the end (See image 3 for reference)
    • Now you have all the files required to run your game!
    • Rename the Mario folder to the title ID of your donor game and then modify main.npdm with your donor title ID
    • Copy the folder to the titles folder on your SD card (atmosphere/titles/)
    Now you are all good to go! Hope this tutorial was hopeful for people decrypting Cart 2 games!

    Same Methode for Crash


010069700AF9C000 Happy Birthdays DEMO

GOAT, ty!
 

HoTsHoTz79

GIC-Developer
Member
Joined
May 9, 2018
Messages
322
Trophies
0
Age
39
XP
964
Country
Canada
Can anyone explain what I need to do to get this working on 4.0.1? I have the 4.x LayeredFS SDFiles but if I launch LayeredFS my games just errorcwhen I launch them, even ones without a redirect.

For LayeredFS... Incase you dont want to update your firmware and want to stay on 4.1, see below;

Watch this video first
https://www.youtube.com/watch?time_continue=207&v=oiE8Luc0c9E

Read the description as well on what you need... THEN

Follow this post (thread) on how to make LayeredFS work on 4.1.0;
https://gbatemp.net/threads/atmosphere-layeredfs.507653/#post-8059224

once you follow that thread, you will have the patched kernel file... which you need to replace with what you got earlier

Just FYI: Latest Atmosphere commits may or may not work with 4.1...
 

PeterGemp

Well-Known Member
Member
Joined
Jun 28, 2018
Messages
118
Trophies
0
XP
269
Country
United States
Resident Evil Revelations
Donor: Octopath Traveller DEMO
Result: Works with the latest SDFile v4.1

Please someone put this on the corresponding gdrive tables for our awesome table.
Further notes: I did wipe the savedata of the Octopath Traveller DEMO before LayeredFS-ing it with Resident Evil. Maybe that also helped?
 
Last edited by PeterGemp,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: