For reasons unknown, it was assumed that the xor key for PT10 -> PT12 would only be 128 bytes long.
This assumption was wrong.
I've encountered a ptx file that needed a 256 byte key to be correctly unxored.
This commit fixes the code so big ptx files can be correctly unxored.
If this is indeed true, we may have cracked all the encryption so far... I have only seen issues with some ptx files as you say. Thank you very much for helping with this!
For reasons unknown, it was assumed that the xor key for PT10 -> PT12 would only be 128 bytes long. This assumption was wrong. I've encountered a ptx file that needed a 256 byte key to be correctly unxored.
This commit fixes the code so big ptx files can be correctly unxored.