View Single Post
  #1  
Old 23-07-2020, 13:21
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 692
Thanks: 481
Thanked 2,567 Times in 565 Posts
BLACKFIRE69 is on a distinguished road
Arrow cls-precomp - for any version (Multithreaded)

cls-precomp - for any version



This is a CLS library for Precomp that can be used as multithreads.

Tested on Precomp 0.38, 0.40, 0.41, 0.42, 0.43, 0.44, 0.45, 0.46, 0.47, 0.48. (may work on future versions. )

  • User can select different detection methods (and other options).
  • Detection methods,

    1. Intense
    2. Brute


Test Results on Precomp 0.48 x32:
  • -intense0 : 1.51 GB --> 2.35 GB
  • -intense2 : 1.51 GB --> 2.63 GB
  • -brute : 1.51 GB --> 2.64 GB

Old PrecompX(v1.0 and v2.0) uses -intense0.

You can get different compression ratio by changing the Chunk size and the Options.

Code:
Precomp v0.4.8 - options

-[option]:

  c[lbn]       Compression method to use, l = lzma2, b = bZip2, n = none <l>
  lm[amount]   Set maximal LZMA memory in MiB <1024>
  lt[count]    Set LZMA thread count <auto-detect: 4>
  lf[+-][xpiatsd] Set LZMA filters (up to 3 of them can be combined) <none>
                  lf+[xpiatsd] = enable these filters, lf- = disable all
                  X = x86, P = PowerPC, I = IA-64, A = ARM, T = ARM-Thumb
                  S = SPARC, D = delta (must be followed by distance 1..256)
  llc[bits]    Set LZMA literal context bits <3>
  llp[bits]    Set LZMA literal position bits <0>
               The sum of lc and lp must be inside 0..4
  lpb[bits]    Set LZMA position bits, must be inside 0..4 <2>
  n[lbn]       Convert a PCF file to this compression (same as above) <off>
  d[depth]     Set maximal recursion depth <10>
  pfmeta[amount] Split deflate streams into meta blocks of this size in KiB <2048>
  pfverify       Force preflate to verify its generated reconstruction data
  intense      Detect raw zLib headers, too. Slower and more sensitive <off>
  brute        Brute force zLib detection. VERY Slow and most sensitive <off>
  t[+-][pzgnfjsmb3] Compression type switch <all enabled>
              t+ = enable these types only, t- = enable all types except these
              P = PDF, Z = ZIP, G = GZip, N = PNG, F = GIF, J = JPG
              S = SWF, M = MIME Base64, B = bZip2, 3 = MP3
  f            Fast mode, use first found compression lvl for all streams <off>
  i[pos]       Ignore stream at input file position [pos] <none>
  s[size]      Set minimal identical byte size to [size] <4 (64 intense mode)>
  pdfbmp[+-]   Wrap a BMP header around PDF images <off>
  progonly[+-] Recompress progressive JPGs only (useful for PAQ) <off>
  mjpeg[+-]    Insert huffman table for MJPEG recompression <on>

  You can use an optional number following -intense and -brute to set a
  limit for how deep in recursion they should be used. E.g. -intense0 means
  that intense mode will be used but not in recursion, -intense2 that only
  streams up to recursion depth 2 will be treated intense (3 or higher in
  this case won't). Using a sensible setting here can save you some time.
Attached Images
File Type: png 1.png (650.0 KB, 438 views)

Last edited by BLACKFIRE69; 15-10-2022 at 16:24.
Reply With Quote
The Following 19 Users Say Thank You to BLACKFIRE69 For This Useful Post:
Abbat (26-02-2021), Andu21 (29-07-2020), Aschenputtell (18-03-2025), CAT8K (01-04-2021), COPyCAT (23-08-2020), dixen (23-07-2020), ffmla (23-07-2020), giothothan (29-07-2020), github (31-01-2021), Harsh ojha (23-07-2020), Illume (26-07-2020), Jiva newstone (23-07-2020), kenzo34 (23-07-2020), L0v3craft (24-07-2020), Prince4 (26-03-2021), rambohazard (25-07-2020), Razor12911 (23-07-2020), ScOOt3r (13-06-2021), Yaroslav98 (30-09-2021)
Sponsored Links