Windows tools for Dota 2 Dark Carnival / Midnight Run minigames.
The project is organized as a Rust library plus one binary per tool. Shared code handles Win32 screen capture/input, the overlay, and the common minigame launch flow.
- Windows
- Dota 2 running in a visible window
- Rust MSVC toolchain, for example
stable-x86_64-pc-windows-msvc - Visual Studio Build Tools with the C++ workload for release builds
Automation Attack also requires Tesseract OCR installed. Install instructions are in the official Tesseract README: https://github.com/tesseract-ocr/tesseract#installing-tesseract. If Tesseract is missing, the tool shows the message in the overlay, waits 10 seconds, then exits.
rustup default stable-x86_64-pc-windows-msvc
cargo check --all-targets
cargo build --releaseBuild one tool:
cargo build --release --bin boot_breaker
cargo build --release --bin automation_attackRelease executables are written to:
target/release/
All tools use the same launcher:
- Open Dota 2.
- Open the Dark Carnival minigame panel.
- Start the executable.
- The tool detects the minigame frame.
- The tool detects and clicks the PLAY button.
- The tool re-detects the gameplay area.
- The overlay shows status, script FPS, CPU load, and tool-specific messages.
Stop any tool with:
Ctrl + Shift + Q
No command-line arguments are currently supported. Configuration is in each tool's Args::default() implementation.
Debug builds show extra overlay drawings. These drawings are visible to the user but are excluded from screen capture so the detector does not see them.
Runs the Boot Breaker minigame helper.
Run from source:
cargo run --release --bin boot_breakerRun built executable:
.\target\release\boot_breaker.exeWhat it does:
- detects and clicks PLAY;
- detects the inner Boot Breaker play zone;
- tracks the flying boot;
- detects the cart;
- moves the cart under the currently detected boot position;
- rethrows when the boot settles on the cart;
- writes diagnostics to
boot_breaker_debug.tsv.
Debug build:
cargo run --bin boot_breakerDebug overlay colors:
- white rectangle: captured gameplay area;
- gray rectangle: boot search area;
- cyan/orange rectangles: active boot search ROIs;
- green box/cross: current boot detection;
- yellow cross/vector: tracked boot state;
- magenta line: cart detection Y;
- red line: boot bottom cutoff;
- magenta cross: raw cart detection;
- blue cross/vector: tracked cart state;
- yellow vertical line: current target X.
Runs the Automation Attack minigame helper.
Run from source:
cargo run --release --bin automation_attackRun built executable:
.\target\release\automation_attack.exeWhat it does:
- checks for Tesseract OCR before starting the game;
- detects and clicks PLAY only if Tesseract is available;
- reads the active word prompt;
- uses embedded seed templates from
automation_attack_seed_templates.bin; - trains/extends the in-memory template database while running;
- types detected words into the game;
- writes diagnostics to
automation_attack_debug.tsv.
Tesseract lookup order:
C:\Program Files\Tesseract-OCR\tesseract.exetesseractfromPATH
If Tesseract is not installed, install it and ensure tesseract --version works from PowerShell.
Default log files:
boot_breaker_debug.tsv
automation_attack_debug.tsv
These are tab-separated files intended for detector/control debugging.