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

More accurately generate the decrypted bin data #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

DanTheMan827
Copy link
Contributor

This PR adds the following data into the dumps that was previously missing:

  • UID
  • BCC
  • Internal
  • Static Lock
  • CC
  • Dynamic Lock
  • RFUI
  • CFG0
  • CFG1

This allows for amiitool to encrypt a valid dump that can be written to a blank tag.

The data offsets are based on the amiitool offsets... correct me if I'm wrong, but I believe wumiibo also uses these same offsets.

@hax0kartik
Copy link
Owner

Hey, did you try this with wumiibo? There was a similar pull a while ago, but it actually broke usage with wumiibo.
#6

@DanTheMan827
Copy link
Contributor Author

DanTheMan827 commented Nov 10, 2021

I did not...

Can wumiibo use a decrypted file straight from amiitool though, or does that fail?

This PR generates per the format that amiitool decrypts to

edit: looking at that PR, it seems they tried to do exactly what this PR does, just in a different way...

@ca1e
Copy link
Contributor

ca1e commented Jan 17, 2022

I did not...

Can wumiibo use a decrypted file straight from amiitool though, or does that fail?

This PR generates per the format that amiitool decrypts to

edit: looking at that PR, it seems they tried to do exactly what this PR does, just in a different way...

It is.maybe we should find out why wumiibo will be broken with these fixed bytes that wiki specified? @hax0kartik

@TheDrawingCoder-Gamer
Copy link

does this work with i.e. arduino writing?

@TheDrawingCoder-Gamer
Copy link

hm, based off the data generated from decrypting a dumped real amiibo, and the generated info isn't "filled in". Some data is also mismatched.

@TheDrawingCoder-Gamer
Copy link

yes \o/ thank you, this will be a helpful resource and "inspiration"

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

Successfully merging this pull request may close these issues.

4 participants