crazyquark / nfc-amiibo

A tool to create amiibo tags using libnfc
42 stars 7 forks source link

nfc-amiibo

build/ubuntu

This is a tool for spoofing amiibo NFC tags using a PN532 NFC compatible reader/writer with libnfc.
This is a very shallow clone of pimiibo, all credits go to the original creator, I only made some edits to have it work on regular Linux.

Hardware

  1. You can probably use any libnfc supported NFC reader/writer(I used the always popular ACR122U)

  2. NTAG215 NFC tags

Software setup

  1. Clone this repository with submodules:

    git clone --recurse-submodules https://github.com/crazyquark/nfc-amiibo.git

  2. Install libnfc-dev:

    sudo apt-get update && sudo apt-get install libnfc-dev

  3. Compile sources.

    make

Getting the required files

After you have followed the above setup, you just need two more files to start making your own amiibo: an amiibo dump, and the key file.

Amiibo Dump

Amiibo dumps are not hard to get. Amiibo are 540 bytes and usually stored in a .bin (binary) file. Assuming you are simply cloning your own legitimate amiibo, you can use any dumping tool to dump it to a .bin file. Otherwise, that's probably copyright infringement or something.

Key file

This is the file containing Nintendo's key, which they use to encrypt/decrypt data on the amiibo. It is probably also copyrighted content, but it's a 160 byte .bin file which matches the MD5 45fd53569f5765eef9c337bd5172f937.

Usage

Start the program: ./nfc-amiibo path-to-key-file path-to-amiibo-file

Once you see ***Scan tag***, place and hold your blank NFC tag on the reader/writer. You should then see messages scrolling past with each data page as it begins writing them. Do not remove your tag until the write is finished. When you see Finished writing tag, it is safe to remove your tag and enjoy your new amiibo!

Common Problems