RELEASE emuiibo - MitM'ing NFP services for Amiibo emulation

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by XorTroll, Apr 17, 2019.

  1. Tomo1

    Tomo1 Newbie

    Newcomer
    1
    May 7, 2019
    Canada
    Ah. That explains it. Thanks!
     
  2. XorTroll
    OP

    XorTroll Dev: Goldleaf, emuiibo, Brew.js...

    Member
    11
    Dec 28, 2017
    Spain
    Nowhere
    Hi everyone... time for a new release ;)
    emuiibo 0.2 is finally ready!

    Changelog
    • Amiibo progress saving support
      • Games like SSBU allow saving their progress on amiibos. Now this is supported by redirecting savedata to files inside amiibo's "areas" directory.

      • This, in fact, provides another advantage, as real amiibos just allow savedata for one title, while this system allows to have multiple saves.
    • Amiibo system changed
      • First of all, don't worry. All amiibo BIN files found in emuiibo dir will be auto-converted to the new system.

      • The new system has every amiibo in a different directory, which contains the amiibo ("amiibo.bin"), a JSON metadata file ("amiibo.json"), an "areas" directory (see above) and a mii char-info copy ("mii.dat").

      • On this system everything can be customized. In order to change miis you would need the char-info data, which is stored inside the console. To help with this, emuiibo will dump all console miis inside "miis" directory in emuiibo dir, named with the index + mii name (example: "0-XorTroll.dat"). To use it, copy to the amiibo dir and name it as "mii.dat".

      • An interesting option can be added to the JSON ("randomizeUuid" boolean), which makes emuiibo randomize the amiibo UUID. Having this means special circumstances in certain games, like being recognized as a different amiibo each time in BotW, hence infinite supply.

      • IMPORTANT! After using 0.2, since the old system gets changed to the new one, 0.1 won't find any amiibos as they're not on the root dir now. Thus, avoid using 0.1 after using 0.2.
    • HOME button LED blink (7.x+, sadly)
      • On firmwares on 7.x or higher, performing a combo makes the HOME button blink, which is a simple and nice system to signal that a combo has been performed. Not supported on previous versions for technical limitations.
    • nfp:emu service changed, with new commands
    Also, a remainder that the next Goldleaf version (0.6) is going to have emuiibo support, featuring real amiibo dumping to emuiibo-style and more!

    Go check it here: https://github.com/XorTroll/emuiibo/releases/tag/0.2
     
  3. naddel81

    naddel81 GBAtemp Addict

    Member
    7
    Dec 14, 2009
    United States
    thanks for that release. I just wanted to start with emuiibo. do I need amiiswap or something, too?
     
  4. NEO-BAHAMUT-

    NEO-BAHAMUT- GBAtemp Regular

    Member
    3
    May 22, 2013
    Does this work on SX OS?

    If not then are there any plans on getting it working?
     
  5. FuryBaguette

    FuryBaguette Member

    Newcomer
    3
    Jan 6, 2019
    France
    AmiiSwap is not needed, it's just a GUI to switch amiibos. You can use the emuiibo combo to switch between them
     
  6. timewolf

    timewolf Newbie

    Newcomer
    1
    Nov 4, 2006
    Italy
    Atmosphere 0.8.9 + FW 8.0.1 crash
    Error code 2168-0002 (0x4a8)
     
  7. designgears

    designgears GBAtemp Regular

    Member
    3
    Aug 8, 2016
    United States
    It isn't a matter of getting it to work on sx os.
    Sxos doesn't support user system modules, talk to them if you want to use stuff like this or switch to a better cfw.

    Edit: it does support them, they just don't allow it.
     
    NEO-BAHAMUT- likes this.
  8. timewolf

    timewolf Newbie

    Newcomer
    1
    Nov 4, 2006
    Italy
    with Reinx works fine :)
     
  9. RattletraPM

    RattletraPM GBATemp's official 蒸気イーブイ

    pip Reporter
    13
    Jan 18, 2017
    Italy
    Shinjuku Station
    I had the exact same problem. As it turns out, it happens if you don't have an emuiibo folder on the root of your SD card.
    To fix it, simply create that folder and reboot.
     
    wicksand420 and cucholix like this.
  10. timewolf

    timewolf Newbie

    Newcomer
    1
    Nov 4, 2006
    Italy
    u'r right, fixed :)

    grazie
     
    RattletraPM likes this.
  11. Jonhy

    Jonhy GBAtemp Regular

    Member
    3
    May 22, 2016
    United States
    You're just styling on us now, huh? This is such a nice touch, you have absolutely no idea. Thanks for all the hard work!

    EDIT: 2003-0008 error, over and over.

    Edit2: IT was ldn_mitm. I deleted the 4200000000000010 title folder (ldn_mitm) and on the next boot, the 0100000000001000 atmosphere boot error was resolved.

    Edit3: So yeah don't turn on emuiibo and ldn_mitm in Kosmos toolbox at the same time or else you'll have to delete one of the titles, disable the sysmodule and reinstall the other. There might be other sysmodules that may conflict but I really don't want to find out.
     
    Last edited by Jonhy, May 10, 2019
    AD2076 likes this.
  12. lordelan

    lordelan GBAtemp Psycho!

    Member
    11
    Jan 4, 2015
    Germany
    @XorTroll
    Amazing update! The new features turned me from "Interesting, might try it someday" to "Sh*t, now we talk!" [​IMG]

    Two questions that might care others as well:
    1. Is it possible to show on screen notifications by services?
      You know, like in RetroArch where it writes something like "Controller #2 connected" or "Achievement unlocked" while playing. Guess that's rather an Atmosphère question in general but I'm sure you already thought about that and figured I might ask you this.
    2. Could you imagine it would ever be possible to not just emulate them on the Switch but also "send" the NFC information through the right Joy-Con or Pro Controller so I can use an Amiibo I have stored on my Switch's SD card on the Wii U or 3DS?
      Finally that would be the Amiibo emulator everyone was hoping for to be available for Android at some point and it would be freakin' awesome if our Switch consoles could step into that gap. :)
     
  13. XorTroll
    OP

    XorTroll Dev: Goldleaf, emuiibo, Brew.js...

    Member
    11
    Dec 28, 2017
    Spain
    Nowhere
    1 - I wish it was possible, but not currently. Sysmodules are super limited, yknow.

    2 - If you mean writing an amiibo to a real one, I might look into that.
     
    lordelan likes this.
  14. AD2076

    AD2076 Advanced Member

    Newcomer
    2
    Feb 19, 2019
    Italy
    I guess he'd like to use the joycon as an emulated amiibo and have it read by other systems. Turn the Switch into something similar to N2 Elite
     
    Last edited by AD2076, May 10, 2019
  15. lordelan

    lordelan GBAtemp Psycho!

    Member
    11
    Jan 4, 2015
    Germany
    I see. That's what I assumed. However I forgot about the existence of AmiiSwap which should be usable over the HBmenu from the album applet while a game is still running so that's fine. :)

    This:
    Holding my right Joy-Con (as that's the one with the NFC chip) onto the Wii U GamePad to read an Amiibo from my Switch's SD card there. That would be really awesome! :)
    And if that happens, I can really give up on my complete NTAG215 collection and keep all my Amiibo on my Switch digitally forever. :)
     
  16. GnK23

    GnK23 Member

    Newcomer
    2
    Apr 6, 2016
    United States
    How do you setup the JSON file with the "randomizeUuid"? my game kept on crashing whenever I use it. I just pasted the "randomizeuuid" at the end of the script
     
  17. AD2076

    AD2076 Advanced Member

    Newcomer
    2
    Feb 19, 2019
    Italy
    add the following line below the first {
    "randomizeUuid" : true,
     
    XorTroll and lordelan like this.
  18. GnK23

    GnK23 Member

    Newcomer
    2
    Apr 6, 2016
    United States
    Thank you!
     
  19. yoshimashi

    yoshimashi GBAtemp Regular

    Member
    2
    Mar 7, 2016
    United States
    I added this line to the nfpemu.c file but the amiibos aren't randomizing the ids. Did I add it to the wrong file?
     
  20. AD2076

    AD2076 Advanced Member

    Newcomer
    2
    Feb 19, 2019
    Italy
    amiibo.json is the file you are looking for. You'll find one in each amiibo folder
     
    lordelan likes this.
Loading...