Skip to content

Fix Widget Selector loading without legacy fonts include - #3

Draft
Dimaris-nsk wants to merge 1 commit into
Vandomas:masterfrom
Dimaris-nsk:codex/widget-selector-font-include
Draft

Dimaris-nsk wants to merge 1 commit into
Vandomas:masterfrom
Dimaris-nsk:codex/widget-selector-font-include

Conversation

@Dimaris-nsk

Copy link
Copy Markdown

Work done

Widget Selector fails to initialize because it includes LuaUI/fonts.lua,
which is absent from the tested BAR package. Remove that one unused include:
the selector loads its own fonts with gl.LoadFont and does not use the old
fontHandler.

Test steps

Completed by Codex in real macOS v0.15.1 BAR with separate original/fixed game
packages based on test-31251-0ceadc7, on All That Smolders v1.2:

  • The exact original selector reproduces the native missing-fonts.lua load
    error and has no initialized instance.
  • With this change, F11 opens a readable list. Searching for BuildETA and
    clearing the search work.
  • Turn BuildETA off and back on: its actual instance disappears and returns;
    the initial enabled state is restored.
  • Close the list and move the camera. Run /luaui reload, reopen and close
    the list, then move the camera again. BuildETA remains enabled with one
    instance after reload; Widget Selector loads successfully both times.
  • Both games exit normally with code 0, with no remaining owned processes or
    emergency termination.

Both complete Lua files also compile under Lua 5.1. A focused check using the
pinned loader's compile/setfenv/pcall fragment rejects the original startup
prefix and accepts the candidate; the real-game run covers initialization/UI.

Only the selector entry differs between the two test archives; the other
18,468 entries are identical. This validates the component on that game package,
not the entire fork distribution or an online match. Existing driver/game
warnings remain, including a 2793 ms draw gap during LuaUI reload; no new
selector loading error was found.

Native screenshots, selected logs and recorded states.

AI / LLM usage statement

OpenAI Codex performed the source analysis, one-line change, checks, live game
control and this write-up; another Codex agent reviewed the source and saved
evidence. Human verification is still pending. This draft follows our agreed
review route through Vandomas; the account owner is not represented as having
independently reviewed or tested the code. Images are actual game captures.

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