Skip to content

v0.2.0-alpha.1 - Rule sets, template capture, and usability improvements

Pre-release
Pre-release

Choose a tag to compare

@rakima rakima released this 12 Jul 18:59
78f1209

v0.2.0-alpha.1

This is an experimental alpha release of Macro Tool.

This release focuses on improving day-to-day usability around rule management, rule set switching, template image creation, and detection feedback.

Highlights

  • Added rule set switching from rules/*.json
  • Added rule set creation from the GUI
  • Added rule duplication
  • Added rule reordering with Up/Down buttons
  • Added drag-and-drop rule reordering
  • Added detection image preview in the main window
  • Added template image capture from screenshots
  • Added click-free Test Detection score display
  • Added latest status and score display in the rule list
  • Added Esc key stop while the Macro Tool window is focused
  • Improved support for rules.json and rules/*.json shown together
  • Updated README screenshots

Rule Sets

Rule sets can now be managed as JSON files.

  • rules.json is shown as rules
  • rules/tower.json is shown as tower
  • rules/rules.json is shown as rules (1)

The GUI can create a new empty rule set under the rules directory using the New button.

Deleting and renaming rule sets are intentionally not provided in the GUI. Users can manage those JSON files directly if needed.

Template Capture

The Rule Editor now includes a Capture button for detection images.

You can select an area from the current screenshot and save it as a PNG template image, then use it directly as the rule's detection image.

Detection Feedback

Test Detection and runtime feedback are easier to inspect.

  • Test Detection shows best match scores even below the confidence threshold
  • The selected rule summary shows the latest test result
  • The rule list shows latest status and score, such as matched, below threshold, clicked, cooldown, not matched, or error

Safety / Operation

  • Press Esc to stop while the Macro Tool window is focused
  • Existing Start/Stop behavior remains unchanged
  • Rule editing and rule set switching are disabled while running

Validation

Verified locally:

python -m pytest