FlipperAmiibo icon indicating copy to clipboard operation
FlipperAmiibo copied to clipboard

[SUGGESTION] .NFC files from the Amiibo-Generator

Open ishtangli opened this issue 2 years ago • 5 comments

The Amiibo-Generator is used to produce compatible bin files for use as amiibo. User just needs to supply their own keys. It generates the bins based on publicly available information such as amiibo IDs.

https://tagmo.gitlab.io/amiibo-generator/ https://github.com/hax0kartik/amiibo-generator

No need for you to upload the .NFC file every time a new amiibo is released.

ishtangli avatar Feb 15 '23 05:02 ishtangli

I thought so too, but amiibo-generator produces binary files that are compatible with wumiibo, a 3DS amiibo emulator. They are not valid amiibos.

I tested this myself by downloading a amiibo-generator binary and running FlipMiibo over it, it doesn't work, and it makes sense that it doesn't because it's not in a format that follows the rules of Amiibos. (see screenshot for example)

Screenshot_146

The best we can do is what is being done here, aggregating NFC files generated from known Amiibo binaries that were dumped from actual amiibos (or amiibo clones generated using pyAmiibo or amitool.) Simply reading and emulating these amiibos is not problematic, creating brand new clones is, though.

Is it possible to generate one from scratch legally? I don't think so, because in order to do so you need access to proprietary information (even if that information is literally just two 14 character strings) in order to break the encryption that Nintendo uses to lock a specific amiibo to a factory set UID (this was done in an effort to prevent clones.)

juliocorzo avatar Mar 12 '23 07:03 juliocorzo

The bin files need to be signed first using amiitool and then converted to .nfc with amiiboconvert.py

By legally, I meant that the files from amiibo-generator are not "illegal" per se because they are just the IDs for each amiibo which are publicly available info. Signing them if iffy since you need keys which you should get by yourself.

ishtangli avatar Mar 13 '23 09:03 ishtangli

And what I'm saying is that even if you sign them with the keys, they won't work, as the amiibo-generator amiibos are not real ones.

I'm pretty confident that you could recreate them from scratch, but you'd have to implement something completely new that takes care of, like you said, signing them, and to sign them you need to read the UID (or create a fake one,) and then create a hash using that UID and the keys.

juliocorzo avatar Mar 19 '23 15:03 juliocorzo

In that case, is there a way to write a fake tag to the flipper from a phone? Tagmo can write to real n215 tags.

ishtangli avatar Mar 20 '23 01:03 ishtangli

Is that first link down? Sorry to necro.

ZekePolarisBSH avatar May 10 '24 02:05 ZekePolarisBSH