Both frozen files live inside the versioned install and neither ships in the zip -- environ.ini is generated on first run, glass_layout.cfg is ours. So Nick extracting the next build would get a cab that comes up wrong with no error anywhere, which is exactly the failure the freeze was supposed to end. Masters now live at the stable C:\bt411\ (podprofile.ini, glass_layout.cfg, podkit.ps1). setup_pod.bat pushes them into the newest BT411_* folder -- run once per extract. runpod.bat resolves the newest install and applies the kit itself, so the remote launch path needs no per-build edit. Re-tuning means editing the MASTER: the apply overwrites the install's copy on purpose, so a moved panel has one place to look. Also records, for playtesting on the cab: all five tester launchers set no pod key at all, so each inherits the rig from environ.ini without knowing the pod exists -- verified by running play_solo.bat on the cart (7 settings applied, not 9, because the bat sets BT_PLATFORM and BT_START_INSIDE itself and the real environment wins). That is the case against a separate pod-only ini: a second file would need every launcher to opt in. Verified: kit re-applies idempotently, and the rewritten runpod.bat brings the cab up correct -- 9 settings, GLASS, -fit borderless, all three surfaces on their intended displays. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rw7No5wLTpkaUgA3ANbtZZ
23 lines
877 B
Batchfile
23 lines
877 B
Batchfile
@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
|