@echo off REM BT411 pod -- ALPHA-MR. Resolves the NEWEST BT411_* install, applies the REM frozen rig config (so a fresh zip drop needs no hand-editing), and launches REM straight into a mission. The rig itself is frozen in content\environ.ini; REM this carries only the log switches and the mission. REM Fallback if the kit is ever lost: runpod_env.bat sets everything inline. setlocal set ROOT=C:\bt411 set INSTALL= for /f "delims=" %%d in ('dir /b /ad /o-d "%ROOT%\BT411_*" 2^>nul') do ( if not defined INSTALL set INSTALL=%ROOT%\%%d ) if not defined INSTALL goto noinstall powershell -NoProfile -ExecutionPolicy Bypass -File "%ROOT%\podkit.ps1" -Content "%INSTALL%\content" >nul cd /d %INSTALL%\content set BT_GLASS_LOG=1 set BT_LOG=podrun.log start "" ..\build\Release\btl4.exe -egg PODTEST.EGG exit /b :noinstall echo No BT411_* folder found under %ROOT%. exit /b 1