Add actor content scenario validation

This commit is contained in:
server
2026-04-14 18:00:13 +02:00
parent aacc0651b0
commit 836e95d1f1
3 changed files with 231 additions and 0 deletions

View File

@@ -196,3 +196,17 @@ This validator checks real cross-pack world references:
- each selected `Outdoor*` map pack contains `mapproperty.txt`
- `TextureSet` targets from `setting.txt` exist in `textureset`
- `Environment` targets from `setting.txt` exist in `ETC/ymir work/environment`
Actor/content scenario validator:
```bash
python3 scripts/validate_actor_scenarios.py \
--runtime-root /tmp/m2dev-client-runtime-http \
--json
```
This validator checks local actor integrity for `Monster`, `NPC`, and `PC`:
- `motlist.txt` motion files exist
- each motion has a paired `.gr2` in the same actor directory
- `.msm` base model targets resolve against the runtime asset set