upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZroFreaks <42916282+ZroIsHere@users.noreply.github.com>2026-11-26 17:49:58 +0100
committerZroFreaks <42916282+ZroIsHere@users.noreply.github.com>2026-11-26 17:49:58 +0100
commitee470192461a2911aa204cfecf9fdccb265a8b5f (patch)
tree6e5d5d405e17e6160d6ac3fa6c1491535bb6acf8 /scripts
parent4e93ea9ef3fd48431bee7d17705f62a69023ab57 (diff)
Improve first-run input diagnostics
Diffstat (limited to 'scripts')
-rw-r--r--scripts/windows-boot/boot.ps17
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/windows-boot/boot.ps1 b/scripts/windows-boot/boot.ps1
index 4a80dedfd..db11e4e76 100644
--- a/scripts/windows-boot/boot.ps1
+++ b/scripts/windows-boot/boot.ps1
@@ -76,6 +76,9 @@
76.PARAMETER ExtraArgs 76.PARAMETER ExtraArgs
77 More gta6rt arguments, appended after the standard ones. 77 More gta6rt arguments, appended after the standard ones.
78 78
79.PARAMETER FirstRunUi
80 Launch with the offline first-run UI profile instead of the generic runtime profile.
81
79.PARAMETER Python 82.PARAMETER Python
80 Python 3.12+ used for tools/boot_trace.py. Default: python, else py -3. 83 Python 3.12+ used for tools/boot_trace.py. Default: python, else py -3.
81 84
@@ -119,6 +122,7 @@ param(
119 [switch]$NoCapture, 122 [switch]$NoCapture,
120 [switch]$NoInput, 123 [switch]$NoInput,
121 [string[]]$ExtraArgs = @(), 124 [string[]]$ExtraArgs = @(),
125 [switch]$FirstRunUi,
122 [string]$Python = "", 126 [string]$Python = "",
123 [int]$SummaryLines = 40, 127 [int]$SummaryLines = 40,
124 [int]$LockWaitSeconds = 3600, 128 [int]$LockWaitSeconds = 3600,
@@ -278,7 +282,8 @@ foreach ($pair in $EnvPairs) {
278} 282}
279if ($bootEnv["LEONIDA_CAPTURE"]) { $Capture = $bootEnv["LEONIDA_CAPTURE"] } 283if ($bootEnv["LEONIDA_CAPTURE"]) { $Capture = $bootEnv["LEONIDA_CAPTURE"] }
280 284
281$gameArgs = @("--run", $Exe, "--game-dir", $GameDir, "--overlay", $Overlay, "--trace", $TraceFile, "--trace-d3d12") + $ExtraArgs 285$launchMode = if ($FirstRunUi) { "--first-run-ui" } else { "--run" }
286$gameArgs = @($launchMode, $Exe, "--game-dir", $GameDir, "--overlay", $Overlay, "--trace", $TraceFile, "--trace-d3d12") + $ExtraArgs
282$argLine = ($gameArgs | ForEach-Object { ConvertTo-ProcessArgument ([string]$_) }) -join " " 287$argLine = ($gameArgs | ForEach-Object { ConvertTo-ProcessArgument ([string]$_) }) -join " "
283 288
284if (-not $DigestOnly) { 289if (-not $DigestOnly) {