[Parity][render][S3][F] entity-art-loader 的兜底与未使用字段 #619

Closed
opened 2026-10-02 11:42:47 +00:00 by troytt · 0 comments
Owner

1.13c 客户端保真度审计立项(基准快照:7bd1090 / main @ 77a20c7)

证据标记说明:V-data = 1.13c MPQ 数据表 (.txt / animdata.d2 / .tbl / pal.pl2);V-src = D2MOO 逆向源码;V-bin = 1.13c DLL 反汇编;K = 1.13c 公认行为。

来源审计项:render#19 — [S3][F] entity-art-loader 的兜底与未使用字段

  • 位置:src/client/scene/entity-art-loader.ts:308(loadCharacterArt 默认 token 'so')、:448、:492(object blendMode ?? indexEntry?.blendMode ?? 'normal')、objects.txt trans 已载入但没有使用、entry.scale 存了但没有使用、多个候选 base path / URL 依次 catch → 下一个
  • 影响:缺数据时静默改用 Sorceress 或 normal;同一资源在多个路径之间"试着加载",会掩盖烘焙路径错误(只有 mod 或资源缺失时才暴露)。
  • 建议:token 不应有默认值;blendMode 取 objects.txt Trans 或 COF;URL 只有一个,失败就报错。
  • 已有 issue:—
> **1.13c 客户端保真度审计立项**(基准快照:`7bd1090` / `main @ 77a20c7`) > 证据标记说明:`V-data` = 1.13c MPQ 数据表 (`.txt` / `animdata.d2` / `.tbl` / `pal.pl2`);`V-src` = D2MOO 逆向源码;`V-bin` = 1.13c DLL 反汇编;`K` = 1.13c 公认行为。 ### 来源审计项:`render#19` — [S3][F] entity-art-loader 的兜底与未使用字段 - 位置:`src/client/scene/entity-art-loader.ts:308`(`loadCharacterArt` 默认 token `'so'`)、`:448`、`:492`(object `blendMode ?? indexEntry?.blendMode ?? 'normal'`)、objects.txt `trans` 已载入但没有使用、`entry.scale` 存了但没有使用、多个候选 base path / URL 依次 `catch → 下一个` - 影响:缺数据时静默改用 Sorceress 或 normal;同一资源在多个路径之间"试着加载",会掩盖烘焙路径错误(只有 mod 或资源缺失时才暴露)。 - 建议:token 不应有默认值;blendMode 取 objects.txt Trans 或 COF;URL 只有一个,失败就报错。 - 已有 issue:—
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: troytt/diablo2-web#619
No description provided.