Deploy: -SwapMFD flag to trade the two MFD head positions (win3<->win4)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,7 +12,9 @@
|
|||||||
# .\pod_deploy.ps1 -Conf ..\net_rp.conf (Red Planet)
|
# .\pod_deploy.ps1 -Conf ..\net_rp.conf (Red Planet)
|
||||||
param(
|
param(
|
||||||
[string]$Conf = "$PSScriptRoot\..\net_loop.conf",
|
[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'
|
$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.
|
# 3 head windows (win0/win3/win4), not the 7-window debug spread.
|
||||||
$env:VPX_COCKPIT = '1'
|
$env:VPX_COCKPIT = '1'
|
||||||
$env:VPX_WIN0 = $RADAR
|
$env:VPX_WIN0 = $RADAR
|
||||||
$env:VPX_WIN4 = $MFD3
|
# win4 = 3-color MFD head (HEAD B), win3 = 2-color MFD head (HEAD A).
|
||||||
$env:VPX_WIN3 = $MFD2
|
# $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.
|
# Main render window size = the main display's native res.
|
||||||
$env:BRIDGE_W = "$MAIN_W"
|
$env:BRIDGE_W = "$MAIN_W"
|
||||||
$env:BRIDGE_H = "$MAIN_H"
|
$env:BRIDGE_H = "$MAIN_H"
|
||||||
|
|||||||
Reference in New Issue
Block a user