Skip to content

ui sim - #79

Merged
voshond merged 5 commits into
mainfrom
beluga/reverse-engineer-ui-sim
Nov 9, 2026
Merged

voshond merged 5 commits into
mainfrom
beluga/reverse-engineer-ui-sim

Conversation

@voshond

@voshond voshond commented Nov 9, 2026

Copy link
Copy Markdown
Owner
  • Add wowproof UI-proof renderer
  • Render Blizzard art in UI proof
  • Render backdrop borders in UI proof

Standalone wowproof/ package renders mocked frames to SVG/PNG and a contact sheet through an adapter contract. UnitFrames integrates via tests/proof scenarios, Helpers.Snapshot (UF_PROOF=1), scripts/proof.sh and a ui-proof CI artifact.
wowproof fetches only the Interface textures and icons a render uses from a pinned Gethe/wow-ui-textures commit into the ignored .proof-art cache, and crops images by texture coordinates. The mock's SetRaidTargetIconTexture now sets the sprite sheet cell like the client. CI caches the art.
The mock's BackdropTemplate now lays out its nine-slice pieces, colours and edge UVs like Blizzard's BackdropTemplateMixin, including OnBackdropSizeChanged. wowproof maps rotated and tiled texture coordinates through SVG patterns, settles backdrop UVs to resolved sizes and fails a snapshot when rsvg-convert fails. Adds tooltip border and no-border player scenarios.
The backdrop and raid icon mock code added identifiers that match Blizzard Lua mixin methods, so the contract spec's regenerated snapshot no longer matched.
upload-artifact v4 skips hidden paths unless include-hidden-files is set; fail when nothing is uploaded.
@voshond
voshond merged commit a592298 into main Nov 9, 2026
1 check passed
@voshond
voshond deleted the beluga/reverse-engineer-ui-sim branch November 9, 2026 11:22
@voshond voshond changed the title Reverse engineer ui sim ui sim Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant