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>
58 lines
1.0 KiB
Batchfile
58 lines
1.0 KiB
Batchfile
@echo off
|
|
rem
|
|
rem zipvid.bat for BattleTech
|
|
rem
|
|
set c0=s:
|
|
set c1=\resource\BT\l4
|
|
set c2=video.zip
|
|
set c3=video\*.*
|
|
set v0=
|
|
if "%1"=="-c" set v0=a
|
|
if "%1"=="-C" set v0=a
|
|
if "%1"=="-u" set v0=u
|
|
if "%1"=="-U" set v0=u
|
|
if not "%v0%"=="" goto Check
|
|
:Usage
|
|
echo.
|
|
echo usage: zipvid.bat option
|
|
echo.
|
|
echo '-c' - create %c0%%c1%\%c2%
|
|
echo '-u' - update %c0%%c1%\%c2%
|
|
echo.
|
|
goto End
|
|
:Check
|
|
if exist %c0%%c1%\%c3% goto Process
|
|
echo.
|
|
echo Error - No files found at %c0%%c1%\%c3%. Check drive %c0%.
|
|
echo.
|
|
goto End
|
|
:Process
|
|
if not exist %tmp%\nul goto BadTmp
|
|
set v1=process
|
|
if "%v0%"=="a" set v1=creat
|
|
if "%v0%"=="u" set v1=updat
|
|
echo.
|
|
echo %v1%ing %c0%%c1%\%c2%
|
|
echo.
|
|
push %c0%%c1%
|
|
s:
|
|
attrib -r %c2%
|
|
if "%v0%"=="a" del %c2%
|
|
pkzip.exe -b%tmp% -eX -o -%v0% -r -P %c2% %c3%
|
|
attrib +r %c2%
|
|
pop
|
|
echo done.
|
|
goto End
|
|
:BadTmp
|
|
echo.
|
|
echo Error - Tmp directory '%tmp%' missing or undefined.
|
|
echo.
|
|
goto End
|
|
:End
|
|
set c0=
|
|
set c1=
|
|
set c2=
|
|
set c3=
|
|
set v0=
|
|
set v1=
|