From 410ce5dc9fdd47e59661ea90088bfa7713d7361d Mon Sep 17 00:00:00 2001 From: Mike Liu Date: Wed, 25 Feb 2026 00:12:44 +0000 Subject: [PATCH] =?UTF-8?q?ralph:=20story-2=20batch=5Fsprites.py=20?= =?UTF-8?q?=E2=80=94=20grid=20batching=20with=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- progress.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/progress.txt b/progress.txt index 54c0aa3c93..9b72ba04ae 100644 --- a/progress.txt +++ b/progress.txt @@ -19,3 +19,12 @@ Each has tiling (bool), style_prompt (str), description_hint (str). No sprite ID Verification passed: import + assert len(CATEGORIES) == 6. Status: PASSED Status: PASSED + +--- Iteration 2 | story-2 | 2026-02-25 00:11:09 --- +Created scripts/reskin/batch_sprites.py adapted from ottd-reskin-pipeline/batch_env.py. +Key changes: removed NFO parsing, sprite ID extraction, subcategory batching. +Functions: load_sprites, create_batches, render_grid, render_grid_with_sprites, batch_sprites, main CLI. +Created scripts/reskin/test_batch_sprites.py with 6 tests — all pass. +Verification passed: pytest scripts/reskin/test_batch_sprites.py -v (6/6 passed). +Status: PASSED +Status: PASSED