Files
TeslaRel410/CONTENT/BT/BTPREP.BAT
T
CydandClaude Fable 5 fdd9ac9d97 Initial import: Tesla Release 4.10 (Tesla:BattleTech & Tesla:Red Planet)
Archival snapshot of the Virtual World Entertainment Tesla cockpit
software, 1994-1996: MUNGA engine and L4 pod layer source (Borland
C++ 5.0), BT/RP game code, and game content (models, audio, maps,
gauges, Division renderer data). Includes third-party libraries:
Division dVS/DPL graphics, HMI SOS audio, WATTCP networking.

Files are preserved byte-for-byte (.gitattributes disables all
line-ending conversion). README.md documents the layout, target
hardware, and toolchain.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 13:21:58 -05:00

45 lines
1.2 KiB
Batchfile

@echo off
rem
rem usage: btprep.bat [course [vehicle [dropzone [inifile]]]]
rem
rem ------------------------------------------------------------------
rem L4ANIMATION=scale (default = 1.0 NEVER make zero or negative)
rem ------------------------------------------------------------------
set L4ANIMATION=1.0
rem ------------------------------------------------------------------
if "%1"=="" set a1=arena1
if not "%1"=="" set a1=%1
if not exist maps\%a1%.map goto nomap
rem ------------------------------------------------------------------
if "%2"=="" set a2=thor
if not "%2"=="" set a2=%2
if not exist models\%a2%.mod goto noveh
rem ------------------------------------------------------------------
set A4DPLCFG=
if "%4"=="" goto bt
set A4DPLCFG=%4.ini
if not exist %A4DPLCFG% goto noenv
rem ------------------------------------------------------------------
:bt
call makeegg.bat %a1% %a2% %3
call bt.bat temp
goto end
:nomap
echo.
echo Course '%a1%' not found.
echo.
goto end
:noveh
echo.
echo Vehicle '%a2%' not found.
echo.
goto end
:noenv
echo.
echo Renderer configuration file '%A4DPLCFG%' not found.
echo.
goto end
:end
set a2=
set a1=