Skip to content

v0.91

Choose a tag to compare

@Asure Asure released this 08 May 23:36

v0.91 — Dynamic IHDR, Old-Format Palette Fix, WWF Test Data

Changes

  • IHDR> directive now fully dynamic: Field order, grouping (consecutive :W fields share .word lines), and formatting all follow the IHDR spec. Removed the hardcoded CTRL special case that broke line grouping when PAL:L was skipped via POF>.
  • Old-format IMG palette offset fixed: 42-byte to 50-byte IMG_REC conversion was computing pal_ofs = old_oset + n*92 instead of old_oset + n*42. Fixes palette lookups in WWF WrestleMania font files (TROGF15.IMG, TROGF7.IMG).
  • WWF test data added: MAIN.LOD and MISC.LOD with LOADW reference outputs and verbose logs.

Test Results: 15 pass, 4 fail

Passing: MK2-8MIL, BB/BB2/BB3/BB4/BB8, BBMUG, BBVDA, MISC
Failing: BB5 (3/7 CMP=1 cascade), BB6 (5/6 PLYRDSQ2 PT0X sentinel), BB7 (15/16 OUTDOOR dedup), BAM (WWF TBL format)