Skip to content

UI Resource Parity Cleanup

rayswaynl edited this page Jun 14, 2026 · 11 revisions

UI Resource Parity Cleanup

Status: docs-ready UI cleanup lane. No gameplay source changed by this page.

Use this page when deciding whether the current UI/Rsc issues are broken live features, safe cleanup, or branch-only fixes. It consolidates the stale upgrade dialog, Economy IDC drift, and duplicate IDD findings so future work does not re-audit them separately.

Canonical owner pages:

Current Parity Matrix

Item Current docs/source Chernarus Maintained Vanilla Takistan Stable origin/master cf2a6d6a Miksuu b8389e74 / perf 0076040f Release a96fdda2 Development meaning
Stale RscMenu_Upgrade Present at Rsc/Dialogs.hpp:2425; onLoad points to missing Client/GUI/GUI_Menu_Upgrade.sqf at :2428; old wf_*.paa icons are referenced at :2634-2821. Same stale class and missing controller. Removed in both maintained roots; no RscMenu_Upgrade / GUI_Menu_Upgrade.sqf hits in checked Rsc/Dialogs.hpp. Same stale class in Chernarus and Vanilla (Dialogs.hpp:2435, :2438). Removed in both maintained roots. Treat the old class as stale. Preserve or port the stable/release deletion, or add an explicit compatibility alias, then smoke live WFBE_UpgradeMenu.
Economy stale control writes GUI_Menu_Economy.sqf:7-8 writes 23004, 23005, 23006, but RscMenu_Economy declares 23002, 23003, 23008-23016 (Dialogs.hpp:3327-3408). Same stale writes and declared-control shape. Rewritten away from the stale writes in both maintained roots; uses display controls 23002 and 23020 (GUI_Menu_Economy.sqf:4,25). Same stale writes in both maintained roots (GUI_Menu_Economy.sqf:7-8). Same stable shape in both maintained roots (GUI_Menu_Economy.sqf:4,25). Port/compare the stable/release shape or remove/update stale writes consistently across target roots. Smoke Economy disabled state, income controls, sell mode and supply-truck respawn.
EASA/Economy duplicate dialog IDD RscMenu_EASA and RscMenu_Economy both use idd = 23000 (Dialogs.hpp:3209-3211, :3287-3289). Same duplicate. Distinct in both maintained roots: EASA idd = 24000 (Dialogs.hpp:2887-2889), Economy 23000 (:2965-2967). Same duplicate in both maintained roots (Dialogs.hpp:3265-3267, :3343-3345). Distinct in both maintained roots: EASA idd = 24000 (Dialogs.hpp:2862-2864), Economy 23000 (:2940-2942). Port or preserve the stable/release dialog IDD split for target branches still duplicating 23000. No checked maintained root has a findDisplay 23000 caller, but future dialog work should not rely on duplicated display IDs.
RscOverlay/OptionsAvailable duplicate title IDD Both use 10200 (Rsc/Titles.hpp:44-46, :164-165). Same duplicate. Same duplicate with line drift (Rsc/Titles.hpp:44-46, :168-169). Same duplicate. Same duplicate with stable line drift. Keep separate from EASA/Economy. Fix only with RHUD/action-icons/endgame display-handle smoke because title ownership also shares uiNamespace["currentCutDisplay"].

Source Evidence

  • Live upgrade path: WFBE_UpgradeMenu loads Client/GUI/GUI_UpgradeMenu.sqf (Rsc/Dialogs.hpp:4-7), and the main menu opens it with createDialog "WFBE_UpgradeMenu" (Client/GUI/GUI_Menu.sqf:165).
  • Old upgrade path: no Client/GUI/GUI_Menu_Upgrade.sqf exists in current Chernarus or maintained Vanilla, and no Client/Images/wf_*.paa files exist under current Chernarus Client/Images.
  • Economy declared controls: current RscMenu_Economy declares 23002, 23003, 23008, 23009, 23010, 23011, 23012, 23013, 23014, 23015, 23016, not 23004-23006.
  • Display lookup caveat: the 2026-06-14 maintained-root search found no findDisplay 23000 or findDisplay 10200 caller in docs checkout 2fef1e3d, stable cf2a6d6a, Miksuu b8389e74, perf 0076040f or release a96fdda2, so duplicate IDD cleanup is maintenance/future-proofing rather than a proven live lookup bug.

Recommended Patch Order

  1. Remove or explicitly alias stale RscMenu_Upgrade across source Chernarus and maintained Vanilla; stable/release already provide a deletion comparison.
  2. Normalize Economy controller/control-map parity across source Chernarus and maintained Vanilla, using stable/release as comparison evidence.
  3. Give EASA and Economy distinct dialog IDDs across both maintained roots, or record a deliberate waiver; stable/release already use the split in both maintained roots.
  4. Handle title IDD/display ownership as a separate patch: RscOverlay, OptionsAvailable, RHUD/action icons and EndOfGameStats must be smoked together.

Do not combine this lane with Economy authority, EASA balance generation, upgrade-request authority, or commander-economy redesign. Those are behavior/security lanes; this one is UI resource parity and smoke.

Validation

Source checks:

  • No stale RscMenu_Upgrade class remains, or it is explicitly an alias to the live WFBE_UpgradeMenu.
  • Economy controller writes only declared controls.
  • EASA/Economy have distinct dialog idd values, or the waiver is documented.
  • No new hard-coded findDisplay 23000 / findDisplay 10200 assumptions are introduced.

Arma smoke:

  • Live upgrade menu opens, lists upgrades, and sends RequestUpgrade as before.
  • Economy opens as commander and non-commander; disabled state, income slider, sell mode and supply-truck respawn controls behave as expected.
  • EASA opens from service menu and applies/returns correctly.
  • RHUD/FPS HUD, action icons and endgame stat bars still display without title-handle flicker.

Continue Reading

Previous: Client UI systems atlas | Next: UI IDD collision repair

Main map: Home | Fast path: Feature status | Agent file: agent-feature-status.jsonl

Sidebar

Clone this wiki locally