How much of the game's XML Lizzard reads, now measured
I asked whether we'd been keeping detailed documentation of the XML and its schema as the layout engine grew. Claude's honest answer was "partly": the rules were spread across code comments and two long lists. Now there is a guide, and rather than say from memory what Lizzard understands, Lizzard measured it. It reads about 91% of the attributes in the game's interface XML.
Read the entry: How much of the game's XML Lizzard reads, now measured
Blizzard's interface is mostly written in XML, checked against a schema file, UI.xsd, that comes with the game. Lizzard reads the same files. What it does with each part had been written down wherever it turned up: beside the code, in the list of guesses, in bug reports. The new guide gathers the loading and layout rules in one place. Each says where it came from: measured in the game, read from Blizzard's own code, seen in a screenshot, or guessed.
For the schema, Claude didn't write a list of supported elements by hand. Every attribute Lizzard's loader reads goes through one small function, so while the game's interface loads, Lizzard notes each element and attribute it was asked about. Comparing that with the files themselves, and with UI.xsd, gives a list nobody has to remember or keep in step. It can be made again after each game update.
With the interface the live window loads on Forever, 578 files, Lizzard read 61,069 of the 66,833 attributes used, and 32,113 of the 34,665 elements. Retail came out much the same: 57,942 of 63,663 attributes. About a thousand templates that nothing used were left out of the count, because the loader never reached them to read or ignore.
The list matters because ignored attributes are silent. When Lizzard can't build an element, it says so as it loads; an attribute it doesn't read just vanishes. The biggest gaps are the values of scale and rotation animations (Lizzard makes the animations, but they don't move anything yet), wrap settings on masks, and frame types it doesn't draw at all, such as 3D models and the colour picker.
Checking every claim in the guide against the code caught one of Claude's own. The draft said a "toplevel" frame comes to the front when it is shown or clicked, but the probe had only measured that the setting is kept. The click part is now marked as a guess.
This measures what Lizzard reads, not whether it does the right thing with it. That is still the job of the probe in the game and of in-game screenshots.
Follow-up, : When I asked for the XML documentation I also wanted it on the website, which I hadn't said. It is there now, as a small documentation site of its own under Documentation: thirteen pages, from a first window to a reference of every element in the game's schema. I asked for diagrams where they would help, naming anchors and layering, and left Claude to judge the rest. Fourteen came out of it: anchors and their offsets, which of two anchors wins an edge, stretching, the order things are drawn in, templates, names and keys, and when scripts run. The layering pages show the rule that surprises people most: frames at the same level share their layers, so a child frame there can't cover its parent's text with its background. Each rule says how Lizzard knows it: measured in the game, Blizzard's code, a screenshot, or guessed. The element reference is made by the same measurement as before, for Forever and Retail, so it can be made again after a game update rather than retyped. Building it showed the measurement still overstated a little: elements Lizzard never builds were shown with their name as read, because the loader asks every top-level element its name before turning it away. That's fixed. The guide is on the development site only so far.