Hello,
Looking for a little bit of help as i suck at compression methods, heh. i am currently only assuming the data is compressed given the information i see in the file, but i could be wrong. Any help figuring things out would be appreciated. Also if you know of any good resources or tips on picking out compression methods, that would be useful.
Code:
struct STPZ_HEADER // appears to be big endian
{
uint32 fileTag; // "STPZ"
uint32 unknown0x04;
uint32 unknown0x08;
uint32 unknown0x0C;
};
struct _0DCS_HEADER // appears to be little endian
{
uint32 fileTag; // "0DCS"
uint32 uncompressedSize;
uint32 compressedSize; // size of section? - includes this header
uint32 unknown0x0C; // maximum uncompressed block size? - have not seen '0LCS' sections bigger than this size, but not sure if this is related
};
struct _0LCS_HEADER // appears to be little endian
{
uint32 fileTag; // "0LCS"
uint32 uncompressedSize;
uint32 compressedSize; // size of section? - includes this header
uint32 unknown0x0C;
};
Also what method do you usually use to extract usable code directly from a disassembled executable?
Thanks in advance.