emuiibo - MitM'ing NFP services for Amiibo emulation

Hi everyone!

I noticed there was a project called switch-nfp-mitm, which had lots of forks, but none of them properly working (people reported it barely worked, and with some games), thus I decided to try to fix it, or to improve it as much as I could. Well, the results were that good, that I've just managed to get it working perfectly, even with a nice system of combos for Amiibo swapping, in just 2 days.

So, well, here's the result:


emuiibo

emuiibo is a virtual amiibo (amiibo emulation) system for Nintendo Switch!

It consists on a background process (and service), which intercepts Nintendo Switch's internal NFC/NFP services to support virtual amiibo emulation, plus an overlay to easily control it.



Have fun playing around with custom virtual amiibos!
 
Last edited by XorTroll,

XorTroll

Switching between my 2DS and my Switch
OP
Developer
Joined
Dec 28, 2017
Messages
642
Trophies
1
Location
Nowhere
Website
github.com
XP
4,229
Country
Spain
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
 

JonJaded

Well-Known Member
Member
Joined
May 22, 2016
Messages
675
Trophies
0
XP
2,930
Country
United States
  • 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

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 JonJaded,
  • Like
Reactions: AD2076

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,787
Trophies
1
Age
44
XP
6,517
Country
Germany
@XorTroll
Amazing update! The new features turned me from "Interesting, might try it someday" to "Sh*t, now we talk!"
banana.gif


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. :)
 

XorTroll

Switching between my 2DS and my Switch
OP
Developer
Joined
Dec 28, 2017
Messages
642
Trophies
1
Location
Nowhere
Website
github.com
XP
4,229
Country
Spain
@XorTroll
Amazing update! The new features turned me from "Interesting, might try it someday" to "Sh*t, now we talk!"
banana.gif


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. :)
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.
 
  • Like
Reactions: lordelan

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,787
Trophies
1
Age
44
XP
6,517
Country
Germany
1 - I wish it was possible, but not currently. Sysmodules are super limited, yknow.
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. :)

2 - If you mean writing an amiibo to a real one, I might look into that.

This:
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

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. :)
 

GnK23

Well-Known Member
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
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
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/WOppJ92RgGU?si=KE79L6A_3jESsGQM