How to use LayeredFS for Backup Loading + What Games Work/Don't

Discussion in 'Switch - Tutorials' started by PRAGMA, Jun 15, 2018.

  1. PRAGMA
    OP

    PRAGMA GBAtemp Advanced Maniac

    Member
    11
    Dec 29, 2015
    Ireland
    127.0.0.1
    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.


    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!

    [​IMG]


      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. 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
    Stern Pinball Arcade0100AE0006474000
    PaccMan VS0100BA3003B70000
    Pokémon Quest01005D100807A000
    Pic-a-Pix Deluxe Demo01006E30099B8000
    PixelJunk Monsters 2 Demo01004AF00A772000


    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.

    https://impragma.github.io/LFSDB/


    Adding to List

    Go to lfsdb.com/contribute :)
     
    Last edited by PRAGMA, Jun 30, 2018
  2. [S]aber

    [S]aber Advanced Member

    Newcomer
    3
    Jul 14, 2007
    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.
     
  3. PRAGMA
    OP

    PRAGMA GBAtemp Advanced Maniac

    Member
    11
    Dec 29, 2015
    Ireland
    127.0.0.1
    I updated stuff :)
     
  4. shabbypenguin

    shabbypenguin Advanced Member

    Newcomer
    3
    Apr 29, 2015
    United States
    got just dance 2018 working with fortnite, and kirby star allies on pokemon quest. chances are "free" games are what we need vs demos.
     
    Yoni Arousement likes this.
  5. dovah

    dovah Member

    Newcomer
    2
    Jun 9, 2018
    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, Jun 16, 2018
  6. Ghost92

    Ghost92 GBAtemp Fan

    Member
    4
    Jun 29, 2017
    Colombia
    source
     
  7. Type_O_Dev

    Type_O_Dev GBAtemp Advanced Fan

    Member
    6
    Dec 12, 2017
    United States
    right click
     
    c80, Irastris and syntaxyz like this.
  8. PRAGMA
    OP

    PRAGMA GBAtemp Advanced Maniac

    Member
    11
    Dec 29, 2015
    Ireland
    127.0.0.1
    When do we need to check for big-endian?
     
  9. scionae

    scionae *clicking circles*

    Member
    4
    Dec 28, 2016
    Italy
    Fallout Shelter loading The Binding of Isaac :yay:
     
    hippy dave and Volcanion like this.
  10. VIDOKS

    VIDOKS Member

    Newcomer
    1
    Jun 15, 2018
    France
    does someone has the compile version of atmosphere to test it ? i only found decompile version on the github of scires m
     
  11. dovah

    dovah Member

    Newcomer
    2
    Jun 9, 2018
    Italy
    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).
     
    dave11674 likes this.
  12. Ghost92

    Ghost92 GBAtemp Fan

    Member
    4
    Jun 29, 2017
    Colombia
    Is it possible to inject this method into the console ?, without the need for SD?
     
  13. VIDOKS

    VIDOKS Member

    Newcomer
    1
    Jun 15, 2018
    France
    someone have a compiled version ? or anything ? :)
     
  14. shabbypenguin

    shabbypenguin Advanced Member

    Newcomer
    3
    Apr 29, 2015
    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.
     
  15. simbin

    simbin GBAtemp Regular

    Member
    2
    Jul 28, 2015
    United States
    does it matter if donor games are loaded to internal Nand storage?
     
  16. Ghost92

    Ghost92 GBAtemp Fan

    Member
    4
    Jun 29, 2017
    Colombia
    The Resident Evil 7 game can be played full?
     
  17. leerpsp

    leerpsp GBAtemp Advanced Maniac

    Member
    6
    Feb 22, 2014
    United States
    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.
     
  18. PRAGMA
    OP

    PRAGMA GBAtemp Advanced Maniac

    Member
    11
    Dec 29, 2015
    Ireland
    127.0.0.1
    Sarwas and leerpsp like this.
  19. PRAGMA
    OP

    PRAGMA GBAtemp Advanced Maniac

    Member
    11
    Dec 29, 2015
    Ireland
    127.0.0.1
    Kirby Star Allies confirmed working
     
  20. Melon__Bread

    Melon__Bread ~It's A Magik~

    Member
    6
    Dec 9, 2013
    United States
    Dragon Quest Builders works using Fallout Shelter as base. Have not tried saving yet
     
    ElyosOfTheAbyss likes this.
Loading...