Skip to content

Instantly share code, notes, and snippets.

@ihaveamac
Last active September 16, 2016 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ihaveamac/130600ca80124b27ab30e6ad6a851855 to your computer and use it in GitHub Desktop.
Save ihaveamac/130600ca80124b27ab30e6ad6a851855 to your computer and use it in GitHub Desktop.
#!/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