Can C# decompress unknown files compressed with CoDec::Compress calls in C/C++?
My story: I have an Enemy Nations savegame file and I would like to write a C# routine to decompress it. This is so I can learn what the file format is, and whether some old files that don't work can be fixed to work using C# methods written to parse them. I'll be trying to figure out the parsing myself, I just don't know if this would work or not, as the only information I've been able to dig up on CoDec relates to video codecs, and I'm not even sure if that would be the right reference.
I've been looking through 892MB of Enemy Nations source code, and in order to decompress it I think I need to make calls to a C# equivalent of a C++ CoDec::Decompress routine that was written several years ago, but I'm not sure if that exists, or if it would even work.
First, this depends on whether you have a copy of an 892MB Enemy Nations source file, and additionally depends on whether you have an interest in looking through page after page of unfamiliar code looking for clues on whether this is actually possible or not.
Second, it also depends on having access to an Enemy Nations savegame file to test decompression on, but that's a relatively easy task if you have a copy of Enemy Nations installed on your hard drive.
If none of the above paragraphs throws you off, and if you've read this far, can you tell me what I need in order to decompress the savegame files?