Skip to content

Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.

release: 2.45.2 — the CHANGELOG section named for the release, opened by what a pin moves with from 2.45.1

Soohong Kim3e4b12dfb044
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 11449a0..3e904c9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,7 +2,9 @@
All notable public changes to `sprite-gen` are recorded here. Versions track the `version:` field in `SKILL.md` and `pyproject.toml`.
-## Unreleased
+## v2.45.2 - The new `video-loop --overlap-wrap off` turns the overlapped wrap off on its own; the motion anchor's fine search is faster and gives the same values
+
+**Upgrading from 2.45.1: By default a run delivers the same bytes as 2.45.1, sooner, and only `--overlap-wrap off` changes what is delivered.** With the default `--overlap-wrap on`, the loop files, the frames and the report are the same bytes as 2.45.1 (the report's `producer` field names the new version), and `video-loop --anchor motion-auto` finishes sooner. With `--overlap-wrap off`, the overlapped wrap is not tried (the report's `wrap_overlap.skipped` reads `turned off (--overlap-wrap off)`, no RIFE calls), a `warning:` line is printed, and the seam gate refuses the cut as filmed, so the run fails on its seam instead of spending minutes of CPU on RIFE. No restoration schemas change: `source-restoration-v5`, repair report `schema_version` 4, comparison `schema_version` 6.
- **New: `video-loop --overlap-wrap off` turns the overlapped wrap off alone.** Each frame the overlapped wrap makes is RIFE's frame read with its sixteen single passes, 34 calls of the binary: where RIFE runs on a CPU that is minutes a frame (on two CPU cores with the augmentation off, 160 to 174 s for a frame of a 960 × 960 synthetic walker), and a wrap refused at its first frame costs minutes a run, so a caller that stops the loop at a deadline stopped it before the loop could fail on its own seam. With `--overlap-wrap off` (the default stays `on`) nothing is read or made for the wrap: the report's `wrap_overlap` says `skipped: "turned off (--overlap-wrap off)"` with no `tries` and `calls` 0, a `warning:` line says the overlapped wrap was not made, and the seam gate refuses the cut as filmed (`video-loop: loop seam ratio … exceeds …`). Nothing else changes: the jump repair, the eased retime and the gate run as with it on, and `--repair off` still turns it off with them.
- **Faster: the motion anchor's fine search reads a row of shifts at once, to the same values.** `video-loop --anchor motion-auto` corrects every two-step cut its seam gate tries before one is taken (up to four, `local_cycle.SEAM_TRIES`) and then the cut it takes, and each correction runs the fine search six times (`motion_anchor._register`: 29 × 57 shifts, two masked regions). The search read each shift's masked patch alone, numpy reducing a patch a pixel row at a time, and on a CPU that was most of a walk's cut: on two CPU cores a 960 × 960 cut's correction took 63 s, and the 960 × 960 synthetic walker whose gate tries four cuts was cut (alone, `--repair off`) in 92 s. It now gathers the patches of a row of side-by-side shifts together, a block of mask pixels at a time (`motion_anchor.ROW_BLOCK`), and runs the operations one patch read alone takes in the same order — a patch's mean sums its pixels one after the other, its other two sums run over that patch alone — so every cost is the same value, and the match, the report, the cut and the frames are the same bytes as before. On the same two cores the correction takes 7 s and the walker's cut 27 s.
diff --git a/SKILL.md b/SKILL.md
index e035dfa..cc2f285 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -1,6 +1,6 @@
---
name: sprite-gen
-version: 2.45.1
+version: 2.45.2
description: "Generates images and game sprites through GPT or Grok with guided provider choices, separate saved defaults, automatic cleanup and optional curation. Handles sprite requests, ordinary image generation/editing, typography logos (로고, 타이포그래피, 타이틀 글자, 타이틀 로고, wordmark, logo, title lettering: a title screen drawn with the title in it, its lettering lifted out transparent), standalone image-to-video clips (i2v, animate this still, 그록 영상, 이매진 비디오, 스틸 움직여줘, first/last frame, reference-to-video, 영상 이어붙이기, 영상 편집, extend/edit a clip), clips from a video MCP on the agent (ZCRE, 지크 MCP), chroma removal, animation atlases, video loops, 큐레이션뷰, image candidates, 팔레트 스왑, palette swap, recolor, rig layers, engine exports, repeating backgrounds, projected shadows, motion/contact inspection and optional scene composition from existing assets."
license: Apache-2.0
depends_on:
diff --git a/pyproject.toml b/pyproject.toml
index 460dac5..fdf59b8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
name = "sprite-gen"
# Release discipline: keep this package metadata version synchronized with
# SKILL.md's `version:` field in the same release commit.
-version = "2.45.1"
+version = "2.45.2"
description = "Component-row pipeline for clean 2D game sprites and animation atlases"
readme = "README.md"
license = "Apache-2.0"