#!/bin/bash # Single-ship table for the remix's challenging stages (docs/paths.md). declare -A START=([3]=5630 [7]=14174 [11]=23678 [15]=33246 [19]=43262 [23]=52606 [27]=61630) for s in 3 7 11 15 19 23 27; do st=${START[$s]} idle=$(./target/release/galaga-pathshot movies/tas-remix.json $st $((st+1500)) target/gallery/single-$s.png --idle --mod mods/remix.paths 2>&1 | grep -oE "on screen [0-9]+ frames.*speed [0-9.]+") hits=$(./target/release/galaga-gallery movies/tas-remix.json $((st+10)) /dev/null --beam 64 --tries 16 --mod mods/remix.paths --mod-at $((st-110)) 2>&1 | grep -oE "[0-9]+ hits, the game counts [0-9]+") echo "stage $s: $idle | $hits" done echo done