Un-ignored: the dev drive is the ground truth the restoration and emulator work constantly reference (DPL3/LIBDPL + VRENDER i860 renderer source, BT/RP live+dev game trees, VGL_LABS pod boot, scene/audio content). Kept in-repo for the pod-owner community. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
59 lines
1.3 KiB
Batchfile
59 lines
1.3 KiB
Batchfile
@echo off
|
|
echo **************************************************************
|
|
echo * first argument is "a" to build an all new archive or *
|
|
echo * "f" to freshen an existing one. Second argument is the *
|
|
echo * directory to place the archive (default is root) The files *
|
|
echo * to be archived are located in "arcfiles.lst" which MUST *
|
|
echo * also be on your disk or this won't work. GAC 6/23/95 *
|
|
echo **************************************************************
|
|
|
|
set a3=arcfiles.lst
|
|
set s1=exclude.lst
|
|
if not "%3"=="" set a3=%3
|
|
if not exist %a3% goto NOLISTFILE
|
|
if not exist %s1% goto NOEXCLUDEFILE
|
|
|
|
if "%1"=="a" goto BUILD
|
|
|
|
if "%1"=="f" goto FRESHEN
|
|
|
|
goto USAGE
|
|
|
|
:BUILD
|
|
echo on
|
|
pkzip -a -P -eX -x@%s1% %2\bt.zip @%a3%
|
|
@echo off
|
|
goto END
|
|
|
|
:FRESHEN
|
|
echo on
|
|
pkzip -u -P -eX -x@%s1% %2\bt.zip @%a3%
|
|
@echo off
|
|
goto END
|
|
|
|
:NOLISTFILE
|
|
echo.
|
|
echo Listfile '%a3%' not in current directory.
|
|
echo.
|
|
goto END
|
|
|
|
:NOEXCLUDEFILE
|
|
echo.
|
|
echo Excludefile '%s1%' not in current directory.
|
|
echo.
|
|
goto END
|
|
|
|
:USAGE
|
|
echo.
|
|
echo usage: arcbt mode [[drive] listfile]
|
|
echo mode a build archive from scratch
|
|
echo f freshen existing archive
|
|
echo drive for archive file
|
|
echo listfile specifies what files to store in archive
|
|
echo.
|
|
goto END
|
|
|
|
:END
|
|
set s1=
|
|
set a3=
|