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

use Amiibo PACK if simulator PWD matches generated Amiibo PWD #1886

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

gtalusan
Copy link
Contributor

I had pulled down and compiled latest after working through #1861 a week or so ago.

Last night, I dusted off my old 2DS XL and noticed that the Amiibo simulator wasn't working in the latest build. I thought it must be my 2DS XL, but tested it on my kids' Switch and it wasn't working either.

It looks like in a632577, the PACK was hardcoded to 00000000.

This patch will pull the PACK from the emulator memory and Amiibo simulation can work well again.

Do let me know if this not the preferred approach.

Thanks!

@github-actions
Copy link

You are welcome to add an entry to the CHANGELOG.md as well

@iceman1001
Copy link
Collaborator

Not sure if this kind of check is a good one.
Maybe verify that the pwd is amiibo and if so, then set the pack?

@gtalusan gtalusan changed the title use NTAG215/MFU PACK from emulator memory use Amiibo PACK if simulator PWD matches generated Amiibo PWD Jan 27, 2023
@gtalusan
Copy link
Contributor Author

Okay, thanks for the feedback.

Here's a change -- the PWD in emulator memory is fetched. If it matches the calculated Amiibo PWD, then the PACK is hardcoded to 8080 otherwise nothing happens.

@iceman1001 iceman1001 merged commit 648e49f into RfidResearchGroup:master Jan 27, 2023
@iceman1001
Copy link
Collaborator

Thats more like it!

Thanks!

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.

None yet

2 participants