A visual, configurable auto-fishing assistant built for responsive game control.
Built with Python, OpenCV, MSS, PyDirectInput, and DearPyGui.
- Live control center: Track bot state, fish count, session time, FPS, PID output, ROI data, and vision health in one GUI.
- Safer controls: The GUI starts paused, handles stop commands urgently, and releases held keys during pause, stop, recalibration, and shutdown.
- Runtime tuning: PID, HSV thresholds, timing, input keys, hotkeys, calibration, and debug options can be adjusted from the Settings tab. (Settings Guide)
- Resolution adaptation: Ratio-based ROI calibration with resolution-proportional fallback supports 1080p, 2K, 4K, and custom display sizes automatically.
- Fast capture and input:
msscaptures screen regions efficiently, whilePyDirectInputsends game-friendly input events. - Portable builds: GitHub Actions produces a single-file Windows EXE for GUI and a lightweight source package for CLI.
| Path | Description |
|---|---|
start_gui.py |
Recommended GUI entry point. |
main.py |
Headless entry point and core bot loop. |
config.py |
Runtime configuration for PID, HSV, keys, timing, and calibration. |
gui/ |
DearPyGui control center, panels, and thread-safe bridge. |
modules/ |
Capture, input, vision, and fishing logic modules. |
templates/ |
Ratio data for automatic ROI calibration. |
tools/ratio_annotator.py |
Utility for creating ratio-based ROI JSON from screenshots. |
- Download the latest
NTE-Auto-Fish-v*.*.*-Windows-x64.exefrom Releases. - Run it as Administrator so simulated input can reach the game.
- Download
NTE-Auto-Fish-v*.*.*-CLI.zipfrom Releases and extract it. - Install dependencies once with
python -m pip install -r requirements.txt. - For more options, run
python main.py --helpin a terminal. Available commands:start,calibrate,config show/set,reset.
git clone https://github.com/Chizukuo/NTE-auto-fish.git
cd NTE-auto-fish
pip install -r requirements.txtLaunch the GUI:
python start_gui.pyLaunch headless mode:
python main.py- Run from an elevated terminal on Windows.
- Borderless window or windowed fullscreen usually gives the most reliable capture behavior.
- Hotkeys are configurable in the GUI and re-register after editing.
- Debug logging writes extra tracking data to
fishing_data.csv.
- Dawn/dusk lighting: During in-game sunrise and sunset, the warm yellow ambient lighting significantly interferes with HSV-based cursor detection, causing tracking failures and drastically reduced fishing success rates. This is an inherent limitation of the current color-based detection approach. If you encounter this, consider adjusting the cursor HSV thresholds in Settings to compensate for the shifted lighting conditions.
Built for practical, low-friction automation.