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,

wartutor

Well-Known Member
Member
Joined
Dec 25, 2012
Messages
759
Trophies
1
Age
45
XP
2,397
Country
United States
Works great here using atmosphere 0.8.7 and using amiiswap along with this is awesome. Thx @XorTroll for the great release and awesome job. Also thanks to @FuryBaguette for the simple gui to select the needed amiibo's easily. Using your program is it possible to put the .bins into seperate folders inside the sd://emuiibo directory to seperate them and make it easier to find the desired amiibo? I know im asking alot . Keep up with the great work the switch scene is getting better by the day.

Edit.. Also it may help people if someone added the link to amiiswap to the topic instead of it 1st being mentioned on page 2 before repeated over and over again because people dont read every post. Only reason i knew it was there is i was reading about it at work and seen it then lmao.
 
Last edited by wartutor,

FuryBaguette

Well-Known Member
Newcomer
Joined
Jan 6, 2019
Messages
57
Trophies
0
Age
27
XP
541
Country
France
Works great here using atmosphere 0.8.7 and using amiiswap along with this is awesome. Thx @XorTroll for the great release and awesome job. Also thanks to @FuryBaguette for the simple gui to select the needed amiibo's easily. Using your program is it possible to put the .bins into seperate folders inside the sd://emuiibo directory to seperate them and make it easier to find the desired amiibo? I know im asking alot . Keep up with the great work the switch scene is getting better by the day.

Edit.. Also it may help people if someone added the link to amiiswap to the topic instead of it 1st being mentioned on page 2 before repeated over and over again because people dont read every post. Only reason i knew it was there is i was reading about it at work and seen it then lmao.
Thanks ! The folder thing is a planned feature for next release
 
  • Like
Reactions: wartutor

JonJaded

Well-Known Member
Member
Joined
May 22, 2016
Messages
679
Trophies
0
XP
2,940
Country
United States
Welp, input is broken completely (turning on or off is not a thing, seems to be always on) and it does not work with BotW

It does work with Breath of the Wild, you just need to do the selection and activation before you even start up the game.

Might be a memory limitation, no other game has that issue.
 
  • Like
Reactions: AD2076 and 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,257
Country
Spain
It does work with Breath of the Wild, you just need to do the selection and activation before you even start up the game.

Might be a memory limitation, no other game has that issue.
No memory limitation, just how does the game use actual nfp services. Apparently it might be accessing them just when the game starts, and the combos have to be done before that.
 
  • Like
Reactions: JonJaded

Loveabelle

Member
Newcomer
Joined
Apr 18, 2019
Messages
8
Trophies
0
Age
33
Website
trialsoffantasy.com
XP
620
Country
United States
Maybe you guys can help me out, I can't seem to get emuiibo to work. Either the instructions aren't detailed enough, or I'm just an idiot. I'm using ReiNX and dropped the downloaded file in the titles folder like it said to. It says to set the boot2.flag; do I need to do anything other than put it into the folder? What do I do with the nfpemu-libnx folder, there was no explanation on that...? Do I need any other files, aside from the ones in the zip? I created an emuiibo folder and put .bin's of the amiibo's there, and they show up when using amiiswap, but I can't seem to actually use them when in game, using the combos. I'm on firmware 7.0.1, and I'm testing this on Splatoon 2, if that helps.
 
  • Like
Reactions: Daggot

exelix11

Developer
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
Me and crc32 are working on a custom overlay applet, i've posted a few poc videos on my twitter: https://twitter.com/exelix11/status/1104796745794572288 The source code is available on github at crc32/layoff but there's no release for now.
While the video looks impressive there's still a lot to do, most importantly hardware acceleration cause the current solution slows down some games when is active. We'll make a release thread when everything is ready.
An ui for emuiibo is also planned.
 

spx

Member
Newcomer
Joined
Nov 1, 2018
Messages
19
Trophies
0
Age
23
Location
Bucharest, Romania
XP
197
Country
Romania
It does work with Breath of the Wild, you just need to do the selection and activation before you even start up the game.

Might be a memory limitation, no other game has that issue.
Believe it or not, it was on and the selection was made. Works in Mario Odyssey just fine.

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

Can't tell isnt a defense to copyright infringement. I know first hand that dave sent SPX the code. Just because Dave didnt post the code, doesnt mean you are allowed to copyright it.

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



All evidence does not suggest this is OK. XorTroll admitted to the license violation, it reall yfeels like gbatemp is trying to end discussion over the license violation to protect a developer they like.

SPX stole the code from dave's devil, xortroll cant claim "I didnt know it was stolen, so i can copyright it"
Dave was *not* involved in this at all (I wish he was). My fork was made because XHE (averne) abandoned his and there were some major easy to fix issues like looped hid init that would crash ams. You can compare my fork to averne's and see how much is changed, functionally speaking there is no improvement.
 
  • Like
Reactions: zfreeman

Krude

Well-Known Member
Member
Joined
May 18, 2013
Messages
344
Trophies
0
XP
1,198
Country
Gambia, The
Speaking of Mario Odyssey, i also have the problem another poster mentioned before, in that special edition amiibos are not recognized. In Odyssey, a noral Mario gives you a retro outfit, the Odyssey Mario gives you a wedding suit, and a gold Mario gives you, well, a gold outfit.

In emulation, the gold and Odyssey Marios only give you the "normal" retro outfit though, they're recognized as the base standard amiibos. Same with others like the Peach/Bowser Odyssey amiibos, they only give you the standard rewards instead of the special outfit.
 

Kaiton

Member
Newcomer
Joined
Dec 17, 2018
Messages
10
Trophies
0
Age
28
XP
77
Country
United States
Works great for every game I've tried it with except for 1 mall thing in BOTW, the one thing I don't understand is why is it that when I download a 20 heart wolf link amiibo bin some of them give me different results? out of the 3 I've tried 2 of them gave me only 3 hearts and one gave me 5. doesn't seem to make sense. would appreciate any guidance.
 

JonJaded

Well-Known Member
Member
Joined
May 22, 2016
Messages
679
Trophies
0
XP
2,940
Country
United States
Works great for every game I've tried it with except for 1 mall thing in BOTW, the one thing I don't understand is why is it that when I download a 20 heart wolf link amiibo bin some of them give me different results? out of the 3 I've tried 2 of them gave me only 3 hearts and one gave me 5. doesn't seem to make sense. would appreciate any guidance.

To make a 20 heart wolf, you need to train it in Hyrule Warriors. I'm guessing the amiibo dumps didn't properly dump metadata stored on it, or emuiibo is overwriting it with the hard-coded data. My guess, not really sure. (The same issue occurs in cemu too.)
 
  • Like
Reactions: Kaiton

AD2076

Developer
Developer
Joined
Feb 19, 2019
Messages
174
Trophies
0
XP
1,186
Country
Italy
To make a 20 heart wolf, you need to train it in Hyrule Warriors. I'm guessing the amiibo dumps didn't properly dump metadata stored on it, or emuiibo is overwriting it with the hard-coded data. My guess, not really sure. (The same issue occurs in cemu too.)
Same .bin written on nfc tag gives me 20 hearts and only 3 in cemu. Will test using emuiibo
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro