Skip to content

feat: layout v9/v4 slices fit the 2026 HUD stack - #41

Merged
Teakowa merged 1 commit into
mainfrom
feat/layout-v9-tight-rois
Oct 11, 2026
Merged

Teakowa merged 1 commit into
mainfrom
feat/layout-v9-tight-rois

Conversation

@e54-bot

@e54-bot e54-bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

What

Re-slices ROI geometry (layout 1280x720-v9 / 1280x800-v4) from ~200 unique real screenshots covering every HUD stack version, including the 2026 镜中回响 build (same HUD as the current release, only the mode name differs).

  • achievement_panel x2 300→360: event-stack lines were clipped.
  • server_load_panel re-aimed at the real-ID/load rows, upscaled with a padded border so the text detector reads it.
  • server_load falls back to run_code_right_panel for HUDs that print the load higher.
  • real_player ignores run-code tokens on the same line.
  • Studio auto-reject: run-code rows are rejected from left_panel / right_panel candidates.

Evidence (205 unique screenshots, v8 vs v9, scripted field diff + spot checks)

  • server_load +77 / −5, real_player +54 / −2 (many v8 values were run codes), achievement titles net positive.
  • Tried and dropped: tighter bottom_left_hero, right_panel y1, center_banner x1 and 16:10 right_panel y2. They cost mode/version/short-name reads, so those stay at v8 values. left_panel / run_code_panel stay tall because older HUDs print lower and contract tests pin them.
  • Finding: geometry alone cannot separate right-column rows across HUD versions; label/format-anchored parsing stays necessary.

Before this ships

  • owbastion.codes supportedLayoutVersions must accept 1280x720-v9 / 1280x800-v4 first (it lists v7/v2 today).
  • Bastion producer revision naming for the new HUD is unresolved.

Checks

pytest 423 passed; cargo test passes; manifests --check clean.

Re-measured the ROI geometry against ~200 real screenshots across HUD versions.

- achievement_panel widens to x360 so event stack lines are no longer clipped
- server_load_panel moves to the real-ID/load rows and is upscaled with a padded border so the detector reads it
- server_load also falls back to run_code_right_panel for HUDs that print it higher
- real_player ignores run-code tokens read on the same line
- Studio auto-rejects run-code rows in the left and right panels

Bump layout versions to 1280x720-v9 and 1280x800-v4. The platform must accept
the new versions before they ship.
@Teakowa
Teakowa merged commit 615796d into main Oct 11, 2026
4 checks passed
@Teakowa
Teakowa deleted the feat/layout-v9-tight-rois branch October 11, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants