You may want to see there for information about tpf files and checksum computation:
The resources file format expected by the official launcher is :
uint8 header[5]; //constant values: 0x00 0x51 0x3F 0x99 0x1A
uint32 uncompressedSize; //size of uncompressed file
uint32 compressedSize; //size of compressed data
uint8 zlibCompressedData[compressedSize];
for zlib compression, use the official zlib library (deflate to uncompress, inflate to compress)
[edit] about Ghost's thank:
Don't thanks me for the post you should have wrote instead of screens of what you have and won't share, you are not helping anyone by acting like that.
Beside you are wrong saying it's not possible, IIANM Nemesis private server actually use the official patch & launcher