dm2-graphics: apply per-object cls3=0x0E remap LUTs during palette resolution #265
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The
0x0ELUT format is already understood — a 17-byte ASCII-hex remap, documented indocs/formats/graphics-dat.md§ "Per-cls3 type taxonomy" →0x0E. The A5 jump-table decode (entry = (disp - 0x22)/8, identical on Sega CD and Amiga) pinned the selector at entry 492 (cls4 = table[(byte4 >> 4) - 1],0xFFwhen the nibble is 0), gated by the booleanGDAT(0x0B, 0, 0x0A, type)at entry 496. What is not implemented is the actual application step during palette resolution.Why it's deferred
Nothing in the 16 staged fixtures needs the LUT applied to render correctly, and SKPROJECT's DM2GDED
FindImagePaletteis pure-virtual with no reference implementation to mirror (ROADMAP.md:1305–1316).Scope
find_image_palette_ctxbehind theGDAT(0x0B,0,0x0A,type)gate.cls4remap LUT to per-object image palettes.Acceptance