Files
praxisandClaude Fable 5.2 45ecd73fe0 Evidence records
1888 files, from working commit b1a079a.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 01:32:48 +02:00

68 lines
7.7 KiB
Markdown

# Bulk item appearance dependencies
Extends the existing public item-snapshot/observed-Octo-DBC pipeline. No competing extractor, runtime database access, item-ID substitutions, client installation, or server changes.
The reviewed23-column source layout now retains model names, independent model textures, all eight body texture layers, three geoset selectors, flags, helmet visibility and sound selectors explicitly in the shared inventory. These source values are not treated as equivalent to modern target enums/array positions.
The existing local DBCD reader exported all eight target70334 appearance/model/material/component tables. `manifest.json` pins every DB2, DBD, JSON export, reader source and compiled reader. The preflight rehashes those inputs and reuses the observed-content validator for source ItemDisplayInfo. It preserves every item appearance modifier and model/material resource choice, rather than silently choosing a variant or race/gender.
Results:26,544 source items,16,006 wearable weapon/armor entries,10,307 referenced source displays,6,151 reachable target displays,6,828 items without a target item→appearance chain,650 exact source-context groups with multiple texture variants. Item0 is explicitly blocked as a non-wire sentinel. One target material resource488412 is unresolved. All16,006 items remain **unresolved**, not installable: names, resource edges and matching IDs do not prove byte/geometry/texture/composition compatibility.
The shared bounded listfile reader supplies names for all13,009 referenced target FileDataIDs in one pass. Its ordinary icon caller still has the4096-ID default; appearance callers explicitly request the65536 maximum. The actual strict local CASC dry run reports9,025 known but unavailable IDs and3,984 available files. Extracting only that subset succeeds3984/3984,45,187,300bytes:3,963 MD21 main-model files and21 BLP2 textures. Every extracted file was rehashed. Skin/animation/texture/attachment dependencies remain incomplete; a readable main M2 is not a complete appearance package. No partial-encryption zero filling or downloads were used.
Example19019 source and target both reference the Ashbringer-named model/texture stems. An initial filename suspicion was ruled out by the actual references; those names do not indicate an incorrect Thunderfury model. Source-custom41562 lacks a target item appearance chain. Source13982 display26676 and current target default display23656 differ, requiring content comparison rather than numeric-ID assumptions.
Two complete pinned preflight runs were byte-identical:SHA256 d549742ddeb92b038800f345e8f6f594a42f2ab90828f4481b2cd3f08391c326. Raw29MB reports/exports/assets remain in runtime; compact evidence is retained here.45 relevant source/Turtle regression tests passed42.78s; pure appearance fixtures cover malformed and duplicate identities, missing references, modifier ambiguity, all resource choices, source context variation, deterministic output and item0. No new appearance is claimed loaded or rendered in Forever by this checkpoint.
Reproduce against the existing exports with:
```sh
python3 ops/item_appearance_preflight.py --target-exports runtime/item-appearance-target-70334-20261017 --output runtime/NEW-appearance-preflight.json
```
Next: inspect modern MD21 dependency chunks using an established parser, resolve the source asset/context and patch precedence, compare geometry/material/texture batches, then stage a dependency-complete package through existing content staging. Actual engine acceptance must include in-world/preview/character-selection and relog tests. Do not replace entire DB2 tables or change startup schemas.
## Subsequent model-dependency checkpoint
The same preflight now optionally accepts`--target-assets runtime/item-appearance-target-assets-20261017`. Bounded parsing reuses the existing WoWee`md21Body`/SFID/AFID structures and cross-checks TXID against the original [M2Converter.ReadTXID implementation](https://github.com/SliderBeen/MultiConverter735/blob/master/MultiConverter.Lib/Converters/ModelConverter.cs). No external converter was installed or executed. It rejects duplicate chunks, truncated/oversized arrays, invalid bodies and trailing headers; unknown chunks remain opaque.
All3,963 actual main models parse:742 body-version272 and3,221 version274. SFID yields4,147 nonzero IDs; strict local extraction succeeds for all, yielding4,147 SKIN files/10,923,680bytes. TXID yields224 nonzero texture IDs;61 are locally readable and strict extraction yields61BLP2 files/2,585,876bytes.163 are known but unavailable locally. All extracted file bytes are hashed, but skin index/vertex compatibility, material bindings, opaque chunks and source equivalence remain unverified. Full model-aware preflight names17,326 total referenced target IDs.
Read-only representative Octo archive probes find source MD20version256 models for the Ashbringer and Dragonmaw names. The Ashbringer path has two different model candidates (base model.MPQ and patch-4.mpq). Both are preserved in`source-model-format-candidates.json`; no precedence winner is chosen. Header differences establish different observed formats, not proof that Forever rejects legacy MD20. Forward conversion/backward-loader support needs validation. Do not copy a model or change only its version stamp.
Nine pure appearance/model fixtures and three relevantCTests pass. No original client, source archive, server/character state, active native library, or installed appearance package was changed. Next is source effective-asset selection and geometry/material comparison using the available readers, followed by dependency-complete staging and actual engine tests. The missing texture records must remain explicit blockers rather than being replaced with similar-looking assets.
## Declared vertex comparison checkpoint
The same preflight now optionally decodes version256 source and272/274 target
vertex streams using WoWee's actual header/vertex/texture contracts. The extra
Vanilla playable-animation pair and embedded-view offset are accounted for;
48-byte vertices retain positions, normals, bothUVs and separate skin weights/
indices. All3963 retained target models validate, with no blocked vertex streams.
This is binary structure evidence, not engine rendering or complete conversion.
`vertex-comparison.json` compares both retained271-vertex Ashbringer candidates
and the16-vertex Dragonmaw candidate against all3963 targets. None has an exact
ordered-position match. This rules out claiming a verified recolor from the names
or current streams. It does NOT prove that reordered/equivalent geometry cannot
exist, nor choose either source archive. Source candidates differ in geometry
and texture slots, and effective precedence is still unverified.
Real source replaceable texture slots have an emptyNUL name; actual target slots
retain a nonzero unused offset with length0. The original reader only reads names
when length>0. The parser follows that contract, never dereferences unused offsets
and never invents an external texture for an empty slot. Invalid active extents,
nonfinite vertex data and unsafe external paths remain blocked.
Reproduce the batch using retained assets, without extraction or installation:
```sh
python3 ops/item_appearance_preflight.py --target-exports runtime/item-appearance-target-70334-20261017 --target-assets runtime/item-appearance-target-assets-20261017 --model-vertices --output runtime/NEW-appearance-vertices.json
```
Raw comparison/probes are under runtime/item-appearance-vertex-comparison-20261017;
full linked table/asset report is runtime/item-appearance-with-vertices-v2-20261017.json.
Twelve appearance/model cases and3focusedCTests pass. No new asset is installed;
legacy256 loading by Forever and effective source selection remain next gates.