Questionhow to extract map.cft plss

Posts 12 of 2 · Page 1 of 1
how to extract map.cft plss
i need help can someone explain how to extract map.cft pls
I don't know what map.cft you're talking about, but I have this python snippet that I used to "decrypt" CFT files a while back.

Code:
#!/usr/bin/python3

import sys

input_file_name = sys.argv[1]
input_file = open(input_file_name, "rb")

output_file_name = sys.argv[2]
output_file = open(output_file_name, "wb")

while True:
    data = bytearray(input_file.read(4096))
    if 0 == len(data):
        break

    for i in range(len(data)):
        data[i] ^= 0x10

    output_file.write(data)

output_file.close()
input_file.close()
Posts 12 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?