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,

PhiZero

Well-Known Member
Member
Joined
Jul 14, 2007
Messages
122
Trophies
1
Age
33
XP
527
Country
Netherlands
Tutorial missing information. There's no mention anywhere that the bytes are in reverse order. Gonna confuse people who are already clueless by needing a tutorial like this even more.
 

dovah

Active Member
Newcomer
Joined
Jun 9, 2018
Messages
38
Trophies
0
Age
29
XP
178
Country
Italy
for people not familiar with hexeditors or endianess,
i've done a webpage (completely javascript, you can even make a copy and use it offline) that patches the file for you.

you just need to enter the target title id in the text field, click browse and select your main.npdm file.
then you can click on download and replace your file.

http://carlus.altervista.org/nx/title_id_patcher.html

-- update:
you can also drag and drop your file now
 
Last edited by dovah,

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,376
Trophies
0
XP
2,764
Country
Colombia
for people not familiar with hexeditors or endianess,
i've done a webpage (completely javascript, you can even make a copy and use it offline) that patches the file for you.

you just need to enter the target title id in the text field, click browse and select your main.npdm file.
then you can click on download and replace your file.

http://carlus.altervista.org/nx/title_id_patcher.html
source
 

PRAGMA

Well-Known Member
OP
Member
Joined
Dec 29, 2015
Messages
2,258
Trophies
1
Location
Ireland
Website
github.com
XP
5,037
Country
Ireland
for people not familiar with hexeditors or endianess,
i've done a webpage (completely javascript, you can even make a copy and use it offline) that patches the file for you.

you just need to enter the target title id in the text field, click browse and select your main.npdm file.
then you can click on download and replace your file.

http://carlus.altervista.org/nx/title_id_patcher.html
When do we need to check for big-endian?
 

VIDOKS

Member
Newcomer
Joined
Jun 15, 2018
Messages
21
Trophies
0
Age
29
XP
67
Country
France
does someone has the compile version of atmosphere to test it ? i only found decompile version on the github of scires m
 

dovah

Active Member
Newcomer
Joined
Jun 9, 2018
Messages
38
Trophies
0
Age
29
XP
178
Country
Italy
you can see the source directly from your browser.
but i will upload it on github, if it'll make you more comfortable :)

When do we need to check for big-endian?
i'm not sure i understood your question.
the reason of this it's just that i've seen lots of people confused about how to proceed and patch that file (namely because of [little] endianess, but mostly their not familiar with hex editors at all).
 
  • Like
Reactions: dave11674

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,376
Trophies
0
XP
2,764
Country
Colombia
does someone has the compile version of atmosphere to test it ? i only found decompile version on the github of scires m
you can see the source directly from your browser.
but i will upload it on github, if it'll make you more comfortable :)


i'm not sure i understood your question.
the reason of this it's just that i've seen lots of people confused about how to proceed and patch that file (namely because of [little] endianess, but mostly their not familiar with hex editors at all).
Is it possible to inject this method into the console ?, without the need for SD?
 

shabbypenguin

Well-Known Member
Newcomer
Joined
Apr 29, 2015
Messages
84
Trophies
0
Age
36
XP
403
Country
United States
Pinball fx3, the pinball arcade, Hulu, kitten squad, blazblue, octopath demo, fallout shelter, fortnite, Pokémon quest, stern pinball arcade.

those are the free games/applications on eshop.

hulu - 0100A66003384000
The Pinball Arcade- 0100cd300880E000
Fallout Shelter - 010043500A17A000
Octopath Demo - 010096000B3EA000
Kitten Squad - 01000C900A136000
Blazblue - 0100c6e00af2c000
Pinball FX3 - 0100DB7003828000
Pokemon Quest - 01005D100807A000
Stern Pinball Arcade - 0100AE0006474000
PaccMan VS - 0100BA3003B70000

There are the titleID's for those programs. perhaps eh community could take part in testing what ones load games up well and what games work with them.
 

leerpsp

Well-Known Member
Member
Joined
Feb 22, 2014
Messages
1,742
Trophies
0
Age
33
XP
1,871
Country
United States
HxD v2.0 is required here. v1.7.7 is the latest version listed on HxD's homepage.
Get v2.0 here


Video Tutorial:
https://streamable.com/77qas

Fortnite's TitleID:
010025400AECE000

Attempts for Backup Loading:
  • TARGET: Fortnite
    LOADING: Mario+Rabbids
    FIRMWARE: 5.1.0
    SAVES WORK: YES
    WORKING!
    jrYW6jN.png
  • TARGET: Fortnite
    LOADING: 1-2 Switch
    FIRMWARE: 5.1.0
    ERROR SCREEN!
  • TARGET: Splatoon 2
    LOADING: 1-2 Switch
    FIRMWARE: 5.1.0
    ERROR SCREEN!
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?
How do I get my .npdm from my .xci file? don't know what commend to use to do this using hactool. No one seems to be wanting to help others out at the moment on this. a video would help on this.
 

PRAGMA

Well-Known Member
OP
Member
Joined
Dec 29, 2015
Messages
2,258
Trophies
1
Location
Ireland
Website
github.com
XP
5,037
Country
Ireland
  • Like
Reactions: Sarwas and leerpsp

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Well start walking towards them +1