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 background process (and service) which Nintendo Switch's internal NFC (NFP) services to support virtual amiibo emulation.

For more detailed information, check emuiibo's GitHub repository: https://github.com/XorTroll/emuiibo
Releases: https://github.com/XorTroll/emuiibo/releases/latest

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

somethingcool

Member
Newcomer
Joined
Aug 28, 2017
Messages
8
Trophies
0
Age
60
XP
53
Country
United States
I have not done it my self but from what I can surmise you need a Wolf link.bin file , retail_key.bin and Amiitool.

You can use Amiitool with cmd and input :

Code:
amiitool -d -k key_retail.bin -i wolf_in.bin -o wolf_out.bin
dd if=wolf_out.bin of=0x1019C800.bin skip=220 count=216 bs=1

that will generate 0x1019C800.bin
copy 0x1019C800.bin into the folder of your wolf virtual amiibo.


dude ur the fuckn goat, went thru recovery email and everything to get back on this old ass account to thank u lmfao

--------------------- MERGED ---------------------------

To follow up, I attempted this using exactly the commands you posted, and it works! A few notes for anyone else who wants to try:

- I used dd for windows (0.6 beta3), and still had no issues
- The 0x1019C800.bin file goes in the amiibo areas sub-directory (as noted in emuiibo readme, this is where save data is stored). For example, I placed the file in 'sd\emuiibo\amiibo\The Legend of Zelda\Midna & Wolf - Link - 20 hearts\areas'
- I turned on amiibo emulation and selected the amiibo before launching the game

Thanks so much!
tks for the tip with DD i didn't know wut the hell it was lmfao
 
  • Like
Reactions: Broduskii

kylum

Well-Known Member
Member
Joined
Dec 8, 2008
Messages
393
Trophies
1
XP
1,402
Country
United States
@XorTroll does the latest Emuiibo work with atmos 0.14.1? I’ve been on HOS 9.1.0 for a long while and decided to fully update everything this weekend. Everything is working fully except Emuiibo, it crashes atmos. It could be me but wanted to confirm before starting over.
Setup:
Emummc on 10.1.0
Atmosphere 0.141
Fusee-primary
Latest fusee-primary patches


thanks in advance and your contribution to the scene!!

Edit: checked out your Discord and I see your working on this known issue. Thanks again!
 
Last edited by kylum,

DarknessPlay3r

Well-Known Member
Member
Joined
Jan 27, 2019
Messages
141
Trophies
0
Age
37
XP
1,703
Country
Canada
@XorTroll does the latest Emuiibo work with atmos 0.14.1? I’ve been on HOS 9.1.0 for a long while and decided to fully update everything this weekend. Everything is working fully except Emuiibo, it crashes atmos. It could be me but wanted to confirm before starting over.
Setup:
Emummc on 10.1.0
Atmosphere 0.141
Fusee-primary
Latest fusee-primary patches


thanks in advance and your contribution to the scene!!

Edit: checked out your Discord and I see your working on this known issue. Thanks again!
I wish I had found this a few hours ago. I thought for sure something was up on my end so I started to reload everything 1 by 1.

Might be worth noting on the current release that this isn't compatible with 0.14.1. I went to the release tab and saw "this is nothing more than a quick update in order to support latest CFW" and though, fuck it's gotta be me now what the hell did I do.

Never noticed the release date was a little bit before 0.14.1 came out...
 

kylum

Well-Known Member
Member
Joined
Dec 8, 2008
Messages
393
Trophies
1
XP
1,402
Country
United States
I wish I had found this a few hours ago. I thought for sure something was up on my end so I started to reload everything 1 by 1.

Might be worth noting on the current release that this isn't compatible with 0.14.1. I went to the release tab and saw "this is nothing more than a quick update in order to support latest CFW" and though, fuck it's gotta be me now what the hell did I do.

Never noticed the release date was a little bit before 0.14.1 came out...

If you really want Emuiibo and don’t feel like waiting for an update. It is my understanding (but don’t quote me on this) that Atmosphere 0.13.0 works on FW 10.1.0 and Emuiibo works on Atmosphere 0.13.0 so everything should work. I personally don’t use amiibos a whole lot so I can’t confirm since I’m gust going to wait for the update. Especially since my wife got me an Oculus Quest for my bday and I’ve been loggin hours on that. Switch hasn’t been touched for several days at this point!:mthr:
 
Last edited by kylum,

trial10

Member
Newcomer
Joined
Aug 18, 2020
Messages
6
Trophies
0
Age
42
XP
75
Country
United States
I have not done it my self but from what I can surmise you need a Wolf link.bin file , retail_key.bin and Amiitool.

You can use Amiitool with cmd and input :

Code:
amiitool -d -k key_retail.bin -i wolf_in.bin -o wolf_out.bin
dd if=wolf_out.bin of=0x1019C800.bin skip=220 count=216 bs=1

that will generate 0x1019C800.bin
copy 0x1019C800.bin into the folder of your wolf virtual amiibo.

To follow up, I attempted this using exactly the commands you posted, and it works! A few notes for anyone else who wants to try:

- I used dd for windows (0.6 beta3), and still had no issues
- The 0x1019C800.bin file goes in the amiibo areas sub-directory (as noted in emuiibo readme, this is where save data is stored). For example, I placed the file in 'sd\emuiibo\amiibo\The Legend of Zelda\Midna & Wolf - Link - 20 hearts\areas'
- I turned on amiibo emulation and selected the amiibo before launching the game

Thanks so much!

Is there a way to do this in Mac OS? I gather the dd thing is possible to do in terminal without installing anything. The GitHub itself mentions terminal, but I don't have any idea how to point terminal to use amiitool. How do I that?

Update: I cloned the git using this code
Code:
git clone [url of the amiitool from github]
, but terminal spits out
Code:
-bash: amiitool: command not found


Found out Emuiibo v0.5.1 only works with Atmosphere v0.13.0 (probably lower ones too). It crashes Atmosphere v0.14.0 & onwards.
 
Last edited by trial10,

Krude

Well-Known Member
Member
Joined
May 18, 2013
Messages
344
Trophies
0
XP
1,198
Country
Gambia, The
I think this needs an update.
Since i got onto FW 10.0.2 and Atmo 0.14.4, I've had problems with some unrelated homebrew crashing in weird circumstances, and i can't start BotW at all anymore. I get stuck on an endless loading screen with the animated Nintendo Switch logo in the lower right.
Both of these issues go away once i delete emuiibo, and return if i put it back on.
 

JonJaded

Well-Known Member
Member
Joined
May 22, 2016
Messages
625
Trophies
0
XP
2,365
Country
United States
I think this needs an update.
Since i got onto FW 10.0.2 and Atmo 0.14.4, I've had problems with some unrelated homebrew crashing in weird circumstances, and i can't start BotW at all anymore. I get stuck on an endless loading screen with the animated Nintendo Switch logo in the lower right.
Both of these issues go away once i delete emuiibo, and return if i put it back on.

Yes its dead you need an update but i wouldnt hold my breath i dont think the dev cares much anymore

There's a beta currently availible on the discord that seems to work just fine.
 

XorTroll

Switching between my 2DS and my Switch
OP
Developer
Joined
Dec 28, 2017
Messages
637
Trophies
1
Location
Nowhere
Website
github.com
XP
4,136
Country
Spain
emuiibo v0.6 is out - it started as a really ambitious idea, but it's a thing now: emuiibo has been fully ported to Rust! check the changelog for more detailed information about all the improvements on this rewrite ;)

Go check it out! https://github.com/XorTroll/emuiibo/releases/tag/0.6
 

DarknessPlay3r

Well-Known Member
Member
Joined
Jan 27, 2019
Messages
141
Trophies
0
Age
37
XP
1,703
Country
Canada

Flocki1987

Active Member
Newcomer
Joined
Nov 14, 2018
Messages
30
Trophies
0
Age
33
XP
368
Country
Germany
emuiibo v0.6 is out - it started as a really ambitious idea, but it's a thing now: emuiibo has been fully ported to Rust! check the changelog for more detailed information about all the improvements on this rewrite ;)

Go check it out! https://github.com/XorTroll/emuiibo/releases/tag/0.6

Thank you so much for the hard work! No crashes on the latest Atmos version so far....unfortunately it doesn't work on Link's Awakening. Nothing happened when I connect/disconnect any Amiibo. Overlay is saying "Current game is intercepted by emuiibo" so I guess that it should work but it doesn't :/ Can anyone else confirm this?

Edit:
Nvm - it does work. I tried it again and now it is working flawlessly!
 
Last edited by Flocki1987,

thaikhoa

Well-Known Member
Member
Joined
Sep 16, 2008
Messages
2,227
Trophies
0
XP
2,525
Country
Australia
Kirby doesnt work at all, pro controller > no amiibo function detected :rofl:
"Current game is intercepted by emuiibo"
IMG_20200927_191258.jpg
IMG_20200927_191312.jpg
 
Last edited by thaikhoa,
General chit-chat
Help Users
  • Skelletonike @ Skelletonike:
    link doesn't work
    +2
  • Skelletonike @ Skelletonike:
    1H left, such a slow week.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Okay, I had spaghetti :P
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
    K3N1 @ K3N1: Your favorite activity