Skip to content

PokemonBDSP: DialogDetector and MenuDetector test screens - #42

Open
dayfine wants to merge 6 commits into
PokemonAutomation:mainfrom
dayfine:bdsp/autostory-intro-screens
Open

dayfine wants to merge 6 commits into
PokemonAutomation:mainfrom
dayfine:bdsp/autostory-intro-screens

Conversation

@dayfine

@dayfine dayfine commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Test screens for two BDSP detectors that a new game run trips over, in the usual PokemonBDSP/<Detector>/<description>_True|False.png layout (the first files under PokemonBDSP/). ShortDialogDetector misses some intro lines with a name tab: the long first line covers the small white box it checks. MenuDetector misses the new-game X menu with only BAG and OPTIONS, and menus with "NEW" tags, because the tag covers what it checks. The _False screens (HOME, overworld scenes, intro dialog, Floaroma's cloud shadows) must not match.

The detector fixes and the tests that read these files come later in an Arduino-Source PR (now dayfine/Arduino-Source#152); until then nothing reads them, so this changes no test results. Frames were captured at 1080p from a Switch through a capture card.

cc @Developer-Butters

🤖 Generated with Claude Code

https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E

dayfine and others added 6 commits November 1, 2026 15:22
019 and 020 are Rowan's lines with a name tab over the intro's sparkle
background; the second's long line runs into the box's right end. Used by
PokemonBDSP's intro screen tests (dayfine/Arduino-Source bdsp/actions-v4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
The X menu detector reads the menu's blue bottom bar, so it also sees a new
game's menu, which has only BAG and OPTIONS. s38_xmenu is that menu (run 5's
failure); the closed set is HOME, two overworld scenes and two intro screens
from run 4 that must not read as a menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
Move the frames from PokemonBDSP/AutoStory/ to the detectors they test,
named <description>_True/False like every other game: DialogDetector for
Rowan's two name-tab lines, MenuDetector for the new-game menu (BAG and
OPTIONS only) and five screens that are not a menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
An ordinary box whose right end is white where ShortDialogDetector's old
check looks; the positive next to the two long-first-line screens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
…n TOWN MAP)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
…dialogue boxes, cloud shadows

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
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.

1 participant