port 2D step 1: look up root/<cls>_<m/w>.msm first (40250 root pack layout)

40250 playersettingmodule.py loads chrmgr.LoadLocalRaceData("warrior_m.msm") from
root/; m2dev root/msm/ stays as the fallback. equip_model_test checks all 8
races resolve from Eternexus/root with shape 0 under pc/ (0..3) or pc2/ (4..7).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-09-23 01:35:40 +09:00
co-authored by Claude Opus 5
parent 232d0461be
commit 240d2827c6
2 changed files with 22 additions and 1 deletions
+3 -1
View File
@@ -526,7 +526,9 @@ func _ensure_spec() -> void:
return
var cls: String = CLASS_OF[race & 3]
var suffix := "w" if race in [1, 3, 4, 6] else "m"
for rel in ["root/msm/%s_%s.msm" % [cls, suffix],
# 40250 的 root 包把 <cls>_<m/w>.msm 放在 root/ 下(playersettingmodule.py chrmgr.LoadLocalRaceData("warrior_m.msm"));m2dev 放在 root/msm/。
for rel in ["root/%s_%s.msm" % [cls, suffix],
"root/msm/%s_%s.msm" % [cls, suffix],
"PC/ymir work/pc/%s/%s.msm" % [cls, cls],
"pc2/ymir work/pc2/%s/%s.msm" % [cls, cls],
"season1/season1/pc/%s.msm" % cls]: