FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   cls-nz - cls library for nano zip (multithreaded) (https://fileforums.com/showthread.php?t=103732)

BLACKFIRE69 04-08-2020 20:30

cls-nz - cls library for nano zip (multithreaded)
 
2 Attachment(s)
cls-nz - cls library for nano zip (multithreaded)

i know Nano zip already perform multithreading. but it doesn't give good speed.


Compression:
  1. cls-nz.dll (98 kb)
  2. cls-nz.ini
  3. nz.exe

Decompression:
  1. cls-nz.dll
  2. cls.ini
  3. nz.exe

Code:

cls-nzx.ini :

[nzx]
Threads=100p
Chunk=32m
ExeFile="N Zip\nz.exe"

; or Threads=8


Tested on NanoZip 0.09 alpha/Win32.

dixen 05-08-2020 02:30

Compression speed is good but unpack...very slow(
But thank anyway..

BLACKFIRE69 05-08-2020 05:55

Quote:

Originally Posted by dixen (Post 487252)
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

Code:

[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. ;)

Valtus 11-08-2020 13:08

Thanks but it doesn't show me the progress in the progress bar in my script

BLACKFIRE69 11-08-2020 22:19

Quote:

Originally Posted by Valtus (Post 487358)
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

Quote:

Originally Posted by Valtus (Post 487358)
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

New Update
 
cls-nzx v2.0.0.0



  • cls-nzx.ini

Code:

[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
 
New Update


What's new: ( v.2.0.0.1 )
  • The speed has improved.



check the first post....

Valtus 12-10-2020 13:44

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

3 Attachment(s)
Quote:

Originally Posted by Valtus (Post 488286)
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


Quote:

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 13-10-2020 04:05

Quote:

Originally Posted by BLACKFIRE69 (Post 488288)
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.

kj911 02-01-2025 04:49

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.

teusma 23-04-2025 01:29

Where is the download option?


All times are GMT -7. The time now is 09:29.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com