First post, by PlaneVuki
Hi!
I have a pk4 file from an id software game, which is essentially a zip file.
I want to extract files and compress them to rar or 7z, because they achieve much better compression.
But when I want to play the game, I want to re-pack those files back to zip/pk4 with same hash as original, otherwise the game complains about corrupted pk4.
How can this be achieved?
Note: Applying rar/7z directly to the pk4 file doesn't work, that gets only 99% ratio.
Note: I also tried keeping original pk4 file with all files deleted except one, and re-adding those files back, resulting in different hash still.