Short: Pack using XPK, adaptive, recursive Author: wepl@whdload.org (Bert Jahn) Uploader: wepl@whdload.org (Bert Jahn) Version: 1.0 Type: util/pack this program will compress files using the XPK system. multiple pack modes can be specified, all of them will tested and the one with the best compression factor will be used. xPackBest can recursively compress a directory tree, optionally only files which match a specified pattern. usage: xPackBest Input/A,Modes/M/A,MinRatio/K/N,Pattern/K Input/A data to compress, if a file only this file will be packed, if a directory the whole tree will be packed recursively Modes/M/A mode to use for compression, contains of the name of the XPK sublib and an integer value separeted with a dot, e.g. SHRI.100 MinRatio/K/N minimum of compression ratio in percent that a file will be saved, default is 3% which means that the filesize must be reduced of at least 3% Pattern/K standard AmigaDOS pattern specifing files in recursive mode to work on example: that packs all diskimages of my whdload installed games (the intention to write this program ;-) xPackBest HD42:Games MASH.100 SQSH.100 Pattern=disk.[1-9] misc: - the program switches itself to a task priority of -1 version 1.0 (27.04.01) - initial release May the source be with you... ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 1389 374 73.0% 19-May-98 22:03:30 +ntypes.i 6421 2436 62.0% 17-Jan-99 15:21:50 +devices.i 6666 2329 65.0% 29-Jun-00 00:41:16 +dosio.i 3355 1451 56.7% 04-Jan-00 00:42:04 +error.i 8929 2539 71.5% 25-Jun-99 00:13:32 +files.i 9246 3195 65.4% 25-Jun-99 00:13:34 +strings.i 11548 3323 71.2% 27-Apr-01 23:02:56 +xpackbest.asm 2456 1665 32.2% 27-Apr-01 23:02:58 xPackBest 1348 720 46.5% 28-Apr-01 00:21:40 xPackBest.readme -------- ------- ----- --------- -------- 51358 18032 64.8% 29-Apr-101 06:20:20 9 files