Project abandoned for 7-ZIP Parameters Tester ------------------------------------------------------------------------- 7-ZIP Finetuner v1.01 by Mr_KrzYch00 This program will test various 7-ZIP switches known to improve compression ratio. Smallest resulting file will be kept on disk. Usage: 7zft [] Switches: /l# - 7z executable (default: "c:\program files\7-zip\7z.exe") /d# - dictionary size (default: 512m) /s# - solid block size (default: on) /m# - match finder cycles (default: 4294967295) This program is provided as-is, use at Your own risk. Support the author: https://www.paypal.me/MrKrzYch00 ------------------------------------------------------------------------- By default 512MB dictionary is used, which will "eat" ~5.5GB memory. In case You have 4GB RAM try /d256m, or /d1g in case of 16GB RAM. If Your 7z executable is located somewhere else, pass /l switch to override, default is: - "c:\program files\7-zip\7z.exe" on windows, - 7z on linux. At least version 15.05 beta of 7-ZIP (p7zip on linux) is required. To install 7-zip on windows, go to www.7-zip.org and pick 32-bit x86 for 32-bit windows or 64-bit x86 for 64-bit windows. To install p7zip on linux type in console: - "sudo apt-get install p7zip" or, - "sudo yum install p7zip" or, - "sudo dnf install p7zip", make sure the version is 15.05 beta or above. Version 16.02+ recommended. Note: It's much slower than m7zRepacker or Ultra 7z Optimizer as it recompresses full archive with every try being tested. For mixed data mentioned two usually provide better results than 7-ZIP Finetuner, as they test files by extensions and use different compression settings for those files, however this is not always the case as using multiple blocks in 7-zip archives can sometimes be worse than using single block archive like 7-ZIP Finetuner does. This program will provide better results on, for example, JPG-only files archive. Changelog: *v1.01 - Fix crash when file/directory names and archive name is not passed, - Minor fixes and improvements. *v1.00 - Initial release. ------------------------------------------------------------------------- Sample optimization output: f:\MyScripts\7z test>7zft Ht_edf_v1 Ht_edf_v1 7-ZIP Finetuner v1.01 by Mr_KrzYch00 LC: 3, LP: 0, PB: 2, YX: 5, FB: 273 (INITIAL RUN) - best: 1372745 LC: 1, LP: 0, PB: 2, YX: 5, FB: 273 - best: 1372697 (-48) LC: 2, LP: 0, PB: 2, YX: 5, FB: 273 - best: 1372483 (-214) LC: 1, LP: 1, PB: 2, YX: 5, FB: 273 - best: 1372441 (-42) LC: 0, LP: 2, PB: 2, YX: 5, FB: 273 - best: 1372264 (-177) LC: 0, LP: 0, PB: 3, YX: 5, FB: 273 - best: 1372248 (-16) LC: 1, LP: 0, PB: 3, YX: 5, FB: 273 - best: 1372061 (-187) LC: 1, LP: 1, PB: 3, YX: 5, FB: 273 - best: 1371695 (-366) LC: 0, LP: 1, PB: 4, YX: 5, FB: 273 - best: 1371445 (-250) LC: 1, LP: 1, PB: 4, YX: 5, FB: 273 - best: 1371404 (-41) LC: 1, LP: 1, PB: 4, YX: 5, FB: 272 - best: 1371393 (-11) LC: 1, LP: 1, PB: 4, YX: 5, FB: 269 - best: 1371342 (-51) LC: 1, LP: 1, PB: 4, YX: 5, FB: 260 - best: 1371305 (-37) LC: 1, LP: 1, PB: 4, YX: 5, FB: 253 - best: 1371303 (-2) LC: 1, LP: 1, PB: 4, YX: 5, FB: 252 - best: 1371115 (-188) LC: 1, LP: 1, PB: 4, YX: 5, FB: 172 - best: 1371084 (-31) LC: 1, LP: 1, PB: 4, YX: 5, FB: 155 - best: 1371069 (-15) LC: 1, LP: 1, PB: 4, YX: 5, FB: 141 - best: 1371010 (-59) LC: 1, LP: 1, PB: 4, YX: 5, FB: 134 - best: 1370992 (-18) LC: 1, LP: 1, PB: 4, YX: 5, FB: 125 - best: 1370980 (-12) LC: 1, LP: 1, PB: 4, YX: 5, FB: 121 - best: 1370964 (-16) LC: 1, LP: 1, PB: 4, YX: 5, FB: 70 - best: 1370908 (-56) LC: 1, LP: 1, PB: 4, YX: 5, FB: 68 - best: 1370846 (-62) LC: 1, LP: 1, PB: 4, YX: 5, FB: 63 - best: 1370812 (-34) LC: 1, LP: 1, PB: 4, YX: 5, FB: 54 - best: 1370781 (-31) LC: 1, LP: 1, PB: 4, YX: 5, FB: 52 - best: 1370756 (-25) LC: 1, LP: 1, PB: 4, YX: 5, FB: 5 SUMMARY: - Size: 1370756 - LC: 1 - LP: 1 - PB: 4 - Method: LZMA2 - YX: 5 - FB: 52