This script lets you automatically capture and stitch together the full in-game world map from the game Avatar: Realms Collide, running on Google Play Games for PC.
It works by simulating tile-by-tile minimap clicks and stitching the resulting screenshots into one seamless image.
- Captures large map areas via grid-based minimap clicks
- Outputs a stitched map image with automatic cropping
Install dependencies using pip:
$ pip install opencv-python numpy pyautogui keyboard pillow pygetwindow
This script is designed for Windows 10/11 using the official 📱 Google Play Games for PC platform.
You'll need:
- ✅ Google Play Games for PC
- ✅ Installed game: Avatar: Realms Collide
- ✅ Full access to the in-game map and minimap navigation
- Launch Google Play Games and start Avatar: Realms Collide
- Make sure the game window is focused and visible (no fullscreen!)
- Run the script:
$ python main.py
- Press F8 to begin
- The script will:
- Detect the game window
- Click the minimap in a grid
- Take screenshots of the map tiles
- Automatically stitch them together
Press ESC
at any time to abort.
- All captured screenshots are saved in the tiles/ folder.
- The final stitched map is saved as final_map.png in the project directory.
You can adjust:
- Grid size: tiles_x / tiles_y
- Blending and overlap behavior
- Output path and tile dimensions
- Capture area offsets (if your map window has changed)
All settings can be configured inside main.py
.
- 💡 Map not detected? Make sure the window title is exactly "Avatar: Realms Collide"
- 🖼️ Images are distorted? Try increasing the grid size or adjusting the overlap calculation
- ⌨️ Clicks don't register? Disable in-game keyboard capture or run the script as admin
This script is a personal automation tool and does not interact with the game servers. It only captures the client-rendered minimap for personal or alliance planning purposes. The created map is not perfectly alligned, but it gives a good enough result.
Developed with ❤️ by a fan of avatar: realms collide and automation.