Author: Ray InglesRay Ingles
Date: Nov 12, 2006 12:37
I've been messing around with the code for an older PC game called
"Aliens versus Predator". I've managed to add a few things to the Linux
port and I'm working on a few others.
One irritating thing is that the files are stored encrypted on the
install CD, and the Windows install executable (that does the
decryption) doesn't easily work under Linux. You need to use VMWare or
a real Windows box to install the files. After that you can copy the
game data to Linux, but installation is a bit of a pain.
I've been looking into how hard it would be to break the encryption on
these files. (Note: I am *not* trying to violate copyright. I'm just
trying to make it possible to install these files from a valid CD under
Linux.) Since I have decrypted versions of these files from a Windows
install, it becomes basically a known-plaintext attack.
I've done some (very) simple checks - e.g. some simple XORs of the
encrypted and plaintext versions, by byte or short or integer. No
trivial solutions, but it's clear that it's not a complex algorithm -
comparing a plot of the plain file vs. the encrypted one, you can see
that different 'regions' of the files look different.
|