mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:05:53 +01:00
[PR #2186] tools: read boot timeline states from the configured RVAs #2190
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2190
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2186
Author: @ecox982745
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:ed/stage-timeline-peek-rvas📝 Commits (1)
132b131tools: read boot timeline states from the configured RVAs📊 Changes
3 files changed (+108 additions, -17 deletions)
View changed files
📝
scripts/windows-boot/README.md(+4 -0)➕
tests/test_stage_timeline_rvas.py(+75 -0)📝
tools/stage_timeline.py(+29 -17)📄 Description
Claimed in the coordination issue as TOOL-STAGE-TIMELINE-PEEK-RVAS. This follows aslan2142’s finding after #2138 merged.
What and why
The boot script now records locally configured state addresses. The offline timeline still looked up three fixed addresses. A log recorded with different addresses could report “no title state yet” throughout a run and pair presses with misleading transitions.
The timeline now uses
LEONIDA_GAME_STATE_RVAandLEONIDA_SESSION_STATE_RVA. Each can be overridden on the command line for saved logs.--load-state-rvaselects the optional loading-screen byte. Unrelated samples are skipped, and a log with no matching fields exits with a diagnostic. A matching unreadable field still represents an unknown state.Tested
0b11d86bcand passed on the proposed tree. It covers JSON and text output, press pairing, optional loading-state transitions, hexadecimal spellings, and configuration errors.0b11d86bcproduces the exact tested tree (6dc52c3dd). #1789 also edits this parser and its proposed tests assume fixed addresses. If that PR proceeds, those fixtures will need to supply their RVAs.GPUs tested: N/A for the offline log reader. Tests ran on Windows.
AI-assisted: OpenAI Codex (
gpt-6.2-astra).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.