Building Lizzard / The stage plan
Stage plan
Small, visible steps from running one addon's code outside the game to every OAP addon working acceptably there, and on to other games. The order and scope change as the work teaches us; new stages are inserted along the way.
Plan reviewed · Milestones, not deadlines · Summarised from the project's working plan.
Currently: Stage 5c · An error-free game loop, keyboard, Options, bindings and minimap
Typing in edit boxes works and was checked in the live window; Blizzard's Options panel opens and is being compared with the game page by page; a key press runs its binding; the minimap draws with the OAP addons' buttons. Still to do: the errors while loading (about 320 on Forever), the client's default keys and addons' own bindings, the map inside the minimap, and reloading when a file changes.
Go to the current stageProject set up
A Visual Studio solution with the engine, the live window, the headless runner and the tests, and the project's own instructions and plan.
Done. The git history starts on 29 October 2026; the work before that is recorded in the plan.
What this stage has to establish: Stage 0
- The solution builds and a first test passes.
- The plan, the architecture notes and the list of sources exist from the start.
- The project is a git repository of its own.
Real Lua 5.1, driven from C#
Lua 5.1.5, built from lua.org's source by a C++ project in the solution, with calls both ways between C# and Lua.
Done. Lua errors reach C# with their chunk name, line and traceback; C# errors reach Lua as Lua errors that pcall can catch.
Depends on: Stage 0.
What this stage has to establish: Stage 1
- Lua 5.1.5 from lua.org, its SHA-256 checked against lua.org's list, built by the solution's own C++ project.
- Run Lua text and files from C#; call C# from Lua and Lua from C#.
- Tests for arithmetic, errors with line numbers, calls both ways, coroutines, UTF-8 and files.
Frames and layout, drawn as boxes
CreateFrame for every frame type with an API table, anchors, sizes, scales, visibility, strata and levels, with each frame's rectangle worked out from its anchors.
Done on 25 October 2026 and measured in the game by the probe on Retail: 27 of 31 cases matched at first, and the engine was changed to the game's answers. The same run on Forever is still to do.
Depends on: Stage 1.
What this stage has to establish: Stage 2
- The widget methods come from Blizzard's own documentation files, read at start-up; nothing is copied into the repository.
- Every frame's rectangle from its anchors, sizes and scales, as the game works it out.
- An in-game probe addon measures the same cases in the game, for comparison.
- The probe's run on Forever.
Textures and blending
Blizzard's own art read from the game's BLP files, atlases, texture coordinates, blending and XML templates, so Blizzard's real templates draw as they do in the game.
Built on 25 and 26 October 2026. ButtonFrameTemplate, the OAP window style, draws from Blizzard's own XML and art, and each game is drawn from its own files. The same checks on Forever, and how tiling counts, are still to do.
Depends on: Stage 2 and the game's art export.
What this stage has to establish: Stage 3
- Every kind of BLP file in the Forever art export reads (a scan of all 113,471 files).
- Atlases, texture coordinates, colours and blending as Blizzard's code uses them.
- Blizzard's XML loading: .toc files, templates, scripts and dependencies.
- ButtonFrameTemplate compared with an in-game screenshot, on Retail and then on Forever.
Mouse and events
Hit testing, entering and leaving, clicks, dragging and the mouse wheel; the game's events, and the clock that drives OnUpdate and timers.
Built on 26 October 2026 and tried by The.Pootler in the live window on 28 October. Two behaviours are still to be checked in the game.
Depends on: Stage 3.
What this stage has to establish: Stage 4
- Hover, click, drag and wheel reach the right frame, with the game's order of scripts.
- Events registered, fired and given their arguments as the game does.
- A clock for GetTime, OnUpdate and timers.
- The probe's mouse cases measured in the game.
Display window
The game's screen at a set resolution and UI scale, whatever the window's size, with a tabbed controls window floating above it.
Done before stage 5. Firing the game's display events when the resolution or the scale changes is not built yet.
Depends on: Stage 4.
What this stage has to establish: Display window
- The screen at a set resolution in pixels, with a UIParent scale.
- A controls window above the game, its place and settings remembered.
Text
Blizzard's fonts drawn with FreeType: font objects, measuring, wrapping, escape codes and drawing in the frame's own draw order.
Done on 29 October 2026 and measured by the probe in the game. The known differences are listed and tested; some text looks are still to settle against screenshots.
Depends on: Stage 4 and the fonts from the data export.
What this stage has to establish: Stage 5
- Blizzard's font objects load from its own XML.
- Text measured and wrapped as the game does, escape codes included.
- Text placement compared with an in-game screenshot.
The stand-in game and Blizzard's party frames
Game state in C# (units, the group, auras, combat, the player's stats, gear, bags and spells) behind real versions of the game's documented functions, driven from the controls window.
Units, the group and game data from the project's SQL Server database are built, and the probe measured which events fire when a group forms. Blizzard's party frames, in both kinds, are still open.
Depends on: Stage 5 and the game database.
What this stage has to establish: Stage 5b
- Units and the group, every change firing the game's own events.
- Game tables read from the database rather than typed in.
- A Units tab to build a party, saved and loaded.
- Blizzard's classic and raid-style party frames both showing.
An error-free game loop, keyboard, Options, bindings and minimap
The game loop running with Blizzard's unit frames and no repeating errors, then typing, Blizzard's own Options panel, key bindings and the minimap.
Typing in edit boxes works and was checked in the live window; Blizzard's Options panel opens and is being compared with the game page by page; a key press runs its binding; the minimap draws with the OAP addons' buttons. Still to do: the errors while loading (about 320 on Forever), the client's default keys and addons' own bindings, the map inside the minimap, and reloading when a file changes.
Depends on: Stage 5b.
What this stage has to establish: Stage 5c
- The game loop runs with the unit frames loaded and no errors repeating, while the clock runs and the party changes.
- Keyboard focus and typing in edit boxes, with the game's scripts and order.
- Blizzard's Options panel opens, with an addon's own page, compared with in-game screenshots.
- Key bindings: Blizzard's, the client's defaults and an addon's Bindings.xml.
- The minimap with the OAP addons' buttons at the angles their Options set.
- A warning, and a Reload button, when a loaded file changes.
One real OAP addon
OAPGearHelper, the OAP addon with the most windows, loaded from its own folder (read only): its compare window opens, hover and clicks work, and it is compared with the game. That is version 1.
The OAP addons, OAPGearHelper among them, already load in Lizzard; this stage's own steps, its compare window and the comparison with the game, are not done yet.
Depends on: Stage 5c.
What this stage has to establish: Stage 6
- OAPGearHelper's .toc and files load from its own folder, read only.
- The stand-in game filled in until its compare window opens: only what it needs.
- Hover and clicks work, and the window matches an in-game screenshot.
All the OAP addons
Every OAP addon with windows running in the live window, each compared with in-game screenshots. This is the original idea, done.
Planned after stage 6; the order of the addons is to be agreed then.
Depends on: Stage 6.
What this stage has to establish: Stage 6b
- Each addon loads from its own folder, read only, with only the stand-in game it needs.
- Hover and clicks work in each.
- Each addon's windows compared with in-game screenshots.
Headless runner and comparisons
Scripted runs that save pictures, and side-by-side comparisons with in-game screenshots.
Scenario scripts and saving pictures became stage 8's test steps on 4 November 2026. A side-by-side comparison with a picture of the differences is still open.
What this stage has to establish: Stage 7
- An in-game screenshot and Lizzard's picture at the same scale, with a picture of the differences.
The Lizzard host: a test service for addon sessions
Addon development sessions talk to a running Lizzard over a pipe: they open fresh worlds, drive the mouse and keys with test steps, and get pictures and a report back.
Built on 4 November 2026, ahead of stages 6 and 7, as The.Pootler asked. The guide for addon sessions is written and kept unannounced until The.Pootler says.
What this stage has to establish: Stage 8
- The engine's shared parts checked for two worlds running at once.
- A host with a thread per world, reached over a pipe from Python or the command line.
- Fresh worlds on Forever or Retail: installed addons, work copies or fragments.
- Test steps for the mouse, keys, waits, checks and pictures, with a report of each step.
- Input ownership with a notice, and a mode with no window at all.
A choosable game: WoW as one game simulator among others
The engine split into a UI toolkit and the game behind it, so each world chooses its game: World of Warcraft is one simulator, and a game can bring its own.
Built on 4 November 2026. A second, minimal game proves the split; on 5 November it ran in the Godot game through the same pipe and toolbox.
Depends on: Stage 8.
What this stage has to establish: Stage 9
- The game's interface, with WoW behind it, over services any game's UI needs.
- The WoW-specific parts moved out of the general engine.
- A second, minimal game with a handful of events and functions.
Alongside the stages
Work that runs through every stage rather than belonging to one. The journal and the captures use these names too.
Godot · Lizzard in a Godot game
Lizzard's painter on Godot's graphics, then a Godot game hosting Lizzard's engine, pipe and toolbox, with Lizzard's own threads running the game loop and Godot drawing the newest picture.
Probe · Measured in the game
An in-game addon that measures the cases Lizzard's tests cover, so the engine's answers are compared with the game's, not with anyone's memory.
Game data · The game's own data
Game tables, fonts and art from The.Pootler's data export and SQL Server database, read in place and never copied into the repository.
Painting · Drawing the picture
Lizzard's own drawing code: software and Direct3D in the live window, Godot's canvas in a Godot game, each checked against the others.
Tools · Project tools
The scripts and tools around the engine, for running, capturing, recording and checking.
Project · How the work is run
How the work is done and recorded: the plan, the journal, this website and the rules every session follows.
Later, not planned yet
- A UI designer: Blizzard's templates and OAP-style pieces placed by drag and drop, written out as Lua or XML (asked for on 28 October 2026).
- A role-playing game of Lizzard's own, as an idea for now.
How the plan develops
This page summarises the project's working plan. Stage names stay the same when work is inserted or reordered. Significant changes, results and decisions are recorded in the journal as they happen.