I'm trying to debug a problem where the game I'm trying to mod is crashing when it loads. So I thought I would try to extract the file I want to edit and then reimport it with no changes to see if its a problem with the way offzip is rebuilding the file.
My question is.. If I reimport the same file with no changes should it look the same as the original in the pack2 file?
I'm not sure if CRC checking is going on or there is a problem with the data structure of the file when its loading.
It's all normal because different implementations of the zlib algorithm (header+deflate+crc) and even different versions of the same library produce different outputs.
Many files contain compressed and uncompressed files. It seems that offzip only detects, extracts and reimports compressed files and uncompressed files are totally ignored.
Is offzip capable to extract and reimport uncompressed files from and into another file? If not, as I suppose is the case, which tool would help me do to it?
Data in files have a starting and ending point, offzip scans the compressed data in files for finding these two parameters and dumping the data. Therefore it's impossible to dump uncompressed data because it can be anywhere. You need to a tool/script correctly parsing that specific format (ask in Game Archive).