#1
|
|||
|
|||
CLS - Fast LZMA2
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. Last edited by 78372; 26-09-2019 at 06:58. |
The Following 11 Users Say Thank You to 78372 For This Useful Post: | ||
ADMIRAL (02-02-2021), Andu21 (26-09-2019), Carldric Clement (21-11-2019), Celestosapien (13-12-2019), darkwolves (20-11-2019), Gehrman (07-05-2022), Harsh ojha (26-09-2019), KaktoR (20-11-2019), kenzo34 (26-09-2019), Sanya288 (14-03-2021), Simorq (26-09-2019) |
Sponsored Links |
#2
|
|||
|
|||
How to use it with freearc ? what should be add in arc.ini and temp files of installer ?
|
#3
|
|||
|
|||
Nothing. Just keep cls-fl2.dll and fast-lzma2.dll
|
#4
|
|||
|
|||
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 ? |
#5
|
|||
|
|||
What do you mean by packed without cls? What was your compression method? It should not be lzma, it should be fl2.
|
#6
|
|||
|
|||
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] header = 0 default = :d25:fb=273:mf=bt4:mc=1000000:lc=4:lp=0 packcmd = "7-Zip" a -txz -an -mcrc=0 -m1=lzma2{:option}:mf=bt4 -mmt=on -mx9 -si -so <stdin> <stdout> |
#7
|
|||
|
|||
It should be -msrep+fl2 to use the cls.
|
#8
|
|||
|
|||
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. |
The Following User Says Thank You to Gupta For This Useful Post: | ||
78372 (19-11-2019) |
#9
|
||||
|
||||
it packs just fine for me but it will not let me unpack gives me a -2 error
__________________
Ideas are bulletproof... |
The Following User Says Thank You to darkwolves For This Useful Post: | ||
78372 (19-11-2019) |
#10
|
|||
|
|||
64 bit FL2 - 256MB Chunks
Quote:
Quote:
|
The Following 2 Users Say Thank You to 78372 For This Useful Post: | ||
darkwolves (20-11-2019), Gehrman (07-05-2022) |
#11
|
||||
|
||||
i will try this i rather enjoyed the compression speed
__________________
Ideas are bulletproof... |
The Following User Says Thank You to darkwolves For This Useful Post: | ||
78372 (20-11-2019) |
#12
|
||||
|
||||
oh i like this i was even able to put in my lzma2 commands behind it and they worked
thank you kindly
__________________
Ideas are bulletproof... |
#13
|
|||
|
|||
@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 |
#14
|
|||
|
|||
ZSTD and Brotli already supports stdio afaik.
And lz4/brotli aren't suitable for game compression |
#15
|
|||
|
|||
sorry i ask the wrong question,
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{ption}:mf=bt4 -mmt=on -mx9 -si -so <stdin> <stdout>" |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Fox Kompressor 1.01c Ultimate | felice2011 | Conversion Tutorials | 31 | 07-06-2023 15:58 |
Bench Test (LOLZ vs RAZOR vs MCM vs LZMA2) | felice2011 | Conversion Tutorials | 5 | 19-10-2020 08:40 |
Borderlands v1.20 [MULTI5] No-DVD/Fixed EXE crash when fast travel to Jakobs Cove | mikehd | PC Games | 24 | 10-04-2010 10:32 |
PS2 Tray Ejects/Closes Too Fast!!! | cobraxt | PS2 Games | 2 | 16-06-2002 15:21 |
Fast error skipping settings for Safedisc 2 | Bandiet | CD/DVD Copy Protections & Utilities | 16 | 22-03-2002 14:58 |