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 extension | Extract command |
---|---|
RAR | Rar x -p- -y %f %s %g |
ARJ | ARJ32 x -y %f %g %s |
7Z | 7z x -y -o%g %f %s |
TAR | 7z x -y -o%g %f %s |
ARC | arc xsw %f %g%s |
JAR | jar32 x -y -o%g %f %s |
ACE | ace32 x -y %f %g %s |
LHA | izarce -e -o -p%g %f %s |
LZH | izarce -e -o -p%g %f %s |
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 extension | Compress command |
---|---|
RAR | Rar a -m5 -ep %f %s |
ARJ | ARJ32 a -m4 -y -e %f %s |
7Z | 7z a -mx=9 -y %f %s |
TAR | 7z a -ttar -mx=9 -y %f %s |
ARC | arc asw %f %s |
JAR | jar32 a -m4 -y %f %s |
ACE | ace32 a -m5 -y -ep %f %s |
LHA | izarcc -a -cx %f %s |
LZH | izarcc -a -cx %f %s |