Hi Luigi. Having problems with <enctypextest> app. I give filename, gamekey, and validation key args, app is showing me original, decoded dump and then crashes. As i looked source, there must be encoded, and decrypted again. Having Win7 OS, can it be it? Was trying to rewrite encryption to another language, but have problems too, cause as i sniffed data from GSpy, encrypted data must start with bytes 0x(from e0 to fd) , 0x00 , 0x00, but your code encrypting whole data array, with header, cause
Code:
int enctypex_func6e(unsigned char *encxkey, unsigned char *data, int len) {
int i;
for(i = 0; i < len; i++) {
data[i] = enctypex_func7e(encxkey, data[i]);
}
ecrypt all elements from 0 to len.