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)

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?


All times are GMT -7. The time now is 12:52.

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