Skip to content

fix(saves): KiriKiri save thumbnails show the player's save point - #286

Merged
xxxsen merged 2 commits into
masterfrom
codex/krkr-remaining-compat
Oct 30, 2026
Merged

xxxsen merged 2 commits into
masterfrom
codex/krkr-remaining-compat

Conversation

@xxxsen

@xxxsen xxxsen commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Keep save screenshots (fix(saves)): an overwrite without a screenshot now keeps the stored image (previously it cleared it). The player host skips the current frame for checkpoints marked screenshot: "UNCHANGED", uses a checkpoint's own save-point image when present, and still captures the current frame for a record that has no image yet. OpenAPI description, http-api-contract.md and the Provider Module V1 authority (RuntimeCheckpointV1.screenshot?: Blob | "UNCHANGED") are updated.
  • Runtime pin (build(runtime)): ship retrom-runtime v0.94.0 (Kiri Web retrom-core-g13dda190f837-r12) via make runtime-provider-pin-release TAG=v0.94.0.

Previously KiriKiri save cards were often black/dim or showed titles, save menus and confirmation dialogs: every native file write (system variables, the KAG start anchor during scene transitions) replaced the thumbnail with the frame on screen at that moment.

Validation

  • make backend-check, make web-check, make api-check, scripts/test_runtime_provider_contract.py, runtime contract snapshot check.
  • Go integration tests (./internal/..., 19 packages) against an isolated database with the prepared v0.94.0 runtime/provider inputs; new TestSaveUpdateWithoutScreenshotKeepsCurrentImage fails without the service change.
  • Web player tests (215), including new host cases for UNCHANGED, carried images and image-less records.
  • Formal product re-run in a PFB with the imported official v0.94.0 provider base (served module/bundle hashes equal the release): 恋花绽放樱飞时 startup/title/anchor/system exports leave the thumbnail unchanged; a SAVE-menu save with the overwrite dialog on screen stores the 1280×720 story scene.

🤖 Generated with Claude Code

xxxsen and others added 2 commits October 30, 2026 21:22
A save update without a screenshot used to clear the stored image.
Native GAME_SAVE runtimes now mark exports that only carry system files
(UNCHANGED) or attach the save point's own image. The Host skips the
current frame for UNCHANGED exports, uses a checkpoint's own image when
present, and still captures the current frame for a record that has no
image yet. The server keeps the current screenshot when an overwrite
omits one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xxxsen
xxxsen merged commit 849daf7 into master Oct 30, 2026
12 checks passed
@xxxsen
xxxsen deleted the codex/krkr-remaining-compat branch October 30, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant