An automation script for a fishing mini--game, featuring a Tkinter-based UI for easy calibration.
- Improved Performance: The screen capture and image processing loops have been optimized for faster, more reliable execution.
- Enhanced Detection: Contour detection algorithms have been refined for more accurate fish and UI element tracking.
- Streamlined GUI: The user interface has been updated for a more intuitive and responsive experience.
- Code Refactor: The entire codebase has been refactored for better readability, maintainability, and performance.
- Automates casting, bite detection, fish fighting, and reward collection.
- Calibration UI for capturing pixels, ROIs, and HSV color ranges.
- Diagnostic snapshot mode for verifying color masks and coordinates.
- Supports multiple fishing spot profiles through
fishbot_config.json.
- Windows 10/11 with Python 3.9 or newer.
- Dependencies listed in
requirements.txt.
For users who prefer not to set up a Python environment, a pre-packaged executable is available in the releases section. Simply download the fishbot.zip file, extract it, and run fishbot.exe.
# Create and activate a virtual environment
python -m venv .venv
.\.venv\Scripts\Activate.ps1
# Install dependencies
pip install --upgrade pip
pip install -r requirements.txtAll settings are managed in fishbot_config.json.
Recommended Workflow:
- Launch the setup UI for your desired location:
python fishbot.py --setup --location "Sewer"
- Use the UI to set the reel pixel, bite indicator, ROIs, and color ranges.
- Save the configuration directly from the UI.
Run Continuously:
python fishbot.py --location "Sewer"Press Ctrl+C in the console to stop.
Run a Single Cycle:
python fishbot.py --once --location "Sewer"Diagnostic Snapshot:
python fishbot.py --snapshot snapshot.png --location "Sewer"This script is for educational purposes only. Automating games may violate their terms of service. Use at your own risk.