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,

somethingcool

Member
Newcomer
Joined
Aug 28, 2017
Messages
8
Trophies
0
Age
61
XP
63
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
394
Trophies
1
XP
1,479
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
172
Trophies
0
Age
38
XP
2,100
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
394
Trophies
1
XP
1,479
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
8
Trophies
0
Age
43
XP
145
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
675
Trophies
0
XP
2,930
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
642
Trophies
1
Location
Nowhere
Website
github.com
XP
4,229
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
172
Trophies
0
Age
38
XP
2,100
Country
Canada

Flocki1987

Active Member
Newcomer
Joined
Nov 14, 2018
Messages
31
Trophies
0
Age
34
XP
387
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,236
Trophies
1
XP
2,590
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,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @salazarcosplay, I'm good. Thanks.