Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for random UIDs - amiibo. #6

Open
kalimaz0 opened this issue May 22, 2023 · 3 comments
Open

Support for random UIDs - amiibo. #6

kalimaz0 opened this issue May 22, 2023 · 3 comments

Comments

@kalimaz0
Copy link

Per this issue here - DanTheMan827#33

Could a random UID be generated for each use of the amiibo?

@DanTheMan827
Copy link

@Swordstone86 yes, but you’d need to include amiitool code in the firmware.

not sure how much space is going to be left once you include the crypto libraries and whatnot.

@Swordstone86
Copy link
Owner

Swordstone86 commented May 22, 2023

@DanTheMan827 Thankfully, someone else seems to have already ported that code to Javascript, so all I'll have to do is trim it down :)

From the preliminary investigation I've done, it's honestly not that much code, and including it not only will allow us to emulate random UIDs, but also allow us to emulate specific amiibo on the fly without needing to store a tag at all, unless we were using the amiibo with a read/write game (like Smash Bros.)

@DanTheMan827
Copy link

A pure JavaScript implementation might work, but I think the size will be considerable, and performance questionable.

looking at the firmware, they already seem to have mbedtls, so it would just be adding the amiitool library as a module.

Not that difficult… probably…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants