Hi, I've been working on a precomp fork for a few weeks now.
There is still a lot of stuff I want to do with it, but I think right now its on a place where it might be cool to let you guys try it.
Interesting features so far:
- No changes to PCF header format, meaning at least for now, there should still be full compatibility with PCF files created from main precomp project (v0.4.8) lastest executable and this fork
- Temp files have a random tag prepended on their filename, meaning you can run multiple instances working on files on the same folder and they should not interfere with each other
- stdout support for precompression (stdin impractical, at least without heavy reengineering as we do seek on the input file many times during recompression)
- stdin/stdout support for recompression
Usage:
Mostly the same as regular precomp, the only differences are for using stdin/stdout
- (example of decompression using stdout) precomp -ostdout -cn -intense -brute file.dat > file.dat.pcf
- (example of using stdin and stdout for recompression) srep -v0 -d file.tar.pcf.srep - | precomp -ostdout -r stdin | 7za x -si -ttar
so essentially, just use stdout as "output filename" or stdin as "input filename"
This fork should make precomp more practical to use in contexts where only xtool was practical before.
If anybody wants to see the code its at
https://github.com/nicolas-comerci/precomp-cpp
Code is still on the compatible_refactor branch
You can find attached 32/64 bits zipped executables.
Please feel free to test and use and report any errors.
For now I am mostly interested on making sure I haven't introduced any new bugs, so I probably won't be fixing anything that also fails on mainline Precomp 0.4.8
EDIT 08/21/22: Added v1.0 of my fork, has been tested a little more and I fixed some OTF compression/decompression problems