Archiver setup guide for Synchronet Win32

If you are a Synchronet sysop and run the Win32 version of Synchronet, and would like to add support for more file archive formats, this is a guide I've put together for the archive formats I've added to my BBS. You can copy & paste the compress & extract commands from this page into SCFG (Synchronet's configuration program). For archivers that allow configurable compression levels, the compress commands specify maximum compression.

1. First, you'll want to download this file, which contains Win32 command-line archivers for various formats. Unzip that somewhere and place the files somewhere that's in your system's path. Note that that zip file also has a subdirectory in it called izarc - You'll want that directory in your path too.

2. Launch SCFG (Synchronet's confugration program). Go to External Programs > Native Program List. Add the names of the .exe files to that list (I'd recommend both with and without the .exe extension).

3. In SCFG, from the main menu, go to File Options > Extractable Files. Add the following configurations:
Filename extensionExtract command
RARRar x -p- -y %f %s %g
ARJARJ32 x -y %f %g %s
7Z7z x -y -o%g %f %s
TAR7z x -y -o%g %f %s
ARCarc xsw %f %g%s
JARjar32 x -y -o%g %f %s
ACEace32 x -y %f %g %s
LHAizarce -e -o -p%g %f %s
LZHizarce -e -o -p%g %f %s
Also, if you want to use the included pkzip25.exe to extract zip files, this is the extract command:
pkzip25 -extract -NoZipExtension -over=all %f %s %g

If you use InfoZip's unzip tool, this is the command line to extract a zip file (assuming the unzip tool is in your sbbs/exec directory):
%@unzip -Cojqq %f %s -d %g

4. In SCFG, go back to the File Options menu and then select Compressable Files. Add the following configurations:
Filename extensionCompress command
RARRar a -m5 -ep %f %s
ARJARJ32 a -m4 -y -e %f %s
7Z7z a -mx=9 -y %f %s
TAR7z a -ttar -mx=9 -y %f %s
ARCarc asw %f %s
JARjar32 a -m4 -y %f %s
ACEace32 a -m5 -y -ep %f %s
LHAizarcc -a -cx %f %s
LZHizarcc -a -cx %f %s
For zip files, the included pkzip25.exe may provide slightly better compression than the default zip archiver. If you want to use it, this is the compress command:
pkzip25 -add -lev=9 -NoZipExtension %f %s
If you use InfoZip's zip tool, this is the command line to compress a zip file (assuming the zip tool is in your sbbs/exec directory):
%@zip -jD %f %s
Note: With the included JAR utility, there is no way to exclude paths from filenames added to the archive.