1888 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
139 lines
8.4 KiB
Markdown
139 lines
8.4 KiB
Markdown
Paired source/native equipment model control, 2026-10-18
|
|
======================================================
|
|
|
|
The exact source `item/objectcomponents/shield/shield_zulgurub_d_02.m2` was
|
|
extracted read-only from the installed Octo `patch.MPQ`. There was one matching
|
|
candidate among the inspected public archives. Its MD20 version is256, size29136
|
|
bytes. This does not establish universal MPQ patch precedence.
|
|
|
|
The paired target is the actual Forever70334 resource143077, MD21 container with
|
|
MD20 version272, size15992bytes, external SKIN489766. Both source and target have
|
|
301vertices. `comparison.json` pins all three input hashes and records:
|
|
|
|
- Identical multisets of full48-byte vertices: position, weights/bone indices,
|
|
normals, both UV sets, including duplicate multiplicities.
|
|
- Identical oriented triangles after resolving both levels of skin indices and
|
|
disregarding triangle/vertex ordering. Reversed winding is not accepted.
|
|
- Different vertex ordering; an ordered vertex hash alone gave a false mismatch.
|
|
- Four source embedded skin views versus one target external view.
|
|
- Four source draw batches versus three native batches, with different shader
|
|
and material bindings. Geometry equality does not imply equivalent materials.
|
|
- Source explicit texture names become native TXID entries143082/144328; the
|
|
replaceable texture slot remains0. File IDs are not item/display identifiers.
|
|
|
|
Implementation: `ops/m2_format_compare.py`, using the existing bounded model
|
|
parser and the local WoWee `m2_loader.cpp` disk-structure declarations. Synthetic
|
|
tests cover reordered vertices, topology, winding, duplicates, invalid indices,
|
|
array bounds, nonfinite coordinates, truncated skins and direction validation.
|
|
Six focused tests and the existing22appearance tests pass. The22-suite item
|
|
regression result is retained under
|
|
`runtime/catalog-items-20261018/paired-model-regression/report.json`.
|
|
|
|
This is actual extracted-file evidence and offline comparison, not a new
|
|
real-client rendering result. No converter output was installed. No source
|
|
client, executable, native asset, CASC record, schema or character was changed.
|
|
The native/loose loading controls previously showed that file registration is
|
|
also required; paired comparison does not resolve that independent requirement.
|
|
|
|
Resume with the canonical backlog. Apply shared structural/material conversion
|
|
rules to all four captured custom meshes, preserving missing dependencies
|
|
explicitly, then validate registered resources in the actual native engine.
|
|
The equipped Modrag'zan also has a separate, confirmed missing item metadata /
|
|
weapon-damage representation problem; geometry conversion alone cannot fix it.
|
|
|
|
Subsequent shared equipment conversion checkpoint
|
|
-----------------------------------------------
|
|
|
|
`ops/m2_track_convert.py` converts source flat/range arrays to native nested
|
|
arrays. The actual shield scale tracks establish inclusive end indices: source
|
|
range(0,2) contains all three keys, matching the native file bit-for-bit. Both
|
|
animated scale tracks reproduce native timestamps/keys exactly. Source animation
|
|
start times are explicitly rebased; global sequences retain their own timeline.
|
|
Quaternion compression uses the native offset encoding; unsupported Hermite or
|
|
Bezier keys fail explicitly. This contract is not reused for distinct events.
|
|
|
|
`ops/m2_equipment_convert.py` uses that component for all four custom source
|
|
meshes: the equipped Modrag'zan, Bulwarkblade, Sulfuron Aegis and Skyrazors.
|
|
All four native272 bodies and four external skins stage successfully. In total
|
|
97bone/opacity/attachment tracks and7weapon-trail events are retained. Vertex
|
|
bytes and oriented triangle topology remain identical. Sort spheres derive
|
|
from the actual submesh vertices, including outward float32 radius rounding.
|
|
Basic source material passes are preserved separately; shader-pass optimization
|
|
is not assumed. Unsupported color/UV/particle and advanced batch features reject.
|
|
|
|
`converted-equipment.json` records hashes, output roles, source archive candidates
|
|
and the actual paired controls. Re-running unchanged input/code reproduces the
|
|
manifest and bytes; dry-run performs no writes. Six track tests, eight assembly /
|
|
batch tests and six paired-comparison tests pass. Broader22-suite item regression
|
|
logs are under `runtime/catalog-items-20261018/model-conversion-regression/`.
|
|
|
|
Run the existing extracted batch with:
|
|
|
|
```sh
|
|
python3 ops/m2_equipment_convert.py \
|
|
--source-manifest runtime/catalog-items-20261018/praxiscopy-all-missing-resources/source-assets/manifest.json \
|
|
--output runtime/NEW_MODEL_STAGE
|
|
```
|
|
|
|
This produces native body/skin structures, not a ready-to-install CASC package.
|
|
Registered skin/texture identifiers, item/material bindings, engine loading,
|
|
appearance, trails and gameplay still require actual-client verification.
|
|
No executable, running client, original asset or character state was modified.
|
|
|
|
Native skin-layout correction (supersedes earlier skin outputs)
|
|
--------------------------------------------------------------
|
|
|
|
The minimal old reader omitted destination extensions. Actual native4147SKINs
|
|
have an extended header, zero reserved bytes56..63, and bounded12-byte shadow
|
|
records; eight controls refuted an initial16-byte-stride assumption. The
|
|
[modern format implementation](https://docs.rs/wow-alchemy-m2/latest/src/wow_alchemy_m2/skin.rs.html)
|
|
independently defines the12-byte records. The
|
|
[WhiteoutLib native-format analysis](https://github.com/sc2-arcade-watcher/WhiteoutLib/blob/libmodkit/docs/M2_FILE_FORMAT_SPECIFICATION.md)
|
|
also identifies the modern header and LOD vertex-base interpretation.
|
|
|
|
Native field44 differs from the legacy bone maximum. Two real head lod01 files
|
|
have bases272/190, exactly their respective preceding lod00 index counts. The
|
|
legacy converted views retain their original global vertex buffer and therefore
|
|
use native base0. Copying old boneMax21 there was incorrect. The comparison now
|
|
resolves native base offsets, and regression fixtures reject the old mistake.
|
|
An actual native weapon profile has no shadow rows; zero is a supported state,
|
|
but source shadow appearance is not verified. Raw geometry and oriented topology
|
|
are still preserved after these semantic corrections.
|
|
|
|
`native-skin-layout.json` contains corpus counts, independent control hashes and
|
|
remaining limits. Runtime converted-equipment-v5 replaces v1..v4; old reports
|
|
remain historical evidence, never installation candidates. No custom model was
|
|
requested in the actual game using those old48-byte-header outputs.
|
|
|
|
Native publication continuation and restored control
|
|
----------------------------------------------------
|
|
|
|
The corrected v3 package reached genuine local authentication and character
|
|
selection, but world-entry automation encountered a fatal
|
|
`GxuFullScreen.cpp:47` assertion (`actualSize.x=0,y=0`). The registered model
|
|
probe had not run. The assertion does not establish a converted mesh defect.
|
|
The complete coherent baseline Data and original build configuration were
|
|
restored, preserving the failed candidate separately. Actual control PID385046
|
|
then passed SRP/character selection in21.065s and world entry in11.213s, gateway
|
|
stopped; both screenshots were reviewed. Original installations and character
|
|
records/progression were unchanged. Runtime evidence is
|
|
`praxiscopy-all-missing-resources/post-v3-baseline-{login,world}.json/png`.
|
|
|
|
An additional package gap was confirmed: original DOWNLOAD had no entries for
|
|
the15newassets or newROOT. `ops/casc_asset_package.py` now supports the actual
|
|
70334 DLv1 layout, inheriting each asset's priority/platform/locale/region tags
|
|
from an explicit original native resource EKey. No guessed tags or checksum
|
|
algorithm are introduced. The actual original manifest MD5 matches the build
|
|
configuration. The staged batch adds16entries while preserving all2329560old
|
|
entry bytes and every bit in all31original tag bitmaps, independently checked
|
|
after stripping the additions. Six focused regressions cover ordering, byte
|
|
boundaries, inherited tags, conflicts and malformed/unsupported layouts; all
|
|
43format/conversion/publication tests pass. `download-publication.json` contains
|
|
the actual manifest preservation result.
|
|
|
|
The SIZE manifest could not be strictly extracted locally (error2); no partial
|
|
bytes or replacement metadata were invented. DOWNLOAD staging is not installed
|
|
and does not prove that missing availability entries caused the earlier native
|
|
failure. The native engine must still validate the next coherent package and
|
|
render its registered resources before model import can be reported working.
|