How to make a file based emunand for Atmosphere.

Discussion in 'Switch - Tutorials' started by mrdude, Jun 25, 2019.

  1. mrdude
    OP

    mrdude GBAtemp Advanced Fan

    Member
    6
    Dec 11, 2015
    1: Dump your Switch Boot0 & Boot1 files.
    2: Dump your Nand - if you don't already have a working dump.
    3: If you have a large RAWNAND.BIN (32GB), dump - split with the attached ddrelease64.exe/split.bat files.
    4: Create a folder called eMMC
    5: Move split files Boot0,Boot1,00,01,02,03,04,05,06,07 to the eMMc folder that you created.
    6: Make a folder on your MicoSD card called: EmuMMC
    7: Copy/Move the eMMC folder into the EmuMMC folder.
    8: Create the folowing file using a text editor: emummc.ini

    emummc.ini - should look like this: (Since Atmosphere 0.9.2)

    [emummc]
    enabled = 1
    path = EmuMMC
    nintendo_path = Nintendo-emu

    9: In Atmosphere folder - rename titles folder to titles.bak (rename afterwards once the nand dump is confirmed to boot).

    That's All folks - file based nand dumps take longer to load that partition based emunand - so wait a few minutes for the nand to boot properly.

    See pics for folder structure:
    [​IMG]
    [​IMG]
     

    Attached Files:

    Last edited by mrdude, Jun 30, 2019
    lordelan, proffk and linuxares like this.
  2. m4xw

    m4xw Ancient Deity

    Member
    15
    May 25, 2018
    Germany
    Please note that file-based emuMMC currently needs latest atmosphere (master, 0.9.1 doesn't work).
    Also it currently has major performance issues (will be worked on after the SD compatibility issue).
    It's not advised to use file based in any way currently, until it's out of the experimental phase.

    "emummc_nintendo_path = Nintendo" <- don't do that.
    Either don't set it (it will automatically create a new Nintendo folder for the emu) or create a copy of your Nintendo folder

    Don't use the same folder!
     
    Last edited by m4xw, Jun 25, 2019
    Marax, tabzer, Specced9 and 3 others like this.
  3. annson24

    annson24 The Patient One

    Member
    7
    May 5, 2016
    Philippines
    It would be great if we could also shrink the user partition.
     
  4. mrdude
    OP

    mrdude GBAtemp Advanced Fan

    Member
    6
    Dec 11, 2015
    You can if your modify the GPT (partition table) - but that will mess with your nand dump, so best just leaving it alone.
     
  5. azoreseuropa

    azoreseuropa GBAtemp Guru

    Member
    11
    Nov 6, 2002
    United States
    Azores/Portugal
    This need to be edit because according to m4xw to avoid the confusion.
     
    Specced9 likes this.
  6. annson24

    annson24 The Patient One

    Member
    7
    May 5, 2016
    Philippines
    Well of course I wouldn't use my one and only nand dump as emunand.

    Sent from my SM-N960F using Tapatalk
     
  7. azoreseuropa

    azoreseuropa GBAtemp Guru

    Member
    11
    Nov 6, 2002
    United States
    Azores/Portugal
  8. TariqSoftDev

    TariqSoftDev ~Zexceil

    Member
    4
    Sep 18, 2013
    London
    Even though I'm OP of the first one; I'd say use the first one since it explains more stuff and I keep it up to date with the current news; I didn't add file based since it's far too experimental, slow and funky right now; the other one doesn't stay up to date with everything.
     
  9. azoreseuropa

    azoreseuropa GBAtemp Guru

    Member
    11
    Nov 6, 2002
    United States
    Azores/Portugal
    So this one is ok but first link I posted is even better and more safe ?
     
  10. TariqSoftDev

    TariqSoftDev ~Zexceil

    Member
    4
    Sep 18, 2013
    London
    So the first link explains properly how to setup partition based EmuMMC, it also keeps up to date with everything whereas the second doesn't;

    As for this one, do not use file based due to the following:
    • File based is very unstable.
    • Alot of it's kinks have not been worked out.
    • Fat32 means split files and slow speeds.
    • exFAT means it's very easy that you'll end up with a corrupt SD card.
    • File based as a whole is very experimental and will be worked on after the SD issues are fixed.
    From that info you should follow the first link
     
  11. azoreseuropa

    azoreseuropa GBAtemp Guru

    Member
    11
    Nov 6, 2002
    United States
    Azores/Portugal
    I understand so if I want to wait then this easy one will be stable and can be use ?
     
  12. Xen0

    Xen0 GBAtemp Fan

    Member
    5
    Oct 8, 2015
    Germany
    Basically yes. But it can still take anywhere between weeks to months.
     
  13. azoreseuropa

    azoreseuropa GBAtemp Guru

    Member
    11
    Nov 6, 2002
    United States
    Azores/Portugal
    I understand. I have a clean NAND dump before CFW so I am not in the hurry then. :)
     
  14. Phenj

    Phenj GBAtemp Fan

    Member
    6
    May 22, 2018
    Italy
    Just wondering, what happens if you use the same folder for both NANDs?
     
  15. lordelan

    lordelan GBAtemp Psycho!

    Member
    11
    Jan 4, 2015
    Germany
    If you're working on it and that might be fixable I'll wait patiently for a matured file based emuMMC instead of creating the partitioned one. Thx for your work (once again).
     
  16. m4xw

    m4xw Ancient Deity

    Member
    15
    May 25, 2018
    Germany
    partition based is recommended, it's more safe and will always be faster
     
  17. lordelan

    lordelan GBAtemp Psycho!

    Member
    11
    Jan 4, 2015
    Germany
    I see. Hope it doesn't bite itself with a Linux partition for L4T. :)
     
  18. TariqSoftDev

    TariqSoftDev ~Zexceil

    Member
    4
    Sep 18, 2013
    London
    I use it with a L4T Ubuntu partiton alongside Lakka too, all works fine.
     
    tabzer likes this.
  19. mrdude
    OP

    mrdude GBAtemp Advanced Fan

    Member
    6
    Dec 11, 2015
    A file based emunand is good for testing that you have a good working nand dump. Also you can manually create a clean nand and then test it's working properly, before flashing to your switch. You can then flash your clean/tested nand back to a partition on your MicroSD card if you want to go online with a clean system.
     
    Muxi and lordelan like this.
  20. TariqSoftDev

    TariqSoftDev ~Zexceil

    Member
    4
    Sep 18, 2013
    London
    It's not good for testing because it's in a more WIP state than partition based and you cannot create a clean NAND, yes you can clean logs, remove any trace NSPS and etc was used but Nintendo server check their logs on your console against the console local logs; what do you would happen if suddenly a bunch of peoples logs didn't match up?, ban wave? most likely yes; best not to touch your logs and etc, if you've lost your original clean NAND then bad luck.
     
Loading...