Skip to content

feat(Costume): 新增幕间主题梦隙闲花 - #1983

Open
Maratrain wants to merge 1 commit into
runhey:devfrom
Maratrain:feat-costume-shikigami-13
Open

Maratrain wants to merge 1 commit into
runhey:devfrom
Maratrain:feat-costume-shikigami-13

Conversation

@Maratrain

@Maratrain Maratrain commented Oct 29, 2026 •

Copy link
Copy Markdown

新增幕间主题「梦隙闲花」皮肤适配

  • 新增 sk13 模板 19 张:式神录检测 / 返回 / 预设 / 队伍预设标题 / 四队切换 / 点预设 / 分组 1-7 选中态 / 御魂 / 更换
  • 分组选中态 group1..7 各裁自该组被选中的实机帧,阈值 0.9 可区分选中与未选中(同帧未选中行仅 0.67~0.81)
  • 四队爪印行 y=137/291/445/599 实测定位;st_souls 按御魂二字光晕重裁,右侧收紧 10px
  • config.py 增加 COSTUME_SHIKIGAMI_13,costume_base.py 幕间映射扩至 13,zh-CN.json 补「梦隙闲花」
  • I_SOU_SWITCH_SURE_13 未采集(切换确认弹窗与其他皮肤一致),走默认模板兜底

说明

  • 上游 SwitchSoul 仅支持 1-7 组,因此本 PR 不包含第 8 组模板,shikigami_costume_model 的分组映射保持 range(1, 8) 不变
  • 模板均裁自实机帧,并经离线匹配验证(选中态 0.995 / 未选中 0.67~0.81);本分支已通过实机验证

Sourcery 总结

适配「梦隙闲花」幕间主题,支持其式神录与御魂预设相关界面操作。

新功能:

  • 为「梦隙闲花」幕间主题新增式神录、御魂预设、队伍切换和分组选中状态等界面适配资源。

改进:

  • 将幕间主题映射和类型定义扩展至第 13 个主题,并保留未提供确认弹窗资源时的默认模板回退。
Original summary in English

Summary by Sourcery

适配「梦隙闲花」幕间主题,支持其式神录与御魂预设相关界面操作。

New Features:

  • 为「梦隙闲花」幕间主题新增式神录、御魂预设、队伍切换和分组选中状态等界面适配资源。

Enhancements:

  • 将幕间主题映射和类型定义扩展至第 13 个主题,并保留未提供确认弹窗资源时的默认模板回退。

- 新增 sk13 模板 19 张(式神录检测/返回/预设/队伍预设标题/四队切换/点预设/七组选中态/御魂/更换)
- 分组选中态 group1..7 各裁自该组被选中的实机帧, 阈值 0.9 可分选中与未选中(同帧未选中行仅 0.67~0.81)
- 四队爪印行 y=137/291/445/599 实测定位; st_souls 按御魂二字光晕重裁, 右侧收紧 10px
- config.py 加 COSTUME_SHIKIGAMI_13, costume_base.py 幕间映射扩至 13, zh-CN.json 补"梦隙闲花"
- I_SOU_SWITCH_SURE_13 未采集(切换确认弹窗与其他皮肤一致), 走默认模板兜底
- 与原实现差异: 上游 SwitchSoul 仅支持 1-7 组, 未包含第 8 组模板; 模板采自实机帧并经离线匹配验证, 本分支尚未真机回归

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你好——我已经审阅了你的更改,整体看起来很棒!

Sourcery 评估

需要人工审查。 如果新的图像模板或 ROI 匹配到了错误的控件,自动化流程可能会切换或应用非预期的队伍或灵魂预设,从而更改游戏配置,并且可能需要手动修正。回滚会移除对新主题的支持,但不会撤销此前已执行的操作。


Sourcery 对开源项目免费——如果你喜欢我们的评审,欢迎分享 ✨
Original comment in English

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Needs a human reviewer. If the new image templates or ROIs match the wrong controls, the automation could switch or apply an unintended team or soul preset, leaving a changed game loadout that may need manual correction. Reverting removes the new theme support but does not undo any actions already taken.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

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