Skip to content

Add Python migration plan - #1

Open
Y6b wants to merge 6 commits into
mainfrom
python-migration-plan-17808569620746900151
Open

Add Python migration plan#1
Y6b wants to merge 6 commits into
mainfrom
python-migration-plan-17808569620746900151

Conversation

@Y6b

@Y6b Y6b commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Added the migration plan to migration_plan.md outlining 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

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>
@google-labs-jules

Copy link
Copy Markdown

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules Bot and others added 5 commits August 1, 2026 17:15
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant