;config file for the [U]niversal [P]acker [S]cript
;written 1995/96 by Ali Rene Schams-Pirzadeh

;the priority of this task
TASKPRI -8

;the size of the stack
STACK 400000

;fix the extension of the archive if the packer returns anything not zero
;NO_FIXEXTENSION
FIXEXTENSION

;delete all empty archives (e.g. zip-archive with size < 122)
;NO_DEL0SIZE
DEL0SIZE

;the name of the standard temp-dir
TMPDIR1 "T1:"

;the name of temp-dir with lot of space
TMPDIR2 "T2:"

;the returncode if error occured
errorcode 200

;path/name of a tool to detect maximum free space on a directory
;FREEUTIL "c:free"
FREEUTIL "sys:utils/free"

;The command to copy a file
COPY "c:copy"

;The command to delete a file
DELETE "c:delete"

;optional. The command to rename a file
RENAME "c:rename"

;--------------------> APE <--------------------
APE.E    "execute s:APE x"
APE.X    "execute s:APE x"
APE.V    "execute s:APE v"
APE.L    "execute s:APE v"
APE.A    "execute s:APE a"
APE.R    "execute s:APE a"
APE.T    "execute s:APE t"
APE.d    "execute s:APE d"

;--------------------> ARC <--------------------
ARC.E    "execute s:PKAX -e"
ARC.X    "execute s:PKAX -x"
ARC.V    "execute s:PKAX -v"
ARC.L    "execute s:PKAX -v"
ARC.A    "execute s:ARC a"
ARC.R    "execute s:ARC a"
ARC.T    "execute s:PKAX -t"
ARC.d    "execute s:ARC d"

;--------------------> ARJ <--------------------
ARJ.E    "execute s:UNARJ e"
ARJ.X    "execute s:UNARJ x"
ARJ.V    "execute s:UNARJ l"
ARJ.L    "execute s:UNARJ l"
;arj.a does not exist
;arj.r does not exist
ARJ.T    "execute s:UNARJ t"
;arj.d does not exist

;--------------------> RAR <--------------------
RAR.E    "execute s:UNRAR e"
RAR.X    "execute s:UNRAR x"
RAR.V    "execute s:UNRAR l"
RAR.L    "execute s:UNRAR l"
;RAR.a does not exist
;RAR.r does not exist
RAR.T    "execute s:UNRAR t"
;RAR.d does not exist

;--------------------> LHA <--------------------
LHA.E    "execute s:LHA.y -a -r e"
LHA.X    "execute s:LHA.y -a -r x"
LHA.V    "execute s:LHA.y -a -r v"
LHA.L    "execute s:LHA.y -a -r v"
LHA.A    "execute s:LHA.y -a a"
LHA.R    "execute s:LHA.y -a -r a"
LHA.T    "execute s:LHA.y -a -r t"
LHA.d    "execute s:LHA.y -a -r d"

;--------------------> LZH <--------------------
;(stands for archives made by LhArc/LZ, since their extension is .lzh)
LZH.E  "execute s:LHA.y -0 -a -r e"
LZH.X  "execute s:LHA.y -0 -a -r x"
LZH.V  "execute s:LHA.y -0 -a -r v"
LZH.L  "execute s:LHA.y -0 -a -r v"
LZH.A  "execute s:LHA.y -0 -a a"
LZH.R  "execute s:LHA.y -0 -a -r a"
LZH.T  "execute s:LHA.y -0 -a -r t"
LZH.D  "execute s:LHA.y -0 -a -r d"

;--------------------> LZX <--------------------
LZX.E    "execute s:LZX.y -r e"
LZX.X    "execute s:LZX.y -r x"
LZX.V    "execute s:LZX.y -r v"
LZX.L    "execute s:LZX.y -r v"
LZX.A    "execute s:LZX.y a"
LZX.R    "execute s:LZX.y -r a"
LZX.T    "execute s:LZX.y -r t"
LZX.d    "execute s:LZX.y -r d"

;--------------------> ZIP <--------------------
ZIP.E    "execute s:UNZIP.y -e"
ZIP.X    "execute s:UNZIP.y -x"
ZIP.V    "execute s:UNZIP.y -l"
ZIP.L    "execute s:UNZIP.y -v"
ZIP.A    "execute s:ZIP"
ZIP.R    "execute s:ZIP -r"
ZIP.T    "execute s:UNZIP.y -t"
ZIP.D    "execute s:ZIP -d"

;--------------------> ZOO <--------------------
ZOO.E    "execute s:ZOO.y e"
ZOO.X    "execute s:ZOO.y x"
ZOO.V    "execute s:ZOO.y v"
ZOO.L    "execute s:ZOO.y l"
ZOO.A    "execute s:ZOO.y a"
ZOO.R    "execute s:ZOO.y -r a"
ZOO.T    "execute s:ZOO.y t"
ZOO.D    "execute s:ZOO.y D"
