@echo off REM BT411 pod -- HARDWARE RIO test. Same frozen glass/RGB rig, but the input REM device is the real cockpit board on COM1 instead of PadRIO. REM L4CONTROLS=RIO:COM1 -> RIO opens \.\COM1 at 9600 8N1 (L4SERIAL). REM KEYBOARD stays in the list so the cab is still playable if the board is REM dead -- a silent loss of all input would be indistinguishable from a hang. 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 L4CONTROLS=RIO:COM1,KEYBOARD set BT_CTRLMAP_LOG=1 set BT_GLASS_LOG=1 set BT_LOG=podrio.log start "" ..\build\Release\btl4.exe -egg PODTEST.EGG exit /b :noinstall echo No BT411_* folder found under %ROOT%. exit /b 1