Last active
September 16, 2016 12:13
-
-
Save ihaveamac/130600ca80124b27ab30e6ad6a851855 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Picross 3D: Round 2 amiibo puzzle unlocker | |
# based on https://github.com/Rohul1997/Picross-R2-Amiibo-Unlocker | |
import sys | |
if len(sys.argv) == 1: | |
sys.exit("p3dr2_amiibo_unlock.py <SAVEDATA>") | |
with open(sys.argv[1], "rb+") as f: | |
f.seek(0x1A4C) | |
f.write(b'\x09') | |
f.seek(0x1A5C) | |
f.write(b'\x09') | |
f.seek(0x1A6C) | |
f.write(b'\x09') | |
f.seek(0x1A7C) | |
f.write(b'\x09') | |
f.seek(0x1A8C) | |
f.write(b'\x09') | |
f.seek(0x1A9C) | |
f.write(b'\x09') | |
f.seek(0x1AAC) | |
f.write(b'\x09') | |
f.seek(0x1ABC) | |
f.write(b'\x09') | |
f.seek(0x1ACC) | |
f.write(b'\x09') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment