You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,16 +89,19 @@ If a game uses large files and in-place binary patching for updates, it might be
89
89
90
90
## Future
91
91
92
-
These may or may not happen, but have been on my mind.
92
+
In the fairly-concrete TODO:
93
93
94
-
* Double-check the default exclusions list. Should be able to do something with the compresstimation code to verify them.
95
-
* Examine [overlapped IO], see if we can get more information and control out of the compression process (per-file progress and cancellation).
94
+
* Hook up an interface to the saved paths database (count, option to clear it).
96
95
* Recompression, for changing compression modes without manually decompressing/recompressing.
97
-
* Scheduled task or a background service to periodically recompress selected directories.
98
-
* Write bindings to Microsoft's [Compression API], add benchmarks for the various compression modes to help users decide which is most appropriate for their system.
99
-
* Less rubbish installer. Why does this involve so much XML oh god.
96
+
* Installer. Why does this involve so much XML oh god.
100
97
* Sign the binaries/installer. If I give away my code I get a free one, right?
98
+
* Double-check the default exclusions list. Should be able to do something with the compresstimation code to verify them.
101
99
100
+
More tentative:
101
+
102
+
* Scheduled task or a background service to periodically recompress selected directories.
103
+
* Write bindings to Microsoft's [Compression API], add benchmarks for the various compression modes to help users decide which is most appropriate for their system.
104
+
* Examine [overlapped IO], see if we can get more information and control out of the compression process (per-file progress and cancellation).
102
105
103
106
## Alternatives
104
107
@@ -117,7 +120,7 @@ Under the hood it uses [`DeviceIoControl`] with [`FSCTL_SET_EXTERNAL_BACKING`] a
117
120
118
121
Compresstimation uses a simple linear sampling algorithm, passing blocks through LZ4 level 1 as a compressibility check and averaging across the entire file. The code is [available on Github][compresstimator].
119
122
120
-
The incompressible-files database is simply an append-only list of SipHash128 path hashes. It should be safe to share between multiple instances if you want to compress different drives at the same time. It lives in your `%APPDIR%` Roaming folder under `Freaky\Compactor`.
123
+
The incompressible-files database is simply an append-only list of SipHash128 path hashes. It should be safe to share between multiple instances if you want to compress different drives at the same time. It lives in `%APPDATA%\Local\Freaky\Compactor`.
0 commit comments