I wonder. I know the game uses Bink video format since the binkw32.dll is clearly accessible. However i can't seem to find the actual videos. Looking for some tools it seems the dat files (
above 0) are videos, but i'm not sure how you'd access them.
The thought I'm having, is i would re-encode the video at half resolution. Since i don't run it at full HD anyways, I've had decent success doing this with Divinity Dragon Commander. However locking the videos or encrypting them can only be an annoyance since if i can't re-encode them, then the smaller resolution won't make for faster decoding.
edit: using DaTool i could extract the first file, but the references to Bink and how it's encoded is missing...
[code]
universe/story/rules/episode_1.rules: uPlayBink("01", 0);
[/code]
edit: Glancing at a bik file and then glancing at the dat files, i noticed something quite curious. I can probably decode 25% of it based on reoccurring patterns. Namely the encoding HAS to be a simple xor encryption; Simply cycling through a sequence that's fairly short (
128 bytes), and relying probably on an offset of bits or bytes.
The image shown shows the last byte of 4 byte blocks that is
almost always 0 during a long stretch of the header. Note the pattern repeats after 8 times going down. The other 8 are likely in the other interleaving blocks in one of the other red circled areas.
Most dat files use a different encoding (
starting) point, but they seem to use a similar pattern. However the first 3-4 bytes of bink files are ALWAYS known, which is BIK?. (
? could be one of the following letters b,d,f,g,h,i, specifying what version of the codec it uses, although it appears to be 'i')
see
bink container