To use: Extract code.bin from Pokemon Sun/Moon, run exe as "SMPatcher code.bin".

SMPatcher will generate patched code binaries, as well as .ips patches.

Use edited code.bin with either HANS/luma's custom code sections to use either the code ips patch or patched code.bin

Current patches:
-Allows for the resigning of any QR type, via hooked QR decryption.
-Allows for the scanning of Injection QRs, generatable via PKHeX
-Grants unlimited QR scans/day
-Enables one to scan the same QR multiple times.
-Optionally, disable outlines from being drawn.

Downloads