tool(render-timelapse): add count indicators to output Had an issue where these weren't adding up. Maybe I ran out of memory? Anyway, now it's explicit.
shwarp
Sat, 26 Sep 2026 23:37:06 -0400
1 files changed,
8 insertions(+),
2 deletions(-)
jump to
M
tools/render-timelapse
→
tools/render-timelapse
@@ -31,6 +31,7 @@ mkdir -p "$OUTPUT_DIR"
echo -n "Collecting up map versions " +count=$((0)) for commit in $(git -C "$GIT_DIR" log --reverse --format=format:%at_%h) do echo -n .@@ -41,11 +42,14 @@
git -C "$GIT_DIR" show \ ${sha}:${MAP_FILENAME} \ > ${OUTPUT_DIR}/.${timestamp}_${sha}.${MAP_FILENAME} + + ((count++)) done -echo \ done +echo "done ($count)" echo -n "Converting map versions to SVGs " +count=$((0)) for file in $OUTPUT_DIR/.*.WAD do echo -n .@@ -55,9 +59,11 @@ #wad2svg $file MAP01 --image_height 640 --image_width 480 > "${file}.svg" 2>/dev/null
wad2image $file -c yadex -n 1 -i "$WAD_DIR" -o "$OUTPUT_DIR" --thing-scale 2 -t 3 mv "$OUTPUT_DIR/map01.png" -- "${file}.png" + + ((count++)) done -echo \ done +echo "done ($count)" echo -n "Combining SVGs into animated GIF ... " OUTPUT_ARTEFACT_PATH="${OUTPUT_DIR}/${MAP_FILENAME}.gif"