diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-26 16:55:04 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-26 16:55:04 -0500 |
| commit | df92abca8ee2a8f9093efea7fcaa4dadc3ddaebc (patch) | |
| tree | 97ef8f95544fe263049d3f7360823f16100de209 /scripts/windows-boot | |
| parent | 49a0b69fcdb80db1f2a44ce7ca0ab8dfdec1e403 (diff) | |
| parent | e5a7c8942678b323f655939c81f5d8855d20c248 (diff) | |
Merge main e5a7c8942 into shadow-aliased-guard (#1867)
One conflict, runtime/README.md: this branch rewrote the LEONIDA_SHADOW_ALIAS_MS
row, main (#2163) added the LEONIDA_SHADOW_KEEP row after it. Both rows kept;
the keep row's "aliased" now reads "aliased while they can't be guarded at every
address", since aliased pages are no longer copied without a sign of a write.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/windows-boot')
| -rw-r--r-- | scripts/windows-boot/boot.ps1 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/windows-boot/boot.ps1 b/scripts/windows-boot/boot.ps1 index 7863054b3..db11e4e76 100644 --- a/scripts/windows-boot/boot.ps1 +++ b/scripts/windows-boot/boot.ps1 | |||
| @@ -50,7 +50,8 @@ | |||
| 50 | 50 | ||
| 51 | .PARAMETER InputScript | 51 | .PARAMETER InputScript |
| 52 | LEONIDA_INPUT_SCRIPT: timed pad presses, seconds since the pad's first poll (button@seconds, comma-separated; | 52 | LEONIDA_INPUT_SCRIPT: timed pad presses, seconds since the pad's first poll (button@seconds, comma-separated; |
| 53 | buttons a b x y start back lb rb up down left right). Sets LEONIDA_KEYBOARD_PAD=always. Builds older than | 53 | buttons a b x y start back lb rb up down left right). Each press is held 300 ms; button@seconds:hold holds it |
| 54 | longer, e.g. b@1100:3 for a title that reads its pad only every few seconds. Sets LEONIDA_KEYBOARD_PAD=always. Builds older than | ||
| 54 | main @ 8146ef690 ignore a script longer than 63 characters. Default 'a@45,a@60,a@75,a@90'. | 55 | main @ 8146ef690 ignore a script longer than 63 characters. Default 'a@45,a@60,a@75,a@90'. |
| 55 | 56 | ||
| 56 | .PARAMETER NoInput | 57 | .PARAMETER NoInput |
| @@ -75,6 +76,9 @@ | |||
| 75 | .PARAMETER ExtraArgs | 76 | .PARAMETER ExtraArgs |
| 76 | More gta6rt arguments, appended after the standard ones. | 77 | More gta6rt arguments, appended after the standard ones. |
| 77 | 78 | ||
| 79 | .PARAMETER FirstRunUi | ||
| 80 | Launch with the offline first-run UI profile instead of the generic runtime profile. | ||
| 81 | |||
| 78 | .PARAMETER Python | 82 | .PARAMETER Python |
| 79 | 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. |
| 80 | 84 | ||
| @@ -118,6 +122,7 @@ param( | |||
| 118 | [switch]$NoCapture, | 122 | [switch]$NoCapture, |
| 119 | [switch]$NoInput, | 123 | [switch]$NoInput, |
| 120 | [string[]]$ExtraArgs = @(), | 124 | [string[]]$ExtraArgs = @(), |
| 125 | [switch]$FirstRunUi, | ||
| 121 | [string]$Python = "", | 126 | [string]$Python = "", |
| 122 | [int]$SummaryLines = 40, | 127 | [int]$SummaryLines = 40, |
| 123 | [int]$LockWaitSeconds = 3600, | 128 | [int]$LockWaitSeconds = 3600, |
| @@ -277,7 +282,8 @@ foreach ($pair in $EnvPairs) { | |||
| 277 | } | 282 | } |
| 278 | if ($bootEnv["LEONIDA_CAPTURE"]) { $Capture = $bootEnv["LEONIDA_CAPTURE"] } | 283 | if ($bootEnv["LEONIDA_CAPTURE"]) { $Capture = $bootEnv["LEONIDA_CAPTURE"] } |
| 279 | 284 | ||
| 280 | $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 | ||
| 281 | $argLine = ($gameArgs | ForEach-Object { ConvertTo-ProcessArgument ([string]$_) }) -join " " | 287 | $argLine = ($gameArgs | ForEach-Object { ConvertTo-ProcessArgument ([string]$_) }) -join " " |
| 282 | 288 | ||
| 283 | if (-not $DigestOnly) { | 289 | if (-not $DigestOnly) { |