Repository navigation
适配 v2.1.302 icon 结构(Xe/Je/Qe/Ze 四表) - #3
Merged
Merged
Conversation
v2.1.302 将 icon 从 {default:{r1L,r1E,...}} 平铺表重构为
Xe(arms)/Je(eyes)/Qe(feet)/Ze(mouth) 四张独立数据表。
旧的 _pool_icon_map 在 {default:{r1L: 未命中时回退到新增的
_pool_icon_map_v2,从 Xe/Je/Qe 源码结构读出当前可见内容
映射到设计稿,再由 _pool_emit 落到常量池。
- 新增 _pool_icon_map_v2(): 解析 Xe arms(r1L/r1R/r2L/r2R)、
Je eyes(open/left/right)、Qe feet(both/left/right)、mid body
- arms 槽位自动截断/补齐适配 v2 宽度差异
- 常量池去重冲突时跳过后续映射(one-up 与 down 共享条目)
- 附 2.1.302 patch 定义(20 条,verified)
实测: python3 -m patcher all <2.1.302 二进制> --apply -y
→ 20 条 sha1 全部校验通过,签名通过
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
{default:{r1L,r1E,...}}平铺表重构为Xe(arms) /Je(eyes) /Qe(feet) /Ze(mouth) 四张独立数据表_pool_icon_map_v2(): 当旧锚点{default:{r1L:未命中时自动回退,从 Xe/Je/Qe 源码结构读出可见内容映射到设计稿patches/2.1.302.toml(20 条, verified)Test plan
python3 -m patcher all <2.1.302 binary> --apply -y→ 20 条 sha1 全部校验通过--version输出真实版本2.1.302