diff options
| author | OpenAI Codex <codex@openai.invalid> | 2026-11-26 13:19:28 +1000 |
|---|---|---|
| committer | OpenAI Codex <codex@openai.invalid> | 2026-11-29 01:35:29 +1000 |
| commit | 39b900ad7781bc1bbdeb5696f8d8a1f5a6ac5af5 (patch) | |
| tree | 5e1781e2485f278ccd8dd2be28056f6629bf257c /scripts | |
| parent | dacbc16566dd0ff165d9a60f5c70581982872b5f (diff) | |
tools: read boot timeline states from the configured RVAs
Use the state addresses supplied to the boot script, with command-line overrides for saved logs. Retain #1789's input validation and file-error behavior. Adapt both parser test suites to synthetic addresses.
Original implementation AI-assisted by OpenAI Codex (gpt-6.2-astra).
Upstream reconciliation AI-assisted by OpenAI Codex (GPT-6).
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/windows-boot/README.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/windows-boot/README.md b/scripts/windows-boot/README.md index 3a875af4b..cd31cb3ca 100644 --- a/scripts/windows-boot/README.md +++ b/scripts/windows-boot/README.md | |||
| @@ -76,6 +76,10 @@ How to read the states: game state `0x7446510` goes 1, 2 (init), 3 (running); se | |||
| 76 | screen waiting for A), `d` after A. `docs/linux_proton.md` (the same stages apply natively) | 76 | screen waiting for A), `d` after A. `docs/linux_proton.md` (the same stages apply natively) |
| 77 | section 2 has the healthy sequence with times and section 3 "which blank do you have". | 77 | section 2 has the healthy sequence with times and section 3 "which blank do you have". |
| 78 | 78 | ||
| 79 | To pair scripted presses with state changes after a run, use `python -I tools/stage_timeline.py LOG` with the same | ||
| 80 | two environment variables. For a saved log, `--game-state-rva` and `--session-state-rva` override them. If the log | ||
| 81 | also records the loading-screen state, pass its hex RVA with `--load-state-rva` to see when the screen ended. | ||
| 82 | |||
| 79 | ## One game at a time | 83 | ## One game at a time |
| 80 | 84 | ||
| 81 | The script holds the named mutex `Local\LeonidaGameBoot` for the whole boot and also waits while any `gta6rt.exe` | 85 | The script holds the named mutex `Local\LeonidaGameBoot` for the whole boot and also waits while any `gta6rt.exe` |