![]() |
CLS - Fast LZMA2
3 Attachment(s)
Hi, here's another cls for fast lzma2.
I haven't yet able to convert the streaming functions to delphi, so this cls uses 64MB chunks. Here is the conversion Here's the cls anyways. If you are able to convert the whole c header file to delphi, please send me a copy. [Update] Added FPC Build. More optimized and uses less memory in some cases. |
How to use it with freearc ? what should be add in arc.ini and temp files of installer ?
|
Nothing. Just keep cls-fl2.dll and fast-lzma2.dll
|
Hi, did test on "INSOMNIA The Ark" 10 GB file, and got nothing :(
packed with cls | 1133.47 sec = 7%. Speed 9.17 mB/s unpack with cls | 141.39 sec = 48%. Speed 73.48 mB/s packed with no cls | 1125.90 sec = 8%. Speed 9.23 mB/s unpack with no cls | 140.49 sec = 55%. Speed 73.95 mB/s Maybe I am doing something wrong ? |
What do you mean by packed without cls? What was your compression method? It should not be lzma, it should be fl2.
|
Quote:
Quote:
batch file Code:
arc.exe a -r --dirs -s; -ep1 -i1 -lc- -w.\_tmp -msrep+lzma2 "data.bin" "pack\*"Code:
[External compressor:lzma2] |
It should be -msrep+fl2 to use the cls.
|
You should try shared memory. I did implement that for zstd and this and it does provide speed boosts but that have deadlocks (like 1 out of 10) and I didn't find enough motivation to debug. Also, I did implement that from the ground up. You can use some library or something to make it work XD
Anyway nice work lately. |
it packs just fine for me but it will not let me unpack gives me a -2 error
|
64 bit FL2 - 256MB Chunks
1 Attachment(s)
Quote:
Quote:
|
Quote:
|
oh i like this i was even able to put in my lzma2 commands behind it and they worked
thank you kindly |
@78372 do you know if there a way to use 7-Zip-zstd in <stdin> <stdout> with (Fast LZMA2, Zstandard, Brotli...)...
https://github.com/mcmilk/7-Zip-zstd/releases |
ZSTD and Brotli already supports stdio afaik.
And lz4/brotli aren't suitable for game compression |
sorry i ask the wrong question, :o
do you know the cmd for (Zstd-Brotli) in 7-Zip-zstd to use with freearc like normal 7z... like "packcmd = "7-Zip" a -txz -an -mcrc=0 -m1=lzma2{:option}:mf=bt4 -mmt=on -mx9 -si -so <stdin> <stdout>" |
| All times are GMT -7. The time now is 15:55. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com