View Single Post
  #3  
Old 22-10-2017, 00:53
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
Quote:
Originally Posted by S-Ghost View Post
Thanks Simorq , but what is this :{compressor} mean ?

Can i use it with .bat file

Please i want to learn basics of repacking.

Thanks again simorq ..
{compressor} is a constant recognized by FREEARC that replaces the name of the external compressor,
if you have several external compressors with the same settings you can use this constant to avoid creating additional section In the configuration file:


Example with similar parameters:

Code:
[External compressor:precomp038]
header=0
default=-slow -c9 -m9
packcmd=precomp038 {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd=precomp038 -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:precomp040]
header=0
default=-slow -c9 -m9
packcmd=precomp040 {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd=precomp040 -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

Can be replaced by that:

Code:
[External compressor:precomp038,precomp040]
header=0
default=-slow -c9 -m9
packcmd={compressor} {options} -o$$arcpackedfile$$.tmp $$arcdatafile$$.tmp
unpackcmd={compressor} -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp
__________________
Practice makes perfect.
Reply With Quote
The Following 3 Users Say Thank You to JRD! For This Useful Post:
EzzEldin16 (12-05-2018), S-Ghost (22-10-2017), Simorq (22-10-2017)