EDIT - LOL - I got it (I think). They used all three compression types, but most of the files were compressed with LZO. It is chugging away and I am up to 2.2GB of decompressed files. Thanks for the tool!
I'm also trying to figure out how to decompress these .tfc files.
The reason we need to actually decompress these files is because it is the only way we'll be able to create distributable texture mods for it, by creating and applying a differential patch to it. I can write that program, but I need to uncompress the tfc files first.
4Aces... Could you please explain the process you used to decompress the tfc? If not 4Aces, then anyone... any help here would be appreciated. Yes I read the FAQ and followed the links, either: the information isn't there, I'm an idiot, or it's so buried that it's become less than useful.
Are these tfc files compressed, or are they just known formats concatenated together?
I believe the tfc are compressed due to the headers of these files... for example (textures.tfc):
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000 C1 83 2A 9E 00 00 02 Áƒ*ž...
That matches the compressed headers in upk files. When I uncompress those upk files, the header's different. So, I think these tfc files are compressed. Furthermore, it appears to be with lzo.
I'f I'm wrong, someone tell me. It would make things a lot easier if they weren't actually compressed to begin with! I'd prefer to be wrong about this.
I can't create a program that creates useful diff patches for tfc files for other modders without being able to perform a comparison search for the original uncompressed data. Without a way to distribute texture mods piecemeal via patches to an uncompressed tfc, the future of texture mod scene for xcom:eu looks rather bleak indeed. Well... at least there's texmod.
I'm even willing to write a compatible decompression tool, if Gildor would willing to answer the many questions I would have on the subject. Getting the game to load uncompressed tfc files could be a problem, but I prefer to take one step at a time.
Anyways... Thanks in advance for any info. I bookmarked this thread.