PDA

View Full Version : tar+lzma+srep64i+precomp+Arc


rYL
02-10-2014, 01:06
can someone explained me how to add external compressors in my compiled script for FreeArc compressor including External compressor inside arc.ini? please reply!

and how to use lzma?

ChronoCross
04-10-2014, 07:53
hello @rYL.
first write your code correctly:

tar+precomp+srep64i+lzma (arc is not nesessary)

example: you have a file of 10 mb

tar=10 mb
precomp=20mb
srep=12 mb
lzma=4 mb

[External compressor:precomp]
header = 0
packcmd = precomp -intense0 -cn- {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:srep]
header = 0
packcmd = srep {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:srep64]
header = 0
packcmd = srep64 {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:lzma64]

header = 0

packcmd = lzma64 e lzma{:option} <stdin> <stdout>
unpackcmd = lzma64 d lzma{:option} <stdin> <stdout>


LZMA64I=COMPILED FOR INTEL optimization

this compression is good
-msrep:l256+lzma:a1:mfbt4:d200m:fb128:mc1000:lc8



have you the last update? 10088
arc 12-sep-2014
srep 3.93 beta 30-sep-2014

Carldric Clement
08-10-2014, 14:46
hello @rYL.
first write your code correctly:

tar+precomp+srep64i+lzma (arc is not nesessary)

example: you have a file of 10 mb

tar=10 mb
precomp=20mb
srep=12 mb
lzma=4 mb

[External compressor:precomp]
header = 0
packcmd = precomp -intense0 -cn- {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:srep]
header = 0
packcmd = srep {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:srep64]
header = 0
packcmd = srep64 {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:lzma64]

header = 0

packcmd = lzma64 e lzma{:option} <stdin> <stdout>
unpackcmd = lzma64 d lzma{:option} <stdin> <stdout>


LZMA64I=COMPILED FOR INTEL optimization

this compression is good
-msrep:l256+lzma:a1:mfbt4:d200m:fb128:mc1000:lc8



have you the last update? 10088
arc 12-sep-2014
srep 3.93 beta 30-sep-2014

Another method using ultra:

arc.exe a -ep1 -r -ed -lc512 -ld1600m -mt2 -w./ -msrep+delta+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 "Data_01.bin" "C:\Games\MyGames\*"

:rolleyes::cool: