Discussion Open Source emunand very soon!

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by iriez, May 6, 2019.

  1. djluis49

    djluis49 Member

    Newcomer
    1
    Sep 6, 2017
    Dominican Republic
    Not sure Nintendo appreciate Homebrew at all...but i guess if you had to choose, the one that its not making a profit from homebrew is a little better to let hanging aroung lol
     
  2. metaljay

    metaljay GBAtemp Fan

    Member
    6
    Jan 10, 2012
    Are you able to give an update on how you are getting on? Not asking for a when, just wanted to understand what works/ doesn’t work
     
  3. m4xw

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    Still need to research ~22 different FS versions and port/implement emuMMC for them.
    hexkyz is working on the fusee implementation, CTCaer and me are doing the implementation for hekate.
    Been using it since a month now and no bugs other than it doesn't fully shut down (works on fatal tho), but thats a simple fix.
    Currently it has some Issues for fw >= 7.x tho, which we are investigating, probably simple fix once the culprit is found.
    Also still need to redirect the mmc partition switch, so on update it wont fuck with boot0/1 or corrupt the emuNAND.
     
  4. Nerdtendo

    Nerdtendo Your friendly neighborhood idiot

    Member
    8
    Sep 29, 2016
    United States
    In reality, the logistic reason I got banned was because I mentioned SXOS. The instaban rule is "don't even mention SXOS". Honestly, I hated having to even get help on that thing because there were definitely a lot of self righteous and "holier than thou" . As for the "don't mention the S word" rule

    Anyway, I didn't mean to derail, I won't mention it anymore because it's not the topic on hand. M4xw and especially the other, lesser known members of the retronx team do a lot of great work. Unfortunately, the community left a rotten taste in my mouth that still lingers
     
  5. metaljay

    metaljay GBAtemp Fan

    Member
    6
    Jan 10, 2012
    Is there no value in getting an alpha emunand out for pre 7.0 FW (which I think every current game supports) that way people can begin submitting big bug reports sooner, and begin stress testing.
    Block the ability to update emunand whilst you work on more advanced features so you can control the group.

    or do what you want, its your baby haha.
    just wanted to play around with a beta whilst we wait for new bigger games such as super Mario maker 2.
    great work :)
     
  6. m4xw

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    Currently the setup still involves manually recompiling the code with sector offsets, flashing it via dd.
    That will cause to all kinds of issues with the public.
    Also code injection currently still hard-patches FS and I can't share simple patches for it (diffs would contain half of FS, lol)
    All these parts will later be automatically handled by hekate and fusee, ofc no more recompiling, on the fly code injection (aka ez enhancements to existing services ), there will be a storage for the bootloader to tell emuMMC where everything is etc.
     
    Last edited by m4xw, May 21, 2019
    kevandkkim, hausa51, Budsixz and 6 others like this.
  7. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    Thanks for the updates, sounding great.
     
  8. metaljay

    metaljay GBAtemp Fan

    Member
    6
    Jan 10, 2012
    Is there anywhere we can follow your progress? Not asking for a when/eta, just love reading about this stuff.
     
    Specced9 likes this.
  9. m4xw

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    Dev happens in private, so no.
    However I can answer questions you have.
     
    Specced9 likes this.
  10. metaljay

    metaljay GBAtemp Fan

    Member
    6
    Jan 10, 2012
    Well seeing as you offered haha :P
    1. what sort of size are you currently looking at for the emuNAND?
    2. Are you partitioning the SD card or just having multiple folder structures?
    2.a if you aren't partitioning, could this present a risk if nintendo decide to scan SD cards? or is that opening a can of worms
    3. Any speed reductions/improvements running from an SD card?
    4. Can you use game carts within emunand? (not asking about loading XCI)
    4a. what about the firmware of the game cart? as last i checked this still hadn't been opened up
    5. I saw you mentioned on twitter that your primary use case is for SYSnand to be up to date and Emu for anything else, How will online (home-brew apps) work with this?

    looking forward to seeing this in action!!
     
  11. m4xw

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    1. ~30GB, sizeof(rawnand.bin) + 8MB
    However in the future this will be customizable.

    2. Both, actually. I didn't set up file-based yet, so currently everything still runs from my 2nd partition. Fwiw we will support multi-emuMMC setup, also the atmosphere installations will be separated.
    2.a. For file-based we will use hekates filesystem driver (FATfs), so that will not cause corruption, homebrew that uses the SD too on the other hand...

    3. Speed is slower when running from SD (need to lock both the NAND & SD mutexes), normally NAND / SD would be able to run in parallel.
    BUT, when using emuMMC to just boot sysNAND, there is a little speed-boost.

    4. Yes, I just forward it to FS, so for GC it uses ninties code.
    4.a. I played with the Idea of emuGC, which would be a compatibility wrapper for the ASIC, also this wouldn't enable XCI. But this Idea so far is hot air.

    5. Dunno what you mean. It will behave as always /shrug
     
    Garou, metaljay and ModderFokker619 like this.
  12. Sumandora

    Sumandora Im using Parental Controls. Change my Mind!

    Member
    4
    Nov 13, 2018
    Germany
    XCI loading is EmuGC -.-
     
  13. Dave_Chad

    Dave_Chad GBAtemp Advanced Fan

    Member
    7
    Jun 29, 2016
    Great update. On point 5 i think he means will online enabled homebrew still work in an emunand environment? Or is that too risky as it would be detectable when connected thus negating the need for emunand?
     
  14. m4xw

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    Kek, XCI loading couldn't be further from emuGC.
    They don't even emulate the controller, it's so cheaply done, it's a complete joke.
    Anyway emuGC would be a compatibility layer to make the newer ASIC fw work on lower Horizon versions.
    You still need to own the cart, physically.

    Same rules as on sysNAND apply.
    Will see what we can come up with.
     
  15. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    Just like the rest of sxos :smugpepe:
     
  16. m4xw

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    I would go into detail but that gives too much away... It's that simple.

    — Posts automatically merged - Please don't double post! —

    I should add tho, if you are low ver sysNAND, it WILL update your Cart reader.
     
    RyuSeisuke1992 likes this.
  17. RyuSeisuke1992

    RyuSeisuke1992 GBAtemp Regular

    Member
    6
    Mar 24, 2018
    Germany
    the XCI Mounter would still be a nice addition to the other Atmo features.
    I know it's 90 percent piracy, but the real incentive to develop such a backup loader would be to keep so many people from buying a SX OS license...
     
  18. m4xw

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    That option is not on the table. :/
     
  19. Draxzelex

    Draxzelex GBAtemp Legend

    Member
    18
    Aug 6, 2017
    United States
    New York City
    Well if we can ask questions, will we be able to mount EmuNAND from an HDD drive or would we have to wait until Atmosphere implements USB drive support first?
     
  20. m4xw

    m4xw Ancient Deity

    pip Developer
    16
    May 25, 2018
    Germany
    Neither.
    The USB title isn't even started that early into the boot process, so it would need a low level implementation and killing the usb services.
     
    Draxzelex likes this.
Quick Reply
Draft saved Draft deleted
Loading...