Recompressing Files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Omarios
Posts: 14
Joined: Mon Sep 21, 2020 7:54 am

Recompressing Files

Post by Omarios »

Is it possible to recompress files to exactly the way they were before they were decompressed?

The problem I'm currently facing is that I decompress a file, edit it, and when I recompress it and put it in the archive, it breaks the game in some way or another. After using the reimport option, the file is identical in size to when it was compressed before, but viewing the contents inside, it slightly changes, which makes it undreadable for the game.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Recompressing Files

Post by aluigi »

It depends by the file.
Anyway I suppose this is a duplicate of your other topic where I already provided an answer.