View Single Post
  #77  
Old 28-04-2018, 17:02
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 642
Thanks: 3,602
Thanked 1,308 Times in 464 Posts
Simorq is on a distinguished road
Quote:
Originally Posted by darkwolves View Post
the only thing i see wrong is the fact i have to manually type in zlib or crilayla
in the arc.ini packcmd it doesn't work if both are present only the one you are trying to precompress
Code:
Arc.ini
[Compression Methods]
Zlib = xprecomp:c32mb,t100p:zlib
Cri  = xprecomp:c32mb,t1:crilayla

[External compressor:xprecomp]
header    = 0
default = :c32mb,t100p:zlib
packcmd   = XTool e:precomp{:option} - - <stdin> <stdout>
unpackcmd = XTool d:precomp:t100p - - <stdin> <stdout>
Bat
Code:
:-ioff         --shutdown
Arc create --cache=1k -ma9 -dses -ep1 -ed -i2 -r -s; -w.\Temp -dp"Pack" -mZlib Test.Bin
RD /S /Q TEMP
pause

Last edited by Simorq; 28-04-2018 at 17:05.
Reply With Quote