Skip to content

BAR Xbox Controller Support v0.4.3 - Queue Polish

Choose a tag to compare

@UnderarmCape UnderarmCape released this 31 May 12:06
· 2 commits to controller-support-current-master-engine-shim since this release

Legacy notice:
This release is legacy/cluttered. Use the AIO Clean Install release instead:
https://github.com/UnderarmCape/underarmcape-bar-controller-support-attempt-01/releases/tag/controller-support-v0.4.3-queue-polish-aio-clean-install

BAR Xbox Controller Support v0.4.3 - Queue Polish

This is the normal v0.4.3 release for BAR Xbox Controller Support. It is not a prerelease.

Important Requirement / Current Recommended Install

This mod still requires the custom controller-enabled Recoil engine, but the current recommended installer no longer installs the old full controller-support BAR.sdd package.

Use:

  • Install_BAR_Controller_Support_v0.4.3_QUEUE_POLISH_FINAL_CLEAN_INSTALL.bat
  • or BAR_Controller_Support_v0.4.3_QUEUE_POLISH_FINAL_CLEAN_INSTALL_PACKAGE.zip

The final clean installer uses:

It does not install:

  • old backed-up BAR.sdd
  • local BYAR Chobby.sdd
  • old bloated full BAR.sdd package
  • Stutter Fix Attempt 02 engine
  • LuaRules/controller game-side files

The previous full BAR.sdd packaging caused periodic RTSS frametime stutter on the user's test system. Fresh official BAR.sdd plus the latest LuaUI widgets and stable compatibility engine tested smooth and restored controller functionality.

Installer Hotfix

The final clean installer now detects the actual Windows Desktop path using Windows known-folder detection, so it works correctly on systems where Desktop is redirected to OneDrive. The log file is written to the detected Desktop path; if Desktop detection fails, the installer falls back safely instead of crashing.

Engine

Required engine release:

https://github.com/UnderarmCape/controllersupport-RecoilEngine-attempt-01/releases/tag/controller-support-recoil-2025-06-24-compat

Engine asset:

recoil_2025.06.24-controller-support-pr2985-win64.zip

The engine preserves the PR beyond-all-reason#2985 Lua controller polling API:

  • Spring.GetAvailableControllers()
  • Spring.GetControllerState(instanceID)

LuaUI Widgets

Primary widgets:

  • gui_controller_camera_test.lua
  • gui_controller_bindings_ui.lua

Optional diagnostic widget:

  • gui_controller_smartx_mouse_audit.lua
  • Disabled by default.
  • Use only for Smart X diagnostics.

Highlights

  • Built on v0.4.2 Smart X calibration.
  • Queue Polish.
  • Fixed Y Do Next queue insertion using vanilla INSERT behavior.
  • Fixed Y-held consecutive line/drag move queue continuation.
  • Removed redundant blue controller move preview overlay.
  • Preserved vanilla move path arrows/waypoints.
  • Added/fixed RT + A individual multi-select accumulation.
  • Final clean install packaging uses fresh official BAR.sdd, not the old full replacement package.

Preserved Smart X Fixes

  • Reclaim, Resurrect, Repair, and Guard target behavior.
  • Mex radius around 55 elmos.
  • Exact target priority.
  • Wreck beats mex priority.
  • Smart X Reclaim/Resurrect/Repair/Guard manual tests passed.

Other Confirmed Working Systems

  • Hold A brush selection.
  • Hold A + X brush filter radial.
  • Compact build menu scaling.
  • RT append.
  • Y + RT priority.
  • DGUN mode.
  • Self-destruct Back/View + R3 + L3.
  • Tactical radial.
  • Build/factory radial.

Known Deferred Work

  • Full vanilla Area Mex behavior.
  • Settings UI reset X/Y crash.
  • Selected-unit type cycling with D-pad Left/Right.
  • Area Mex clue: mouse audit reports Active Command ID = 11 when Area Mex command is active.

Do not claim Area Mex is fixed in this release.

Manual Test Checklist

Install:

  • Run the final clean installer.
  • Confirm gui_controller_camera_test.lua loads.
  • Confirm gui_controller_bindings_ui.lua loads.
  • Confirm the game uses the Recoil 2025.06.24 compatibility/custom engine.

Clean install verification:

  • Launch BAR normally.
  • Open Settings > Developer.
  • Set Singleplayer to Beyond All Reason Dev.
  • Start a local match.
  • Confirm no periodic RTSS stutter.
  • Confirm Xbox controller HUD and input work.

Smart X:

  • Con bot over wreck: Reclaim.
  • Res bot over wreck: Resurrect.
  • Damaged allied target: Repair/Guard.
  • Mex near 40 elmos: protected behavior.
  • Mex near 75 elmos: Move allowed.
  • Wreck near mex: wreck wins.

Queue controls:

  • Queue 4 moves, hold Y, issue new Move: new Move goes next/front and old queue remains.
  • Hold Y and draw consecutive move lines: second line continues previous queued path.
  • Hold RT and draw move lines: append works.
  • Y + RT: Y priority.

Selection:

  • Hold A brush works.
  • A + X filter radial works.
  • RT + A individual unit add works.

Visuals:

  • No extra blue controller move preview line/circles.
  • Vanilla move path visuals remain.
  • Compact build menu scaling works.

Existing controls:

  • DGUN.
  • Self-destruct Back/View + R3 + L3.
  • Tactical radial.
  • Build/factory radial.

Optional:

/luaui enablewidget "Controller SmartX Mouse Audit"