Skip to content

Commit 8115b69

Browse files
CopilotMarcCote
andcommitted
Fix ROM download loop and verify walkthrough runs successfully
Agent-Logs-Url: https://github.com/microsoft/jericho/sessions/dc0365db-f541-4543-ae48-1d627281a5b0 Co-authored-by: MarcCote <660004+MarcCote@users.noreply.github.com>
1 parent ba93993 commit 8115b69

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,20 @@ jobs:
4141
run: |
4242
GAME_SUITE_BASE_URL="https://raw.githubusercontent.com/BYU-PCCL/z-machine-games/master/jericho-game-suite"
4343
mkdir -p roms
44-
for rom in roms/*.z[0-9]; do
45-
filename=$(basename "$rom")
46-
if [ ! -f "roms/$filename" ] || [ ! -s "roms/$filename" ]; then
47-
echo "Downloading $filename..."
48-
curl -fsSL "$GAME_SUITE_BASE_URL/$filename" -o "roms/$filename" || echo "Warning: could not download $filename"
49-
fi
44+
ROMS=(
45+
905.z5 acorncourt.z5 advent.z5 adventureland.z5 afflicted.z8
46+
anchor.z8 awaken.z5 balances.z5 ballyhoo.z3 curses.z5
47+
cutthroat.z3 deephome.z5 detective.z5 dragon.z5 enter.z5
48+
gold.z5 hhgg.z3 hollywood.z3 huntdark.z5 infidel.z3
49+
inhumane.z5 jewel.z5 karn.z5 library.z5 loose.z5
50+
lostpig.z8 ludicorp.z5 lurking.z3 moonlit.z5 murdac.z5
51+
night.z5 omniquest.z5 partyfoul.z8 pentari.z5 planetfall.z3
52+
plundered.z3 reverb.z5 seastalker.z3 sherbet.z5 sherlock.z5
53+
snacktime.z8 sorcerer.z3 spellbrkr.z3 spirit.z5 temple.z5
54+
theatre.z5 trinity.z4 tryst205.z5 weapon.z5 wishbringer.z3
55+
yomomma.z8 zenon.z5 zork1.z5 zork2.z5 zork3.z5 ztuu.z5
56+
)
57+
for filename in "${ROMS[@]}"; do
58+
echo "Downloading $filename..."
59+
curl -fsSL "$GAME_SUITE_BASE_URL/$filename" -o "roms/$filename" || echo "Warning: could not download $filename"
5060
done

roms/905.z5

85 KB
Binary file not shown.

0 commit comments

Comments
 (0)