Add Python migration plan - #1
Conversation
Creates a markdown document detailing the 7-phase plan to port the AutoHotkey PTCGP Bot to a cross-platform Python application. Includes specifications for GUI (CustomTkinter), image recognition (OpenCV), and concurrency models. Co-authored-by: Y6b <161412+Y6b@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Sets up the foundational architecture for the Python port. - Creates modular package structure (gui, bot, core, utils) - Defines dependencies in `requirements.txt` - Implements basic multiprocessing architecture in `main.py` Co-authored-by: Y6b <161412+Y6b@users.noreply.github.com>
- Adds `src/core/adb.py` for emulator interaction via `adbutils`. - Adds `src/core/config.py` for JSON-based settings management. - Adds `src/core/vision.py` for OpenCV template matching. - Adds `src/utils/logger.py` with Discord webhook support. - Updates `.gitignore` for Python artifacts. Co-authored-by: Y6b <161412+Y6b@users.noreply.github.com>
- Creates the `customtkinter` GUI in `src/gui/app.py`. - Implements tabs for Instance, Bot, S4T, and System settings. - Binds GUI inputs to `ConfigManager` for saving settings. - Updates `src/main.py` to instantiate and run the GUI loop in the main thread. Co-authored-by: Y6b <161412+Y6b@users.noreply.github.com>
- Creates `BotManager` class to orchestrate multiprocessing instances. - Creates `BotWorker` class representing an individual emulator bot loop. - Wires the GUI Start/Stop buttons to the bot manager via thread-safe queues. Co-authored-by: Y6b <161412+Y6b@users.noreply.github.com>
- Adds `src/core/emulators.py` to handle MuMu and Waydroid connection logic natively depending on the OS. - Updates `BotWorker` to use the `EmulatorManager` to connect to ADB. - Updates `README.md` with Python installation instructions and emulator support notes. Co-authored-by: Y6b <161412+Y6b@users.noreply.github.com>
Added the migration plan to
migration_plan.mdoutlining the steps to port the AutoHotkey codebase to a modern, cross-platform Python architecture.PR created automatically by Jules for task 17808569620746900151 started by @Y6b