IridiumIO / CompactGUI

Transparently compress active games and programs using Windows 10/11 APIs
GNU General Public License v3.0
4.72k stars 224 forks source link

Question reguarding recompression #353

Closed fennectech closed 1 week ago

fennectech commented 10 months ago

Will this application recompress files already compressed with the selected algorithm? I would like a tool that will compress only newly added files and files compressed with a different algorithm.

Charlie-Ramirez-Animation-Studios-de-MX commented 3 months ago

As far as I know, it only recompresses files that do not have compression (or can be recompressed with a different algorithm), since compact as a CLI command (what works behind the program) detects if a file is already compressed and, if so, ignores it.

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/compact

/f Forces compression or uncompression of the specified directory or file. Already-compressed files are skipped by default. The /f parameter is used in the case of a file that was partly compressed when the operation was interrupted by a system crash. To force the file to be compressed in its entirety, use the /c and /f parameters and specify the partially compressed file.