From 661e31c5afddff4e7d4996944eef7d7814e430d5 Mon Sep 17 00:00:00 2001 From: dayfine Date: Wed, 11 Nov 2026 13:42:35 -0800 Subject: [PATCH 1/2] CI (fork only): fetch the FRLG player sprite sheet from dayfine/Packages Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss --- .github/workflows/cpp-ci-serial-programs-base.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/cpp-ci-serial-programs-base.yml b/.github/workflows/cpp-ci-serial-programs-base.yml index e052e8e948..0a6156f28e 100644 --- a/.github/workflows/cpp-ci-serial-programs-base.yml +++ b/.github/workflows/cpp-ci-serial-programs-base.yml @@ -88,6 +88,18 @@ jobs: ref: 'master' path: 'Arduino-Source/Packages' + # Fork only, until upstream Packages has it: the FRLG player sprite sheet + # AutoStory reads (PokemonFRLG_PlayerFacingReader.cpp) is on dayfine/Packages + # branch lab/autostory-resources. Without it the AutoStoryResources test fails. + - name: Fetch fork-only AutoStory resources + if: github.repository == 'dayfine/Arduino-Source' + shell: bash + run: | + FILE=Resources/PokemonFRLG/PlayerSprites/red_normal.png + mkdir -p "Arduino-Source/Packages/$(dirname "$FILE")" + curl -fsSL --retry 3 -o "Arduino-Source/Packages/$FILE" \ + "https://raw.githubusercontent.com/dayfine/Packages/lab/autostory-resources/$FILE" + - name: Install Python for pinned map preparation uses: actions/setup-python@v5 with: From 4ed1bd2968174093f842f1d2d9dee58fdb179626 Mon Sep 17 00:00:00 2001 From: dayfine Date: Wed, 11 Nov 2026 14:48:17 -0800 Subject: [PATCH 2/2] CI (fork only): also fetch the FRLG girl's sprite sheet (green_normal.png) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss --- .../workflows/cpp-ci-serial-programs-base.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cpp-ci-serial-programs-base.yml b/.github/workflows/cpp-ci-serial-programs-base.yml index 0a6156f28e..35bb2b112e 100644 --- a/.github/workflows/cpp-ci-serial-programs-base.yml +++ b/.github/workflows/cpp-ci-serial-programs-base.yml @@ -88,17 +88,19 @@ jobs: ref: 'master' path: 'Arduino-Source/Packages' - # Fork only, until upstream Packages has it: the FRLG player sprite sheet - # AutoStory reads (PokemonFRLG_PlayerFacingReader.cpp) is on dayfine/Packages - # branch lab/autostory-resources. Without it the AutoStoryResources test fails. + # Fork only, until upstream Packages has them: the FRLG player sprite sheets + # AutoStory reads (PokemonFRLG_PlayerFacingReader.cpp; red is the boy, green + # the girl) are on dayfine/Packages branch lab/autostory-resources. Without + # them the AutoStoryResources test fails. - name: Fetch fork-only AutoStory resources if: github.repository == 'dayfine/Arduino-Source' shell: bash run: | - FILE=Resources/PokemonFRLG/PlayerSprites/red_normal.png - mkdir -p "Arduino-Source/Packages/$(dirname "$FILE")" - curl -fsSL --retry 3 -o "Arduino-Source/Packages/$FILE" \ - "https://raw.githubusercontent.com/dayfine/Packages/lab/autostory-resources/$FILE" + for FILE in Resources/PokemonFRLG/PlayerSprites/red_normal.png Resources/PokemonFRLG/PlayerSprites/green_normal.png; do + mkdir -p "Arduino-Source/Packages/$(dirname "$FILE")" + curl -fsSL --retry 3 -o "Arduino-Source/Packages/$FILE" \ + "https://raw.githubusercontent.com/dayfine/Packages/lab/autostory-resources/$FILE" + done - name: Install Python for pinned map preparation uses: actions/setup-python@v5