Jump to content

CLS-precompinside


The last reply on this topic is older than 122 days. Please do not unnecessarily bump it. The most recent reply to this topic was posted 299 days ago.

Recommended Posts


  • Followers:  63
  • Content Count:  1,703
  • Content Per Day:  0.94
  • Reputation:   14,386
  • Status:  Offline
  • Last Seen:  
  • Device:  Windows

CLS-precompinside


CLS-filter (library) for FreeArc, designed to decompress precomp archives in parallel with the decompression of lzma (in archives with compression -mprecomp+lzma), which decently increases the overall decompression speed on 2-core or more systems (about 2 or more times).

The pack folder contains an example of a bat file and data for packaging in an .arc archive. The packaging is standard - with sequential processing with precomp and lzma.
The unpack folder contains an example for decompressing data using unarc.exe. lzma and precomp are decompressed in parallel without any intermediate files.

To decompress precomp archives inside the arc algorithm, the following files are required:

  • CLS-precomp.dll - the CLS filter itself, it and the rest of the files must be placed next to unarc.exe (either unarc.dll or isdone.dll).
  • packjpg_dll.dll is a substitution library that patches the precomp.exe import table in memory, allowing information to be exchanged between processes.
  • packjpg_dll1.dll is the original library from the precomp kit with a unit added in the name. If you do not want to use it (there were no jpg-streams in the archive), then you can safely delete it, because the replacement library, in the absence of the current one, emulates functions, passing the necessary data to the precomp. But if there were still compressed jpg threads in the extracted precomp archive, the precomp will give an error.
  • precomp.exe - in this example is the original precomp v 0.4 executable. If you need a different version, just replace that exe with the appropriate version (and don't forget to add zlib1.dll).

 

Link to comment
Share on other sites

The last reply on this topic is older than 122 days. Please do not unnecessarily bump it. The most recent reply to this topic was posted 299 days ago.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines, Terms of Use, and Privacy Policy with it We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.