FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   CLS-Nanozip: Preview (https://fileforums.com/showthread.php?t=97962)

Razor12911 10-06-2016 16:25

CLS-Nanozip: Preview
 
2 Attachment(s)
Hi guys, you might have noticed I have been creating a lot of CLS plugins for Freearc, it seems like for any compressor that I have in mind, well I have been trying on nanozip the only problem is the overall result hasn't been that effective, either the final size is affected badly or progress via Inno Setup or CMD window takes long to reflect dude to the fact that nanozip gives back false data when I try to steal(take) data from it while it is processing then end up with CRC error.

I gave it one last chance today then Panker told me something tragic, the creator is no longer with us which is why it isn't getting further updates however we decided that we must not give up on trying to make cls even if it doesn't work the way it is supposed to. Which is why I came up with the idea to try and give the message through to the user about the progress of the installation/unpacking process. :( (Not really sad because of no more updates, which is what most repackers would be sad of)

What I did was since it takes long to make reflections of the progress of nanozip was to make a cls that displays a GUI that shows the progress because at least I was able to figure out its progress.

So far progress is: 90%, the 10% is because after Inno Setup has used the CLS it crashes but anyways, I uploaded a few screenshots to show you guys how it looks like.

ramazan19833 10-06-2016 22:14

CLS-Nanozip What will it be ready?

Prince4 10-06-2016 23:31

So what method it'll have when it is done,How effective it'll be than other zips?

Andrey167 11-06-2016 03:29

a very good idea, but I am concerned about the issue can somehow speed up the unpacking? currently unpacking without cls operates at a speed of 1-2 mb seconds

kassane 11-06-2016 04:59

Excelent idea! You are becoming the master of cls.

Razor12911 14-06-2016 01:47

1 Attachment(s)
CLS uploaded

It's just a test people, it fails sometimes at the end, have to research on how to make it stop showing that error at the end.

Quote:

Originally Posted by Prince4 (Post 449472)
So what method it'll have when it is done,How effective it'll be than other zips?

Check here
http://nanozip.net/

Quote:

Originally Posted by Andrey167 (Post 449478)
a very good idea, but I am concerned about the issue can somehow speed up the unpacking? currently unpacking without cls operates at a speed of 1-2 mb seconds

Speed is the same, all I did is try to add GUI to show progress.

Andrey167 17-06-2016 11:02

Quote:

Originally Posted by Razor12911 (Post 449528)
Speed is the same, all I did is try to add GUI to show progress.

and how can it accelerate?

Razor12911 17-06-2016 12:40

What do you mean, how to accelerate it? What algorithm does Nanozip use?

Andrey167 17-06-2016 13:09

Quote:

Originally Posted by Razor12911 (Post 449588)
What do you mean, how to accelerate it? What algorithm does Nanozip use?

I used the example of masked data compressed. in this example, the decompression speed is about 1-2 MB sec when using 8 cores,which is very slow when using large data

Razor12911 18-06-2016 08:05

Yeah but still, what algorithm does nanozip use? How is that algorithm in terms speed?

Andrey167 18-06-2016 09:12

Quote:

Originally Posted by Razor12911 (Post 449597)
Yeah but still, what algorithm does nanozip use? How is that algorithm in terms speed?

packcmd = nz a -r -v -cc -m8g -br512m -bw512m -p4 -t0 -nm $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp

1234567890123 18-06-2016 09:39

i'm using -cO it's more faster than -cc but a small bad ratio

Carldric Clement 05-07-2016 11:27

This is how it work's for compress:
Code:

[External compressor:nanozip]
header = 0
packcmd  = nanozip a -cO $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp
packedfile = $$arcpackedfile$$.tmp.nz

For work's decompress:
Code:

[External compressor:nanozip]
header = 0
unpackcmd = nanozip x $$arcpackedfile$$.tmp
packedfile = $$arcpackedfile$$.tmp.nz


Carldric Clement 05-07-2016 11:44

CRC Checksum failed
 
https://s20.postimg.org/69t8jgwlp/ba..._38_49_674.jpg

Razor12911 07-07-2016 04:15

1 Attachment(s)
Alpha version uploaded

Take note:
This may be buggy.
Plus if you want to change skin of this, you just gotta apply codejock styles.

angeldarkRS 07-07-2016 06:51

Thanks Razor! 100 working! :D

L0v3craft 05-09-2016 11:21

Hi and thank you Razor12911 for this ! Is possible to get something like this for zpaq/zpaq64 ?

Stor31 05-09-2016 12:30

Thanks Razor! 100 working!
but compression and too low 422MB = 415MB !!!!

Simorq 06-11-2016 04:41

How to Nanozip Multi tasking?

CAT8K 06-11-2016 05:43

me to :D
How to Nanozip Multi tasking?

felice2011 22-02-2017 07:39

Quote:

Originally Posted by swyambhu (Post 456221)
Someone????? Please tell me???????? how to change the dictionary size?????

use original nanozip from the command line and set the compression options in arc.ini.

Code:

NanoZip 0.09 alpha/Win64  (C) 2008-2011 Sami Runsas  www.nanozip.net
  Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz|36533 MHz|#4+HT|5790/8150 MB

usage: nz <command> [-<opt_1>...-<opt_n>] <archive_file> <files...>
e.g. nz a -cO -m1.2g backup document1.txt document2.txt

 commands:
  a      add files to archive
  l      list contents of archive
  t      test archive, decompress without writing output
  s      simulate compression without writing output
  x      extract files from archive
  w32c    create self-extracting archive (windows 32-bit console)
  info    information about host system
  help    show advanced options

 compression specific options (must be set at compression time):
  c<n,f,F,        compressor: none, nz_lzpf, nz_lzpf_large,
    d,dp,dP        nz_lzhd, nz_lzhd_parallel, nz_lzhd_parallel_extra,
    D,Dp,DP        nz_lzhds, nz_lzhds_parallel, nz_lzhds_parallel_extra,
    o,O,c>        nz_optimum1 (default), nz_optimum2, nz_cm
                  (use parallel compressor on multicore platform only)
  p<0...n>        number of compressors to run in parallel
                  (default: 0=auto/smart config based on -c, -t and files)
  m<0...n>[k,m,g]  memory use (approximate limit) (default: 512m)
  s<n,e,a,s>      sort files before compression by: nothing,
                  extension (default), name, size

 general options:
  -                stop scanning switches
  r                recurse subdirectories
  t<0...n>        number of threads (default: 0=autodetect)
  br<0...n>[k,m,g] read-ahead buffer size (default: auto)
  bw<0...n>[k,m,g] write-behind buffer size (default: auto)
  h<n,c,C,f>      checksum: none, crc16, crc32, fletcher16 (default)
  nt              do not store timestamps
  np              do not store permissions
  nm              do not store metadata or redundancy (equals -nt -np -hn)
  sp              strip paths from files
  o<path>          output path
  y                yes to all queries
  v                verbose
  x<file>          exclude file(s)


felice2011 22-02-2017 13:08

The example given by razor on the first page has the function of compression and decompression through DLL, without setting mode through INI files, if you want to change the compression options, use nanozip in normal mode with FreeArc support, and add the external compressor settings in the "arc.ini" configuration file, logically without DLL, with native compressor nz or nz64.

Code:

[External compressor:nz]
packcmd    = nz a -r -v -cc -m1g -br256m -bw256m -p2 -t2 -nm $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp
unpackcmd  = nz x -m1g -p0 -t0 $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp   
datafile  = $$arcdatafile$$.tmp
packedfile = $$arcpackedfile$$.tmp.nz

[External compressor:nz64]
packcmd    = nz64 a -r -v -cc -m2g -br512m -bw512m -p6 -t6 -nm $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp
unpackcmd  = nz64 x -m2g -p6 -t6 $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp 
datafile  = $$arcdatafile$$.tmp
packedfile = $$arcpackedfile$$.tmp.nz

Code:

Arc a -ma9 -ds -lc1024 -ld1024 -ep1 -di -i2 -ed -r -s; -w.\temp "data.arc" -mnz64 "pack\*"
or
Arc.exe a -ep1 -r -ed -s; -w.\temp -mnz64 data.arc "pack\*"

;)

rinaldo 22-02-2017 13:20

nanozip is very complex for a programmer in grass

felice2011 22-02-2017 23:08

@swyambhu ... You have modified and adapted the script you use for decompression Arc+nz?

In ISS ... posted by razor on the first page :

Code:

[Files]
Source: Include\arc.ini; DestDir: {tmp}; Flags: dontcopy;
//Source: Include\cls-nanozip.dll; DestDir: {tmp}; Flags: dontcopy; Disabled
Source: Include\english.ini; DestDir: {tmp}; Flags: dontcopy;
Source: Include\ISDone.dll; DestDir: {tmp}; Flags: dontcopy;
Source: Include\nz64.exe; DestDir: {tmp}; Flags: dontcopy; Added
Source: Include\nz.exe; DestDir: {tmp}; Flags: dontcopy; Added
Source: Include\unarc.dll; DestDir: {tmp}; Flags: dontcopy;

&
Code:

ExtractTemporaryFile('arc.ini');
  //ExtractTemporaryFile('cls-nanozip.dll'); Disabled
  ExtractTemporaryFile('english.ini');
  ExtractTemporaryFile('nz.exe'); Added
  ExtractTemporaryFile('nz64.exe'); Added
  ExtractTemporaryFile('unarc.dll');

In Include Folder....

https://i.imgsafe.org/e89f6b73fd.png

Extracting successfully Tested....;)

felice2011 23-02-2017 00:25

using the NZ 32-bit version, with these settings, you should have:

Code:

packcmd    = nz a -r -v -cc -m1g -br256m -bw256m -p2 -t2 -nm $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp
unpackcmd  = nz x -m1g -p0 -t0 $$arcpackedfile$$.tmp.nz $$arcdatafile$$.tmp   
datafile  = $$arcdatafile$$.tmp
packedfile = $$arcpackedfile$$.tmp.nz

Compres... in WinDos
Code:

Threads: 2, memory: 1024 MB, IO-buffers: 256+256 MB
Setting up IO write buffer: 256 MB
Compressor #0: nz_cm [438 MB] IO-buffer: 128 MB.
Compressor #1: nz_cm [438 MB] IO-buffer: 128 MB.
Compressed 37 532 555 into 35 463 471 in 23.69s, 1547 KB/s (7.559 bpb)
IO-in: 0.02s, 1234 MB/s. IO-out: 0.00s, 3758 MB/s

Decompress.....in WinDos
Code:

Threads: 4
Compressor #0: nz_cm [436 MB]
Compressor #1: nz_cm [436 MB]
Decompressed 37 532 555 bytes in 23.66s, 1549 KB/s.
IO-in: 0.00s, 1877 MB/s. IO-out: 0.05s, 617 MB/s

-m1g = 1024
-m2g = 2048
-m3g = 3072
ETCCCC

-br256m (read Bufferrrr)
-bw256m (write Bufferr)

Change..in 64...128...256...512...etc,.....

..........:rolleyes:

felice2011 23-02-2017 00:47

I'm sorry boy, Rinaldo is right saying that nanozip is complex for its settings, but you lack the basic to begin with.
tell me how you want configure it based to your installed RAM and the number core of CPU, I create an archive, and I will send you..

rinaldo 23-02-2017 00:57

non hai capito un corno.. è difficile da elaborare per farne una cls. io seguo la guida, ma è difficile per chi cerca di modificarne l'eseguibile
God forbid that I needed help for this nonsense, the question was another

felice2011 23-02-2017 01:13

penso che non c'entri nulla, dalle foto postate del ragazzo e da quello che dice il problema è solo nell'impostare l'uso della memoria ed il buffer di scrittura e lettura...segui la guida...guida...quale guida segui...
The current problem is of a different nature ...:confused:

Mini 23-02-2017 01:59

use HEX and change
http://i91.fastpic.ru/big/2017/0223/...98f79c9d48.png

rinaldo 23-02-2017 04:09

felice lascia stare tanto non ci arrivi. in generale parlo... cosa centra il ragazzo fammi capire.
What is this thing ... you want to resurrect a zombie mini?

felice2011 23-02-2017 05:30

appunto, cosa centra nel contesto e con il problema delle impostazioni nel uso normale del nanozip, volevi dire che modificare l'exe e creare le dll con una configurazione *.ini per le impostazioni è cosa difficile, così come è stato fatto per zcm..vabene ok..ma nel contesto interessa poco o a nessuno..specialmente a me che non uso sto nanozip con dll, per lo stesso motivo che sto qui a perdere tempo ed aiutare sto @swyambhu..che non si è capito se ha risolto o meno il problema..
@swyambhu..You are able to resolve, or we are still on the high seas.:)

felice2011 23-02-2017 05:47

Quote:

Originally Posted by Mini (Post 456246)

I have not tried if it works, but it can also be a variant or solution with the editor.;)

gozarck 23-03-2017 13:07

you are the one bro, good job. Lots of new softwares to test now

78372 22-04-2017 06:12

I don't know much about nanozip.May I ask how effective nanozip compression is?

felice2011 22-04-2017 08:11

It's a great compressor, unfortunately was abandoned and no longer updated.

romulus_ut3 22-04-2017 10:36

Not abandoned, the author passed away, which is sad.

It has a lot of potential, and it can make good use of compute power.

Simorq 11-11-2017 15:53

Hi Razor12911
Please CLS-Nanozip Source

I think the CLS can be used to build RAZOR

Razor12911 11-11-2017 17:40

Sorry, no longer have my sources :(

oltjon 12-11-2017 02:23

if you have to spend time to make a CLS better do a cls for mcm.exe
LINK

it's really powerful and fast enough and certain repackers that we know use it

ravencrow 19-11-2017 03:45

Quote:

Originally Posted by oltjon (Post 464034)
if you have to spend time to make a CLS better do a cls for mcm.exe
LINK

it's really powerful and fast enough and certain repackers that we know use it

It's CM so fast is a bit wrong. More than that, it scans input data firstly, processes text, media, etc bunched together and then does the same while extracting, which is not possible with cls or stdio, you can't just write a file in output and then recall it to add components in it, It'll give CRC error


All times are GMT -7. The time now is 21:18.

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