The Forum is up for sale: XeNTaX Forum looking for new owner

Encrypted file - any ideas?

Read or post about compression. And decompression. Or ask questions how to decompress your files.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 661 times
Contact:

Re: Encrypted file - any ideas?

Post by aluigi »

oh about these files at the end I have opted for the stand-alone solution for various reasons (performances, maintainance and so on): http://aluigi.org/papers.htm#ttarchext

and take note of the following:

Code: Select all

the files are extracted exactly as they are inside the archive, indeed although some of them are just containers of common files (for example the d3dtx and font files contain dds images, and aud contain ogg streams) these containers use formats or some particular things which change from game to game and in some cases part of the raw data within them is encrypted too (like the first 0x800 bytes of the dds used in some games, don't worry it's just the same blowfish used in the rest of the archives, take a look to my code).
so I have decided to not implement an integrated extraction of the raw data located inside the meta files (like the dds inside the d3dtx files) just because the meta files are very unsteady and game-dependent so it's not possible to create a general rule quickly and easily without additional reversing and without testing over 20 games.

if someone has other ideas and wants to spend time on them (not me) feel free to contribuite :)
and if you have doubts I'm here
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 661 times
Contact:

Re: Encrypted file - any ideas?

Post by aluigi »

for the series "the best solution is the simplest" I have added the -m option to the ttarchext project which does a simple scan of the beginning of each file for finding DDS and OGG signatures in both clean and encrypted mode.
from my tests this solution seems to work very well and universally (which is the most important thing) so I hope it's useful
Post Reply