Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
68d921c
PLZA AutoStory: 01.00 to 03.11 (lean branch from #573..#640)
dayfine Nov 17, 2026
7fad5cb
Merge autostory/story-range-options-sv into plza/lean
dayfine Nov 17, 2026
b4a1ff0
PLZA 03.08/03.04: start at the rocks by the map pin; backup card read…
dayfine Nov 17, 2026
d22a374
CI: pin CommandLineTests with the Japanese backup card (dayfine/Comma…
dayfine Nov 17, 2026
0f5f022
PLZA AutoStory: walk "end": "scene" holds the last leg until a scene …
dayfine Nov 17, 2026
45fc23a
PLZA 03.11: to_mable's first leg 0.7 s; 0.9 s ran into the wall
dayfine Nov 17, 2026
2865d6c
PLZA 03.04: reload when chained, the only PLZA row that does
dayfine Nov 17, 2026
e8f1aa9
PLZA AutoStory: Korean new game from Confirm Choices
dayfine Nov 17, 2026
9fdb2a3
PLZA AutoStory: golden cases from console logs for walks, talks, batt…
dayfine Nov 17, 2026
d7bc317
PLZA AutoStory: remove the RoadWalk module (no caller)
dayfine Nov 17, 2026
0511ab6
PLZA AutoStory: remove Zone1Road's road walk reads and road stops to …
dayfine Nov 17, 2026
ec7e537
PLZA AutoStory: remove the marker walk's stop-at mode (walk_toward_ma…
dayfine Nov 17, 2026
66da177
PLZA AutoStory: remove the walk_to_marker action (no plan names it)
dayfine Nov 17, 2026
d395be9
PLZA AutoStory: remove the intro screen capture dev mode (CAPTURE_INT…
dayfine Nov 17, 2026
3e4afef
Merge autostory/shared-core into plza/lean
dayfine Nov 17, 2026
7ee0669
Merge autostory/shared-core into plza/lean
dayfine Nov 18, 2026
9681cdb
Logic tests: PLZA AutoStory's pure suites
dayfine Nov 18, 2026
125d037
PLZA AutoStory: console-free backend, game and readers for the logic …
dayfine Nov 18, 2026
fe61032
PLZA AutoStory: one held-last-leg walk for an end event or a scene
dayfine Nov 18, 2026
fd3c019
PLZA AutoStory: one place for the action and scene machine docs
dayfine Nov 18, 2026
7c6eb5f
PLZA AutoStory: plza_story_game() replaces the console-free game builder
dayfine Nov 18, 2026
932d950
PLZA AutoStory tests: match today's console-verified plans
dayfine Nov 18, 2026
912ead9
Merge branch 'plza/lean-shape' into plza/lean
dayfine Nov 18, 2026
ddde9e5
PLZA AutoStory: merge walk_to_prompt into walk with end "prompt"
dayfine Nov 18, 2026
5714c20
PLZA AutoStory: cite 03.11's reward rule in press_b_out_of_menu's tal…
dayfine Nov 18, 2026
91f3c01
PLZA AutoStory: cut dated run history from comments
dayfine Nov 18, 2026
29ddd99
Merge main into plza/lean
dayfine Nov 18, 2026
c82f155
PLZA AutoStory: split 01.00 into 01.00a (choices) and 01.00b (confirm)
dayfine Nov 18, 2026
c2b25f3
PLZA AutoStory: reload_when_chained reloads after control returns, th…
dayfine Nov 18, 2026
c86845c
Merge remote-tracking branch 'origin/autostory/shared-core' into plza…
dayfine Nov 18, 2026
3fd7295
PLZA AutoStory: drop lab autosave tooling and a FireRed run note
dayfine Nov 18, 2026
8561121
PLZA AutoStory: tests for a battle start whose battle runs off camera
dayfine Nov 18, 2026
c3523cd
PLZA AutoStory: a battle start locks on when no battle HUD follows it…
dayfine Nov 18, 2026
2acec99
PLZA AutoStory: a failed run saves an error report with the stream clip
dayfine Nov 18, 2026
fb45b38
PLZA AutoStory: lock-on rule within the code health limits
dayfine Nov 18, 2026
b236209
PLZA AutoStory: face_heading reads each turn back until the arrow moves
dayfine Nov 18, 2026
e5d9cfa
PLZA AutoStory: 03.04's start is checked by its minimap
dayfine Nov 18, 2026
7b37cf6
PLZA AutoStory: 03.08 catches lock on as upstream's InPlaceCatcher
dayfine Nov 18, 2026
34003fa
PLZA AutoStory: catch_in_zone's summary leads with the party bar's ve…
dayfine Nov 18, 2026
6138036
PLZA: one box for the main menu's Save arrow
dayfine Nov 18, 2026
182a56e
PLZA AutoStory: one reader for a white row among slate rows
dayfine Nov 18, 2026
6f6d0ec
PLZA: PartyBarDetector also reads a party of one
dayfine Nov 18, 2026
a27930b
PLZA: the Save arrow box with the main menu detector
dayfine Nov 18, 2026
3261b65
PLZA AutoStory: a battle start's lock-on reads the move symbols
dayfine Nov 18, 2026
8d0865a
PLZA AutoStory: story_battle holds ZL for the move symbols until the HUD
dayfine Nov 18, 2026
20efaed
Merge remote-tracking branch 'origin/autostory/shared-core' into plza…
dayfine Nov 18, 2026
dc325db
PLZA AutoStory: move to the grid-free shared core (stick instead of t…
dayfine Nov 18, 2026
7128c1d
PLZA AutoStory 01.00a: press B once to wake a dimmed HOME before givi…
dayfine Nov 18, 2026
4c1c6e0
Merge autostory/shared-core into plza/lean
dayfine Nov 18, 2026
79c6d92
Merge autostory/logic-tests into plza/lean
dayfine Nov 18, 2026
3ad39c0
Merge autostory/logic-tests into plza/lean
dayfine Nov 18, 2026
1a081d1
PLZA AutoStory: face_heading halves the next turn after an overshoot
dayfine Nov 18, 2026
6fc3464
PLZA AutoStory: one text/fade/party-bar check, one text button setting
dayfine Nov 18, 2026
b23a17d
PLZA AutoStory: minimap match ignores screen brightness
dayfine Nov 18, 2026
010cc25
PLZA AutoStory: minimap match test cases declare Input and Expectatio…
dayfine Nov 18, 2026
ccf2aba
CI: pin CommandLineTests to the PLZA fixtures merged with upstream main
dayfine Nov 18, 2026
2536c27
PLZA: lock_on_by_sweep(), the camera sweep InPlaceCatcher locks on with
dayfine Nov 18, 2026
9e59a9a
Merge branch 'plza/lock-on-sweep' into plza/lean
dayfine Nov 18, 2026
6e81b7e
PLZA AutoStory: merge lock_on_by_sweep, drop our InPlaceCatcher/PostK…
dayfine Nov 18, 2026
71848e5
Merge autostory/shared-core into plza/lean
dayfine Nov 18, 2026
97d9022
Merge autostory/logic-tests into plza/lean
dayfine Nov 18, 2026
1e202da
Merge origin/autostory/shared-core into plza/lean
dayfine Nov 18, 2026
f0c78bd
PLZA AutoStory: name keyboard reads in the console's dark theme
dayfine Nov 18, 2026
8966d12
System keyboard: a solid cyan key is not the cursor (dark theme OK wi…
dayfine Nov 18, 2026
8157b95
PLZA AutoStory: out of Wild Zone 1 by the map pin; chained rows check…
dayfine Nov 18, 2026
c281809
PLZA AutoStory: 03.08b runs to the far gate as 03.07 does
dayfine Nov 18, 2026
fd3f003
PLZA AutoStory: one A-at-prompt loop for talks and doors
dayfine Nov 18, 2026
9391a3b
PLZA AutoStory: Record Start Minimaps option
dayfine Nov 18, 2026
5d9c714
Merge remote-tracking branch 'origin/autostory/logic-tests' into plza…
dayfine Nov 18, 2026
edb212e
PLZA AutoStory: 03.08b aims its gate run from the map pin
dayfine Nov 18, 2026
0b15a5e
PLZA AutoStory: 03.08b back to the steered gate walk, aimed by the ma…
dayfine Nov 19, 2026
64e57f1
PLZA AutoStory: Wild Zone 1's 100 spot ~10 pixels on toward the rocks
dayfine Nov 19, 2026
9bfbf0f
PLZA AutoStory: 03.08b runs to the far gate from an exact approach point
dayfine Nov 19, 2026
51ac009
PLZA AutoStory: Wild Zone 1's 100 spot 6 pixels north of the road's m…
dayfine Nov 19, 2026
6b7d3d2
PLZA AutoStory: the far gate is where its A prompt shows, (361, 253)
dayfine Nov 19, 2026
0989d93
PLZA AutoStory: Wild Zone 1's 60 spot 6 pixels north, toward the grass
dayfine Nov 19, 2026
d62aec3
PLZA AutoStory: 03.08b's gate run starts walking along the gate's line
dayfine Nov 19, 2026
bdf46f4
PLZA AutoStory: the far gate's line 1 pixel north
dayfine Nov 19, 2026
1424ab5
PLZA AutoStory: a map leg steps a little before reading a missed pin …
dayfine Nov 19, 2026
7f80e2f
PLZA AutoStory: delete the steered gate walk and its pillar reader
dayfine Nov 19, 2026
446bc02
PLZA AutoStory: save the frame on screen before every reload
dayfine Nov 19, 2026
88d2466
PLZA AutoStory: a start check for every checkpoint after the new game
dayfine Nov 19, 2026
a894944
PLZA AutoStory: the full-map rule for a run's first start lives with …
dayfine Nov 19, 2026
a0f2ea1
PLZA AutoStory: every hand-written walk names how it ends
dayfine Nov 19, 2026
1da5b17
PLZA AutoStory: prune comments in the scene machine, starts and story…
dayfine Nov 19, 2026
93e1f8b
PLZA AutoStory: prune comments in the game, backends and backups; sho…
dayfine Nov 19, 2026
d198304
PLZA AutoStory: prune comments in Actions
dayfine Nov 19, 2026
2053bd6
PLZA AutoStory: prune comments in detectors, inference and the system…
dayfine Nov 19, 2026
b9949e9
Revert "PLZA AutoStory: save the frame on screen before every reload"
dayfine Nov 19, 2026
0586dda
PLZA AutoStory: drop the party and prompt start signatures
dayfine Nov 19, 2026
f949a18
PLZA AutoStory: prune the plan files' notes
dayfine Nov 19, 2026
23682db
PLZA AutoStory: keep a short "not planned:" reason on hand-written legs
dayfine Nov 19, 2026
4651a90
PLZA AutoStory: 03.02b ends at the autosave after Taunie's talk
dayfine Nov 19, 2026
29a26d4
PLZA AutoStory: see battles over light paving stone
dayfine Nov 19, 2026
8195777
Merge autostory/shared-core (#648) into plza/lean; PLZA on the rework…
dayfine Nov 19, 2026
0a4e35c
PLZA AutoStory: split plza_story_actions, keep CONSOLE_ONLY and the c…
dayfine Nov 19, 2026
0db3765
PLZA AutoStory: rows say what they are by their first action; code he…
dayfine Nov 19, 2026
4c9c062
PLZA AutoStory: fix the tests the #648 merge broke
dayfine Nov 19, 2026
72ee749
PLZA AutoStory: the scene machine holds Plus to skip a cutscene
dayfine Nov 19, 2026
7c75151
PLZA AutoStory: drop the scene machine's unit and replay tests; their…
dayfine Nov 19, 2026
771b58d
PLZA AutoStory: timed legs run with B held, at walk time / 2.25
dayfine Nov 19, 2026
64205b4
PLZA AutoStory: 02.01's held legs run, and its test cites the console…
dayfine Nov 19, 2026
fb84d28
PLZA AutoStory: Game_Tests keep one run case per outcome plus the con…
dayfine Nov 19, 2026
595d20d
PLZA AutoStory: read the party bar's count once it holds 3 s; catch t…
dayfine Nov 19, 2026
588b050
PLZA AutoStory: walking and map reader tests keep failure and branch …
dayfine Nov 19, 2026
c979a54
PLZA AutoStory: start check tests keep the failure and redirect cases
dayfine Nov 19, 2026
fcb7450
PLZA AutoStory: shorten the plans' long why texts; no behavior change
dayfine Nov 19, 2026
2e13778
PLZA AutoStory: every leg runs with B held; open-ended legs queue the…
dayfine Nov 19, 2026
bec527c
PLZA AutoStory: a Starter option for 01.03, and Run From: checkpoints…
dayfine Nov 19, 2026
7d134e4
PLZA AutoStory: log [SceneQuirk] when a scene config field changes wh…
dayfine Nov 19, 2026
08963dc
PLZA AutoStory: log [Boundary] lines at each checkpoint's end (badge …
dayfine Nov 19, 2026
b8afebb
PLZA AutoStory: Reload Probe After, a dev setting: after a listed che…
dayfine Nov 19, 2026
6045638
Merge plza/run-legs: run every leg with B held, Starter and Run From …
dayfine Nov 19, 2026
6e14ddd
PLZA AutoStory: code health after the run-legs merge (observe's input…
dayfine Nov 19, 2026
13ca3fb
PLZA AutoStory: walk tests expect run legs; logic-test lists drop the…
dayfine Nov 19, 2026
19a2029
Merge autostory/logic-tests (#654, with #648) into plza/lean; PLZA on…
dayfine Nov 19, 2026
a347822
PLZA AutoStory: Load Save First and Run From labels as constants; the…
dayfine Nov 19, 2026
e86d82a
Merge branch 'autostory/logic-tests' into plza/lean
dayfine Nov 19, 2026
eb6632f
PLZA scene machine: one rule table per screen, split classify and record
dayfine Nov 19, 2026
3b5ac3d
PLZA backups: one card count, one starts table, no run_start
dayfine Nov 19, 2026
5d4c4fa
PLZA AutoStory tests: drop rows that restate code or repeat a branch
dayfine Nov 19, 2026
636d155
PLZA AutoStory: address review on #644
dayfine Nov 19, 2026
f760d03
PLZA AutoStory: action names as a PlzaAction enum with an EnumStringMap
dayfine Nov 19, 2026
59e0153
PLZA AutoStory: sweep the files the review did not reach
dayfine Nov 19, 2026
3a8ac78
PLZA AutoStory: bind the new-game frame checks to locals
dayfine Nov 19, 2026
a490e64
PLZA AutoStory: hold a walk's last leg for its time on the looks' clock
dayfine Nov 19, 2026
510f5fa
PLZA AutoStory: set text speed to fast in 01.01
dayfine Nov 19, 2026
c29e08c
PLZA AutoStory: run legs at walk time / 1.65, measured on the map
dayfine Nov 19, 2026
0a9a8f9
PLZA AutoStory: drop two min_length_ms that never held a scene
dayfine Nov 19, 2026
8c7f339
PLZA AutoStory: Plus skips the opening and still cutscene frames
dayfine Nov 19, 2026
eba00ac
PLZA AutoStory: drop quiet-as-control and scene_start_ms where the pa…
dayfine Nov 19, 2026
587f701
PLZA AutoStory: 01.00b holds Plus 0.75 s after each opening fade-in
dayfine Nov 19, 2026
e265c16
PLZA AutoStory: 01.00b Plus test in one row; Game_Tests back to 1000 …
dayfine Nov 19, 2026
477182c
PLZA AutoStory: 02.06 wake_up test ends on the party bar, as its plan…
dayfine Nov 19, 2026
a00d465
PLZA AutoStory: a walk right after a quiet end taken as control skips…
dayfine Nov 19, 2026
1e4242f
PLZA AutoStory style: std::optional instead of "" and -1 sentinels
dayfine Nov 19, 2026
e75918c
PLZA AutoStory style: parameter comments, std::format, named battle w…
dayfine Nov 19, 2026
0bef5b5
PLZA set_text_speed_fast: blind menu path, one A per card fade
dayfine Nov 19, 2026
e12724b
Revert the walk's quiet-control skip (a00d46523)
dayfine Nov 19, 2026
cc1b042
PLZA 03.03 climb_ladder: A at the Climb Up prompt, again while it stays
dayfine Nov 19, 2026
21ed4db
PLZA AutoStory: split 03.03 at the rock pile autosave into 03.03 and …
dayfine Nov 19, 2026
b47f2ce
PLZA 03.03b climb_ladder: step along the wall until Climb Up shows
dayfine Nov 19, 2026
19b8a71
PLZA AutoStory: split 03.03b at the rooftop autosave into 03.03b and …
dayfine Nov 19, 2026
d99fe4a
PLZA AutoStory: step along for the A prompt a walk stops beside
dayfine Nov 19, 2026
075a25e
PLZA 03.04: turn into the Center clear of its wall; no side steps there
dayfine Nov 19, 2026
d427250
PLZA 03.08: back through the road entry on the way to the 100 spot
dayfine Nov 19, 2026
dff6458
PLZA AutoStory: fix CI on the 03.04 golden case and the Zone 1 header
dayfine Nov 19, 2026
e152a4f
Merge origin/autostory/logic-tests into plza/lean
dayfine Nov 19, 2026
9da1abc
PLZA AutoStory: fold NewGameChoices into NewGame (parked: header_symb…
dayfine Nov 19, 2026
3272c84
PLZA AutoStory: narrow NewGame.h to what production calls
dayfine Nov 19, 2026
6cd60af
Merge plza/fold-newgame-choices into plza/lean: one NewGame module
dayfine Nov 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/cpp-ci-serial-programs-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,11 @@ jobs:
uses: actions/checkout@v7
if: inputs.run-tests
with:
repository: 'PokemonAutomation/CommandLineTests'
# The fork's fixtures: upstream's plus the PLZA AutoStory frames (Confirm Choices, opening and arrival folders), dayfine/CommandLineTests PR #18,
# and the 01.01 banner and controls hint in English and Italian (branch plza/hint-banner-any-language),
# and the 01.00 new game frames, HOME tiles (FireRed first, Z-A second too) and the 01.02 Italian choice menu and talk prompt (branch plza/new-game-intro), and the 03.02b battle frame with no lock-on and Map & Missions card (branch plza/battle-panel), and Wild Zone 1's full map frames (branch plza/zone1-map-pin), and 03.09's lab gate dialog and 03.08b's wild battle at the zone pillar (branch plza/0309-gate-frames), and Wild Zone 1's frames with the lead's panel up and no battle (branch plza/0308b-pillar-frame), and the first X's Save card over the menu and the menu after it (branch plza/menu-save-frames), and the 01.02 French choice menu (branch plza/choice-fr), and 02.05's German lobby with a party of one and the elevator's A prompt (branch plza/party-slots). Merged with upstream main b79ca7f (branch plza/upstream-sync-b79ca7f) for the PokemonHome BoxView fixtures and 7-value FRLG StatsReader goldens, plus the console's dark-theme name keyboard (empty and with text) and HOME frames, and the AutoStory start frames of 03.03 to 03.07 in Spanish (branch plza/dark-theme-keyboard). Plus 03.02b's Tepig battle over light paving stone in Spanish (branch plza/tepig-battle-frames). Fork-only pin: dropped at upstream handoff.
repository: 'dayfine/CommandLineTests'
ref: '527365965e030b0dd4bb86f425a0676c384269b2'
path: 'CommandLineTests'

# The unit tests assume the downloadable resources they need are already downloaded
Expand Down
13 changes: 13 additions & 0 deletions SerialPrograms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ if(PA_CORE_ONLY)
include(cmake/CoreLib.cmake)
if(PA_LOGIC_TESTS)
include(cmake/LogicTests.cmake)
# PLZA AutoStory's checkpoint and reference files, which its logic tests read.
include(cmake/EmbedTextFiles.cmake)
pa_embed_text_files(LogicLib Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData
VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryStoryFiles.h PokemonAutomation::NintendoSwitch::PokemonLZA autostory_checkpoint_json)
pa_embed_text_files(LogicLib Source/VideoGames/PokemonLZA/Programs/AutoStory/ReferenceData
VideoGames/PokemonLZA/Programs/AutoStory/Detectors/PokemonLZA_AutoStoryReferenceCells.h PokemonAutomation::NintendoSwitch::PokemonLZA autostory_reference_json)
endif()
if(COMMAND_LINE_EXE)
include(Source/CommandLine/CommandLineExecutable.cmake)
Expand Down Expand Up @@ -233,6 +239,13 @@ include(cmake/CoreLib.cmake)
# Create the GUI library
add_library(SerialProgramsLib STATIC ${CORE_LIBRARY_SOURCES} ${LIBRARY_SOURCES})

# Data files built into the program (see cmake/EmbedTextFiles.cmake).
include(cmake/EmbedTextFiles.cmake)
pa_embed_text_files(SerialProgramsLib Source/VideoGames/PokemonLZA/Programs/AutoStory/StoryData
VideoGames/PokemonLZA/Programs/AutoStory/PokemonLZA_AutoStoryStoryFiles.h PokemonAutomation::NintendoSwitch::PokemonLZA autostory_checkpoint_json)
pa_embed_text_files(SerialProgramsLib Source/VideoGames/PokemonLZA/Programs/AutoStory/ReferenceData
VideoGames/PokemonLZA/Programs/AutoStory/Detectors/PokemonLZA_AutoStoryReferenceCells.h PokemonAutomation::NintendoSwitch::PokemonLZA autostory_reference_json)


# Create binary target
if (APPLE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

#include "NintendoSwitch/Inference/NintendoSwitch_CheckOnlineDetector.h"
#include "NintendoSwitch/Inference/NintendoSwitch_FailedToConnectDetector.h"
#include "NintendoSwitch/Inference/NintendoSwitch_SystemKeyboardDetector.h"
#include "NintendoSwitch/Inference/NintendoSwitch_UpdatePopupDetector.h"
#include "NintendoSwitch/Programs/Typewriter/NintendoSwitch_Typewriter_Tests.h"
#include "NintendoSwitch/Controllers/SysbotBase/SysbotBase_Connection.h"
Expand All @@ -58,7 +59,7 @@



UnitTestDatabase make_UNIT_TESTS_ALL(){

Check warning on line 62 in SerialPrograms/Source/ComputerPrograms/ComputerPrograms_UnitTestRunner.cpp

View workflow job for this annotation

GitHub Actions / code-health

Code health (advisory)

PokemonAutomation::ComputerPrograms::make_UNIT_TESTS_ALL(): function_lines=43 (advisory above 25, limit 50)
UnitTestDatabase ret;

add_tests_QtEventThreadPool(ret, GlobalThreadPools::computation_normal());
Expand Down Expand Up @@ -86,6 +87,7 @@
add_tests_ScreenMachine(ret);
NintendoSwitch::add_tests_CheckOnlineDetector(ret);
NintendoSwitch::add_tests_FailedToConnectDetector(ret);
NintendoSwitch::add_tests_SystemKeyboardDetector(ret);
NintendoSwitch::add_tests_UpdatePopupDetector(ret);
NintendoSwitch::Typewriter::add_tests_TypewriterTextMapping(ret);
NintendoSwitch::PokemonBDSP::add_tests_DialogDetector(ret);
Expand Down
Loading
Loading