Add Desktop Screen Sharing configuration options: enable FPS override, adjust serialization rates, and include diagnostic logging for dev menu presence

This commit is contained in:
Alexa
2026-06-04 11:47:05 +03:00
parent f0d24d0858
commit 31e2cf7389
3 changed files with 479 additions and 1 deletions
+13
View File
@@ -446,6 +446,19 @@ $cfg = [ordered]@{
# toggle key (a UnityEngine.KeyCode name; BackQuote = the `~` key).
EnableDebugConsole = $false
DebugConsoleToggleKey = 'BackQuote'
# Desktop Screen Sharing gadget FPS. 0 = leave the game's baked rate
# (~5 fps). Set a target (e.g. 30) to override it; the mod also raises
# the Photon serialization rate so the higher capture rate actually
# transmits (RaisePhotonRate). Resolution/Quality 0 = keep prefab values
# — lower them if 30 fps saturates bandwidth.
DesktopScreenShareFps = 0
DesktopScreenShareRaisePhotonRate = $true
DesktopScreenShareResolution = 0
DesktopScreenShareQuality = 0
# One-shot dev-UI diagnostic: logs (once, ~5s after load) whether the
# watch's native dev menu content exists in this build vs is stripped,
# and whether the debug console's static command path works. Log-only.
DiagnoseDevMenu = $false
}
Write-Step "Writing mod config -> $cfgPath"
[System.IO.File]::WriteAllText($cfgPath, ($cfg | ConvertTo-Json -Depth 4))