New Features:
- Added Background Compactor: CompactGUI will now try to keep watched folders compressed in the background by running when the system is idle, under the following conditions:
- The system has been idle (i.e. no user mouse/keyboard input) and the monitored folder has also not been modified (e.g. by Steam updates, user copying files, etc) within the last 5 minutes.
- The background compressor will pause itself when user activity is detected, or if a manual compression/uncompression/analysing task is being run. It will then resume from where it left off after 5 minutes have elapsed, but it may skip any changes that were made to the folder in the time the compressor was paused. Before pausing, it will finish compressing the current file it is working on, to prevent corruption. If it unfortunately has to pause on a massive file on disk, this can take a minute.
- The compressor will not run on any folder that has been totally uncompressed, as it uses the existing compression algorithms of the contained files to decide what compression to use. Totally uncompressed folders will still remain in the Watched list, but will need to be manually compressed again before the background compressor will take over again.
- The background compressor ignores any skipped file settings for now.
- New Settings Options:
- Added settings options to enable/disable background monitoring and compression
- Added settings option to start CompactGUI in system tray #371
- Taskbar icon progress indicator: Compression progress is now indicated on the taskbar icon #71
- Refreshed
Watched Folders
tab:- Updated UI
- Added button to allow manually adding a folder to the watchlist without having to compress it first (in case you've compressed it elsewhere before)
Optimisations:
- Change progress bar calculation to use file size rather than file count #65
- Speed up
GetPoorlyCompressedExtensions
by up to 10x - Reuse
FileInfo
instances to makeCore.Compactor.BuildWorkingFilesList()
about 90x faster (from ~900ms to 10ms overall on a folder with 100,000 files) - Smaller optimisations to Watcher and Analyser classes
Bug Fixes:
- Fix crash when a file is deleted after analysis starts but before it is completed
- Fix duplicating entries in the Wiki Results tooltip
- Fix Watcher continuously trying to update the
WatchedFolders.json
file on disk while idle.
Important!
You will need to make sure you have .NET Desktop Runtime 6.0 installed.
File Checksums
MD5: 3645F6DDACBB6AE7C2F1A40D9FD137D7
SHA-256: 2DD4039E5339A7CAAB6E51BAE99094D20BD907559CB9CDEC2D6FB6BDFC2855B5
Like this project?
Please consider leaving a tip on Ko-Fi :)
Full Changelog: v3.3.0...v3.4.0