with open(sys.argv[1], "rb") as f: encrypted = f.read()
if == " main ": if len(sys.argv) != 3: print("Usage: python npv2_unlocker.py input.npv2 output.txt") sys.exit(1) npv2 file unlocker
with open(sys.argv[2], "wb") as f: f.write(decrypted) with open(sys
decrypted = decrypt_npv2(encrypted)