Files
firestorm/Gameleap/mw4
ef4e014066 Install J&J MFD/Radar art and repair the damage-zone mappings
The STEP 13 install put the J&J data into coord.cpp with two systemic faults.
Both are fixed here, along with eight transcription errors in the source files.

texuv/offset were transposed. texuv2/texuv3 must hold the EXPLODED-layout box
and offset2/offset3 the assembled placement point; the previous install had them
the other way round, so no rectangle bounded its own artwork.

Left and right were mirrored. The engine draws the doll facing the viewer, so
the mech's right side must appear on the viewer's left for damage to map to the
side actually hit. All 19 J&J sets were authored from the mech's own viewpoint.
Confirmed by handedness audit: every display with J&J data was mirrored and every
display without it was correct, so the fault came in with that import. The seven
untouched displays (argus/fafnir/flea/gladiator/kodiak/longbow radar, hellspawn
MFD) are original game data and are left alone.

The art itself had never actually been installed - all 19 files differ from the
supplied exploded BMPs by 6-35% of pixels, despite MFD-RADAR-MAPPINGS.md claiming
they were pixel-identical. Sources are normalised to 512x512 8-bit greyscale to
match the existing hsh format. behemothii art is resynced from behemoth since
mech ID 12 inherits ID 11's coordinates.

Source-data errors found and corrected during review:

  annihilator radar RA  dropped digit in y1        iou 0.13 -> 0.96
  assassin2   radar CT  omitted the pelvis flare   iou 0.51 -> 1.00
  behemoth    mfd   LA  x 281, transposed from 218 iou 0.25 -> 0.81
  blackhawk   mfd   RT  transposed leading pair    iou 0.13 -> 0.99
  blackhawk   mfd   HD  box only 4px tall          iou -> 0.80
  blackhawk   radar LT  lost leading digit of x0   iou 0.27 -> 0.97
  blackhawk   radar LA  box clipped 2 rows of art
  Fafnir      mfd   RT, LA  boxes overlapped the neighbouring piece

Plus 15 reviewed placement corrections: mirrored pairs levelled on art extents
rather than box edges (box padding differs between mirrored pieces), Behemoth
torso/arm alignment, Kodiak head moved into its cockpit slot, and Warhammer CT
shifted 19px left, which also re-centred its head.

All 19 sets were reviewed individually against the exploded sheet and the
assembled result. Lowest set mean IoU is 0.851; arrays remain 65x11 and the file
remains CRLF-only.

Requires a Windows VC6 rebuild of MW4.exe (DXRasterizer.cpp includes coord.cpp)
and hardware testing on physical MFD/Radar displays. MW4/hsh is deliberately not
updated; it is regenerated by deploy-mw4.ps1 on the build machine.

Co-authored-by: Claude Opus 5 (Anthropic) <noreply@anthropic.com>
Co-authored-by: GitHub Copilot <copilot@github.com>
2026-08-09 12:34:38 -05:00
..