From 7dd754f8e492048a55cf17ea717e80d2e46f5bef Mon Sep 17 00:00:00 2001 From: Sylpheed port agent Date: Tue, 1 Sep 2026 18:46:17 +0000 Subject: [PATCH] port: bump the formats pin to formats-pin-2026-09-01 for the blend accessors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit What I wanted from the new state: `ui_layout::sprite_blend_additive` and its three siblings, which expose `T8aD +0x04` bit 0x02 -- the decoded blend mode. Until this tag, `Element` surfaced `kind` (+40), `parent`, pivot, keyframes and `focus_link`, all from the RATC record, and nothing reached the sprite's own header. That is why the port has been carrying an authored additive map keyed by SCREEN NAME, transcribed from the Decoder's per-draw RB_BLENDCONTROL0 log, which cannot answer for a screen nobody drove the game to -- the Japanese menus being the case that raised it. Both spellings are needed, not one: `sprite_blend_additive` takes an &Element, and `blend_additive_by_name` takes a sprite name, because a button's focused variant is reached through focus_link and `ptbtn00f.t32` is in build.sprites while no element carries it as `sprite`. That is exactly the sharp case in my own map -- press_start's only additive entry IS ptbtn00f. Pin bumped as its own commit, per PORT-MISSION ยง2. Nothing else in this commit; the exporter does not read the new accessors yet. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_018AHUQvXGyNcKonSEWsgWcX --- Cargo.lock | 4 ++-- crates/sylpheed-export/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 17a66a4f..83cbd322 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4627,7 +4627,7 @@ dependencies = [ "image", "serde", "serde_json", - "sylpheed-formats 0.1.0 (git+https://git.mc02.dev/fabi/Sylpheed.git?tag=formats-pin-2026-08-30b)", + "sylpheed-formats 0.1.0 (git+https://git.mc02.dev/fabi/Sylpheed.git?tag=formats-pin-2026-09-01)", ] [[package]] @@ -4651,7 +4651,7 @@ dependencies = [ [[package]] name = "sylpheed-formats" version = "0.1.0" -source = "git+https://git.mc02.dev/fabi/Sylpheed.git?tag=formats-pin-2026-08-30b#b5df02a4f74c80b93b93cd1a26296ee08040d826" +source = "git+https://git.mc02.dev/fabi/Sylpheed.git?tag=formats-pin-2026-09-01#1cd5b8b1cb1f02eefc0865e1a1fe280e44831c9d" dependencies = [ "anyhow", "binrw", diff --git a/crates/sylpheed-export/Cargo.toml b/crates/sylpheed-export/Cargo.toml index 81334496..cc39da50 100644 --- a/crates/sylpheed-export/Cargo.toml +++ b/crates/sylpheed-export/Cargo.toml @@ -81,7 +81,7 @@ license.workspace = true # geometry -- does NOT reach this port from here: `sylpheed-cli` builds from the # WORKSPACE crate, so the reference renderer stays unrotated until the tag lands # on `main`. This bump is for the parser, not for the renderer. -sylpheed-formats = { git = "https://git.mc02.dev/fabi/Sylpheed.git", tag = "formats-pin-2026-08-30b" } +sylpheed-formats = { git = "https://git.mc02.dev/fabi/Sylpheed.git", tag = "formats-pin-2026-09-01" } serde = { version = "1", features = ["derive"] } serde_json = "1"