Votre DLC.py il ressemble bien à ça ?
''import argparse
import mhef.n3ds
parser = argparse.ArgumentParser(description='Encrypts or decrypts a DLC file from Monster Hunter 4 Ultimate')
parser.add_argument('mode', choices=['e', 'd'], help='(e)ncrypt or (d)ecrypt')
parser.add_argument('inputfile', help='DLC input file')
parser.add_argument('outputfile', help='output file')
args = parser.parse_args()
dc = mhef.n3ds.DLCCipher(mhef.n3ds.MH4G_NA)
if args.mode == 'e':
dc.encrypt_file(args.inputfile, args.outputfile)
else:
dc.decrypt_file(args.inputfile, args.outputfile) ''
Message édité le 05 juillet 2015 à 23:43:37 par 6Bird