amiibo™ parsing library
libamiibo expects a binary dump. It will not work with XMLs or hexadecimal text files. See the unix program xxd
to convert from hexadecimal to binary.
It offers support for encryption/decryption, figurine data, amiibo settings and AppData.
To parse a tag directly from a binary (encrypted) dump, use LibAmiibo.Data.AmiiboTag.FromNtagData()
.
When using an encrypted binary, the AmiiboSettings and AppData information will not contain any valid information.
byte[] encryptedNtagData = System.IO.File.ReadAllBytes("mario.bin");
LibAmiibo.Data.AmiiboTag amiiboTag = LibAmiibo.Data.AmiiboTag.DecryptWithKeys(encryptedNtagData);
byte[] encryptedNtagData = System.IO.File.ReadAllBytes("mario.bin");
LibAmiibo.Data.AmiiboTag amiiboTag = LibAmiibo.Data.AmiiboTag.FromNtagData(encryptedNtagData);
The library is split into two parts: libamiibo and libamiibo.images
You can use both independently:
amiiboTag.Amiibo.AmiiboImage
), you need also include libamiibo.images.dll in your project. You don't need to reference it, just make sure the dll is copied