View Full Version : cls-nz - cls library for nano zip (multithreaded)
BLACKFIRE69
04-08-2020, 20:30
cls-nz - cls library for nano zip (multithreaded)
i know Nano zip already perform multithreading. but it doesn't give good speed.
Compression:
cls-nz.dll (98 kb)
cls-nz.ini
nz.exe
Decompression:
cls-nz.dll
cls.ini
nz.exe
cls-nzx.ini :
[nzx]
Threads=100p
Chunk=32m
ExeFile="N Zip\nz.exe"
; or Threads=8
Tested on NanoZip 0.09 alpha/Win32.
Compression speed is good but unpack...very slow(
But thank anyway..
BLACKFIRE69
05-08-2020, 05:55
Compression speed is good but unpack...very slow(
But thank anyway..
dixen,
try this and change the values as well.
ex: if you get thread count of 8
[Nzip]
Threads=8
Chunk=16m
Options=-p8 -cc -nm -sp -t8
you also know the common rule that the number of threads for decompression should be equal to or less than the number of threads used in compression. :D
i mean,
Compression --> Threads = 8 (cls-nz.ini)
Decompression --> Threads = 2 , 4 , 8 (cls.ini) cannot be 12 , 16, 32
also, different chunk sizes give you different compression ratios. ;)
Thanks but it doesn't show me the progress in the progress bar in my script
BLACKFIRE69
11-08-2020, 22:19
Thanks but it doesn't show me the progress in the progress bar in my script
it takes some time to show it. and it depends on the file size. ;)
Balaji007
05-10-2020, 10:11
Thanks but it doesn't show me the progress in the progress bar in my script
Because you were used some precompression tools like the combination of xtools+srep+nz. When this decompression cycle complete,the progress bar is shows the output.
BLACKFIRE69
09-10-2020, 06:24
cls-nzx v2.0.0.0
cls-nzx.ini
[nzx]
Threads=100p
Chunk=32m
ExeFile="N Zip\nz.exe"
; or Threads=8
check the first post.
BLACKFIRE69
10-10-2020, 06:46
New Update
What's new: ( v.2.0.0.1 )
The speed has improved.
check the first post....
You could put the first version back, I have some compressed files with it and I can't unzip them with version 2 "(Unsupported compression method or error in parameters: srep)". Thanks
BLACKFIRE69
12-10-2020, 22:53
You could put the first version back, I have some compressed files with it and I can't unzip them with version 2 "(Unsupported compression method or error in parameters: srep)". Thanks
Unsupported compression method or error in parameters: srep
Valtus,
there's no any problem with cls-nzx v2.0.0.1. it says you must include a method named "srep" in the arc.ini.
but anyway,
_
Valtus,
there's no any problem with cls-nzx v2.0.0.1. it says you must include a method named "srep" in the arc.ini.
but anyway,
_
The problem was due to the "srep", I have already been able to decompress with version 1.0, thank you very much BLACKFIRE69.
Weird questions from cls-nz/nzmt versions: Maximum allowed chunk size ex has limited to 2047MB??
The making STDIO-patched version its possibble? Likely compatibility from older NZ v0.08 and WinXP from decompression. Getting overall maximum compression ratios, still only use the old tempfiles and 1 threads only compression methodology.
Where is the download option?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.