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,484
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
173
Trophies
0
Age
38
XP
2,158
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,484
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
150
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,208
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
684
Trophies
0
XP
3,031
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
643
Trophies
1
Location
Nowhere
Website
github.com
XP
4,271
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
173
Trophies
0
Age
38
XP
2,158
Country
Canada

Flocki1987

Active Member
Newcomer
Joined
Nov 14, 2018
Messages
31
Trophies
0
Age
34
XP
390
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:
    @AcuteBulbasaurappears, A cute bulbasaur appears. :D
    +2
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, The Wii U gamepads are tied to the console's region, so its impossible to find a cheap gamepad that supports your model.
  • SylverReZ @ SylverReZ:
    Unless you modify your system, of course, and remove the region check.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, im now by episode 8 of lain
  • S @ salazarcosplay:
    @Xdqwerty can we discuss chrono trigger
  • S @ salazarcosplay:
    @Xdqwerty I like how the game had the middle ages 1000AD, the dark ages 600AD.It was great seeing the post robot apocalypse 2300 like Terminator and enter the matrix. some of mad max and fallout. 2300ad though it could had used more elements instead of just a generic ai uprising. It was a great idea for their judgement day to be 1999 Y2K.

    -great additions if they would have made an expansion or dlc in my opinion would be finding out humans trapped in a matrix -

    a follower having a cyborg character living tissue over metal endoskelleton like terminator, and the synths from fallout
  • S @ salazarcosplay:
    4After Zeal fell it would have been good to see more ancient eras. Perhaps Sumeria based in one area, then Egypt based in another area, Greek based in another area, then roman based in another area before the middle ages.---------

    ----between 1000ad and 1999 is a big gap they should have had the age of revolution like the american and French Revolution

    then the cowboyy era in one area of map and the Industrial revolution/age of enlightmentthen a ww1 and ww2 and a cold war era
  • S @ salazarcosplay:
    they could have added 75,000 bc like assassins creed. zeal was already establish in 12, 000 bc , soething before the kindom rose
  • S @ salazarcosplay:
    @Xdqwerty they could also add age of dscover, colonialism ect
    +1
  • S @ salazarcosplay:
    renaissance
  • S @ salazarcosplay:
    @Xdqwerty what did you think
  • S @ salazarcosplay:
    @Xdqwerty I think glenn (the frog) after becomming human had an affair with the queen
  • S @ salazarcosplay:
    so he is the great great great great grandfather of marle @Xdqwerty
  • S @ salazarcosplay:
    they made it like Lancelot from king arthur legends
  • BakerMan @ BakerMan:
    just found out i'm now taller than my dad
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, sorry i was busy
  • S @ salazarcosplay:
    @Xdqwerty thats completely fine
    +1
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay,
    the ds version added a secret boss reference to chrono cross
  • S @ salazarcosplay:
    @Xdqwerty did you finish watching naruto shippuden and Boruto
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, i havent even started lol
  • Xdqwerty @ Xdqwerty:
    anyone here?
  • K3Nv2 @ K3Nv2:
    Yawn
    K3Nv2 @ K3Nv2: Yawn