![]() |
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>" |
-m1=lzma2
Here change lzma2 to your favourite compressor. and -txz to-t7z. Note that it won't support stdio |
Nice one. But I didn't understand at all. What different fast lzma2 and the 7z [lzma2]? Can you explain how they can compress between the size of huge files? Just ask. :D
Also I like how you create with those codes from GitHub to cls. I can understand the code was almost same like delphi. :) |
Fast lzma2 uses a different matchfinder and faster than normal lzma2. It can use multiple threads more effeciently.
|
i got a very negative ratio using it with oorecm (oodle mermaid)
|
Because Oodle Mermaid is better than fast LZMA2
|
Thanks. This gives nice good compression ratio at super fast speed
|
Small test
SREP+4x4:lzma Quote:
Quote:
|
I Use Reflate+Srep+Delta+nz as kompression. The Speed is slow in both Ways. I will test the FL2
|
the fl2.zip (569.0 KB ) found in #10 seems to produce almost the same size (0.01% smaller) result but is 3% slower than fl2_fpc.zip (137.7 KB )
|
Unpack test
xt20+srep+4x4:lzma Quote:
Quote:
|
does this fl2 (cls dll/exe) support pass in compressing levels or any other parameters?
|
| All times are GMT -7. The time now is 20:41. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com