English | 中文
Game Automation Coverage Analysis
This document records the current game-automation coverage of Wingman and compares it with similar products. It is intended to guide future implementation and prevent scope drift.
Last calibrated: 2026-10-15 (desktop GUI screen preview/region select, profile import/export, script hot reload, and the Dashboard Teams page; see Product UX Gaps and Orchestration/Team Gaps). Previous calibration: 2026-10-08 (local ONNX object detection and the team protocol — voting/inbox/broadcast — recalibrated). Previous calibration: 2026-10-04 (trigger GUI editing and global hotkeys landed).
Positioning
Wingman targets non-invasive game automation based on:
- Screen capture, pixel/color/image recognition, OCR.
- Mouse and keyboard input simulation.
- Lua/Python scripting.
- Local IPC control from the desktop UI.
- Optional central orchestration through the Go server, with runtime connecting outbound.
Wingman should not become an injection, memory-reading, or anti-cheat bypass framework.
Current Coverage
Current coverage is strong at the engine/API layer and weaker at the product UX layer.
| Area | Coverage | Notes |
|---|---|---|
| Screen capture | High | Supports screenshots and bitmap operations. |
| Pixel/color detection | High | Covers cooldowns, health bars, resource indicators, UI state checks. |
| Image/template matching | Medium-High | Core capability exists; server-side template asset distribution and the script-level template registry have landed, but the GUI capture/crop tool and per-profile binding are still needed. |
| OCR | Medium | Useful for UI prompts and text detection; robustness depends on preprocessing and OCR quality. |
| Input simulation | High | Mouse and keyboard automation covers macro and action execution. |
| Macro recording/replay | Medium | Core recording/replay exists, but timeline editing and user workflow are incomplete. |
| Trigger system | High at engine level | Conditions/actions/cooldowns are aligned with game automation needs. GUI editing (create/edit/delete, condition/action/cooldown fields) landed in the desktop GUI triggers page. |
| Scripting | High | Lua and Python support make Wingman stronger than many simple macro tools. |
| FSM / behavior tree / task orchestration | High | Suitable for combat loops, gathering loops, and complex state handling. |
| Humanized input | Medium-High | Random delay and human-like movement direction is correct; tuning UI and profiles are needed. |
| Game profiles | Medium | Basic profile direction exists; needs stronger asset/config binding per game. |
| Local UI control | Medium | IPC architecture is correct; the desktop UI has trigger editing, profile management, and screen/region workflows, but no runtime debug panel yet. |
| Remote orchestration | Medium | Architecture is correct: Go server as central controller, runtime connects outbound. Protocol and UX still need maturation. |
| Team coordination | Medium | Direction exists; voting, member state, task assignment, and server arbitration need productization. |
| Advanced vision / ML | Medium | Basic CV exists; an optional local ONNX object-detection layer has landed (aiSetupLocal, ML build profile — see docs/api/vision.md). It is not enabled by default and still needs per-scenario model/tuning work. Robust scene understanding is future work. |
| Product usability | Medium-Low | Main gap: visual configuration, preview/debugging, template management. |
Approximate coverage:
- Engine capability: 70-80%.
- Game-user product experience: 40-50%.
- Advanced bot/AI/memory-based automation: low, and memory/injection should remain out of scope.
Covered Game Scenarios
| Scenario | Status |
|---|---|
| Auto-clicking and simple idle loops | Covered. |
| Repeated gathering/crafting actions | Covered with macro, input, and script loops. |
| Skill cooldown detection | Covered with pixel/color/image detection. |
| Health/mana monitoring | Covered with region-based color/pixel detection. |
| Button/icon appears then click | Mostly covered; needs better template tooling. |
| UI prompt text detection | Covered partially through OCR. |
| Complex combat rotation | Supported through scripting, FSM, behavior tree, and triggers. |
| Multi-character/team coordination | Architecture exists, but server-side protocol and UX need work. |
| No-code configuration for normal players | Not enough yet. |
| Robust navigation/pathfinding | Not enough yet. |
| Object recognition with ML models | Not enough yet. |
| Memory reading/injection bot | Out of scope. |
Similar Product Comparison
Facts only: what each tool ships with, and where Wingman's capability boundary sits. No ranking is claimed; these are feature inventories, not benchmark results.
| Product | Main Capabilities | Delta vs Wingman |
|---|---|---|
| Chimpeon | Game automation with triggers, fast pixel detection, keyboard/mouse/macro actions, combat rotation, AFK handling, prompt detection. | Wingman additionally has Lua/Python scripting, FSM, behavior tree, and central orchestration; Chimpeon ships game-focused UX templates that Wingman lacks. |
| AutoHotkey | Hotkeys, scripting, macro automation, keyboard/mouse/window automation, community script library. | Wingman has built-in vision/OCR/behavior modules; AutoHotkey has the larger third-party script library and longer Windows track record. |
| Pulover's Macro Creator | GUI macro creator based on AutoHotkey, recording, loops, conditions, variables, image/pixel search. | Wingman's orchestration runs server-side while scripts execute in the local runtime agent; Pulover's visual macro editing is further along than Wingman's. |
| SikuliX | Image-driven automation, wait/click on images, OCR support, visual scripting style. | Similar primitives; Wingman lacks SikuliX's high-level image API and region-based visual workflow. |
| TinyTask | Minimal record/replay, loops, playback speed, simple executable workflow. | Wingman covers a wider capability set; TinyTask has a lower floor for casual use. Wingman has no one-click simple mode yet. |
| Macro Recorder | Mouse/keyboard recording, playback, image/OCR search, GUI action editing. | Wingman can run the same scenarios; action-list editing, condition branches, and visual debugging are not built out yet. |
References:
- Chimpeon: https://chimpeon.com/
- Chimpeon help: https://chimpeon.com/support/help?id=2
- AutoHotkey docs: https://ahkscript.github.io/ko/docs/Program.htm
- Pulover's Macro Creator features: https://www.macrocreator.com/features/
- SikuliX docs: https://sikulix.github.io/docs
- SikuliX OCR docs: https://sikulix.github.io/docs/api/ocr/
- TinyTask: https://www.tinytask.net/
- Macro Recorder docs: https://www.macrorecorder.com/doc/
- Macro Recorder bitmap/OCR search: https://www.macrorecorder.com/doc/find/
Main Gaps
Product UX Gaps
- Named region library: save a picked region as a reusable name. The desktop GUI screen page already previews live, draws the region overlay, supports drag selection plus numeric/monitor pickers, and reads the pixel color under the pointer; what is missing is persisting the result as a named region.
- Template capture tool: crop image from preview and save as a named template.
- Template asset manager: organize button/icon/state images per game profile. Distribution already exists server-side (asset upload/list/sync with sha256 verification) plus the script-level template registry; what is missing is the GUI-side organization and per-profile binding.
- Macro timeline editor: reorder actions, edit delays, insert loops/conditions. The macros page shows a read-only session summary (captured events, speed, repeat, state); editing is not built yet.
- Runtime debug panel: last screenshot, matched regions, confidence, trigger hits.
- Profile/template import-export: game profiles already import and export as JSON from the desktop settings page; templates have no import/export path.
- Config and profile hot reload: update configs/profiles without restarting the runtime. Script-level hot reload already exists (
script.reload(name)re-reads the file and restarts the script if it was active, and the GUI scripts page exposes the same via the restart action).
Already implemented and therefore no longer gaps: live screen preview with per-pointer pixel color, on-preview drag region selection, region overlay with copyable coordinates, and monitor selection (desktop GUI screen page); game profile JSON import/export (desktop GUI settings page); script hot reload and restart without a runtime restart (script.reload(name) plus the GUI restart action).
Engine/API Gaps
- High-level visual API similar to SikuliX:
region.waitImage(...).click(). - Better OCR preprocessing: thresholding, scaling, region filters, language/profile presets.
- Multi-resolution and DPI adaptation.
- Window-relative coordinates instead of absolute screen-only coordinates.
- Retry/timeout/fallback primitives for image/OCR operations.
- Failure recovery: stuck detection, window lost, game restart, reset flow.
- Object detection: the optional ONNX/YOLO-style layer already exists as an opt-in (local provider via
aiSetupLocal,WINGMAN_ENABLE_MLbuild). The remaining gap is that it ships disabled by default and needs per-game model assets and scenario tuning. - Asset versioning for templates and regions.
Orchestration/Team Gaps
- Task assignment and lease/ack model: the server assigns work units to team members with lease/ack semantics (no Task/Assign/lease protocol yet).
- Dashboard view for vote progress: the Dashboard already has a Teams page listing team status, members (including device binding and leader tag) and team message push, but no view of an in-flight vote or its tally.
Already implemented and therefore no longer gaps: server-arbitrated team voting (team.vote_create / team.vote_cast, votes persisted server-side), member state reporting (team.status_report), the server-controlled runtime inbox (inbox.register / inbox.heartbeat / inbox.ack / inbox.report with server acks), team event broadcast, and the Dashboard Teams page (team state, member list, per-team message push).
Recommended Priority
- Named region library on top of the existing preview/select/picker.
- GUI template capture and template asset management (server-side distribution already exists).
- Macro timeline editor.
- Runtime debug panel with hit visualization.
- Window-relative coordinate system and DPI/resolution adaptation.
- High-level region/image/OCR API.
- Failure recovery primitives.
- Team coordination protocol through Go server arbitration.
Architecture Guardrails
- Runtime local UI control must use IPC, not a runtime HTTP/WebSocket server.
- Runtime must connect outbound to the Go orchestrator for remote control.
- Go server remains the central controller for team state, voting, task assignment, and dashboard communication.
- Runtime may consume server-assigned work, but should not become an independent remote-control server.
- Local
eventshould remain an in-process event bus. - Message queues are acceptable as server-managed infrastructure or server-assigned runtime inboxes, but not as arbitrary remote publish APIs exposed through the local event module.
Product Direction
The next step should not be adding many more low-level modules. The current core is already broad enough for most non-invasive game automation. The highest-value work is turning existing primitives into a game-focused product workflow:
- Capture the screen.
- Select a region.
- Pick a color or save a template.
- Create a trigger.
- Attach an action or macro.
- Preview/debug the match result.
- Run with hotkeys and emergency stop.
- Package the configuration as a game profile.
The path keeps the current architecture: local IPC for the desktop UI, outbound connections for the runtime, no injection or memory access.