From 2d5f1562bdfc8559e44739a1940e6e1aca7fbca3 Mon Sep 17 00:00:00 2001 From: Cyd Date: Thu, 9 Jul 2026 19:53:46 -0500 Subject: [PATCH] Deploy: -SwapMFD flag to trade the two MFD head positions (win3<->win4) Co-Authored-By: Claude Fable 5 --- emulator/render-bridge/pod_deploy.ps1 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/emulator/render-bridge/pod_deploy.ps1 b/emulator/render-bridge/pod_deploy.ps1 index 2b3991d..1515fda 100644 --- a/emulator/render-bridge/pod_deploy.ps1 +++ b/emulator/render-bridge/pod_deploy.ps1 @@ -12,7 +12,9 @@ # .\pod_deploy.ps1 -Conf ..\net_rp.conf (Red Planet) param( [string]$Conf = "$PSScriptRoot\..\net_loop.conf", - [switch]$NoSound + [switch]$NoSound, + [switch]$SwapMFD # swap the two MFD heads' screen positions (win3<->win4) + # if the 3-color / 2-color order was remembered reversed ) $ErrorActionPreference = 'Stop' @@ -28,8 +30,10 @@ $MFD2 = '2080,0,640,480' # Head A, 2-color (LL/LR) -> win3 # 3 head windows (win0/win3/win4), not the 7-window debug spread. $env:VPX_COCKPIT = '1' $env:VPX_WIN0 = $RADAR -$env:VPX_WIN4 = $MFD3 -$env:VPX_WIN3 = $MFD2 +# win4 = 3-color MFD head (HEAD B), win3 = 2-color MFD head (HEAD A). +# $MFD3 is the 1440 slot, $MFD2 the 2080 slot; -SwapMFD trades them. +if ($SwapMFD) { $env:VPX_WIN4 = $MFD2; $env:VPX_WIN3 = $MFD3 } +else { $env:VPX_WIN4 = $MFD3; $env:VPX_WIN3 = $MFD2 } # Main render window size = the main display's native res. $env:BRIDGE_W = "$MAIN_W" $env:BRIDGE_H = "$MAIN_H"