Files
TeslaRel410/sda4/VGL_LABS/GO.BAT
T
CydandClaude Fable 5 db7745fcd0 sda4: commit the Glaze developer hard-drive dump
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>
2026-07-04 19:41:15 -05:00

52 lines
2.0 KiB
Batchfile

echo off
rem ***********************************************************************
rem * This script runs multiple games of your prefered game, it will
rem * run in error logging or error exit mode based on the setting of
rem * some other environmentals
rem ***********************************************************************
rem *** Change to the right drive and the right directory
%HOMEDRIV%
cd %HOMEDIR%\%PREFGAME%
rem *** Set game environmentals up
call setenv d d d d d
32rtm -x
:go
rem *** Force the screen mode so we can see this message
mode co80
echo *** Preparing for %PREFGAME% translocation in %PREFOPT% mode ***
if "%REVIEW%"=="1" echo *** Camera ship in mission review mode ***
rem *** Run the game
if "%PREFMODE%"=="ERRORNONE" goto errnone
netnub %PREFSWITCH% -f %PREFGAME%l4%PREFOPT% >> %HOMEDIR%\%PREFGAME%log
goto errchk
:errnone
netnub %PREFSWITCH% -f %PREFGAME%l4%PREFOPT% > nul
rem
rem *** Check for errors and report them
rem
:errchk
if not ERRORLEVEL 1 goto go
mode co80
rem
rem *** Write notice of the error out to the log file
rem
echo %PREFGAME%L4%PREFOPT% exited with an error>>%HOMEDIR%\%PREFGAME%log
if "%REVIEW%"=="1" echo While running a mission review ***>>%HOMEDIR%\%PREFGAME%log
echo The error above occurred at>>%HOMEDIR%\%PREFGAME%log
time <c:\vgl_labs\cr>>%HOMEDIR%\%PREFGAME%log
date <c:\vgl_labs\cr>>%HOMEDIR%\%PREFGAME%log
echo **********************************************************************>>%HOMEDIR%\%PREFGAME%log
rem
rem *** Now write an error notice out on the cockpit screen
rem
echo **********************************************************************
echo ******** %PREFGAME%L4%PREFOPT% translocation error
if "%REVIEW%"=="1" echo ******** While running a mission review ***
if "%PREFMODE%"=="ERRORLOG" goto go
if "%PREFMODE%"=="ERRORNONE" goto go
echo ******** %PREFGAME%L4%PREFOPT% going back to DOS
echo ******** Check %PREFGAME%log for errors
echo **********************************************************************
32rtm -u
cd %HOMEDIR%