View Single Post
  #586  
Old 12-12-2016, 10:09
aswadd's Avatar
aswadd aswadd is offline
Registered User
 
Join Date: Aug 2016
Location: Egypt
Posts: 316
Thanks: 84
Thanked 162 Times in 98 Posts
aswadd is on a distinguished road
Quote:
Originally Posted by MCWRX View Post
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.

{-option } u forgot - this will make the whole srep options don't work
packcmd = srep {-option } $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
__________________
~ Greetz to anyone teached me anything ~
Reply With Quote
The Following User Says Thank You to aswadd For This Useful Post:
ZAZA4EVER (31-12-2016)
Sponsored Links