View Single Post
  #582  
Old 27-11-2016, 06:40
MCWRX MCWRX is offline
Registered User
 
Join Date: Nov 2013
Location: Moldova
Posts: 19
Thanks: 6
Thanked 2 Times in 2 Posts
MCWRX is on a distinguished road
Quote:
Originally Posted by PrinceGupta2000 View Post
for lzma2, lc+lp cannot be larger then 4.
thank you.

One more thing, when I try to unpack the archive, I get "Unsupported compression method srep:m3f:a1:l512"

This is my .bat file

Code:
-msrep:m3f:a1:l512+delta+xz
And arc.ini

Code:
[External compressor:srep]
;options  = l%d (minimal match length, default=512)
header = 0
packcmd   = srep64 {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:xz]
header = 0
packcmd   = xz a -txz -an -mcrc=0 -m1=lzma2:d200m:fb=273:mf=bt4:mc=1000000 -mmt=4 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>
I copied dec.exe (for unpacking) to my script folder and defined it inside the script

Code:
#define XZ

#ifdef XZ
Source: ISDone\dec.exe; DestDir: {tmp}; Flags: dontcopy
#endif

#ifdef XZ
    ExtractTemporaryFile('dec.exe');
#endif
Thanks in advance.
Reply With Quote