How nyx0ra/lol-aram-mayhem-hextech-helper works
This is a Windows desktop assistant for League of Legends ARAM Mayhem: it identifies the current champion, recognizes offered augments, and displays ranked recommendations in an in-game overlay. The user-facing flow is GUI startup → champion selection or refresh → F6 screen analysis → recommendation overlay. A separate GUI-driven maintenance flow checks or updates the augment dataset using OP.GG scraping and official champion metadata, with a GitHub download fallback. Some internal wiring is documented rather than visible in the excerpts; those connections are marked accordingly.
Main entry points: updater.py Update coordinator · gui_launcher.py Desktop GUI · main.py Recommendation data · lcu_connector.py LCU connector
Components 17
Desktop assistant
- Desktop GUI
gui_launcher.py - Hotkey controls
main.py - Game overlay
main.py
Recognition and recommendations
- OCR and ranking
main.py - Recommendation data
main.py - Augment database
data/hero_augments.csv - Pinyin mappings
data/pinyin_map.json
Game client integration
- LCU connector
scripts/lcu_connector.py - Champion mappings
data/champions.json
Data maintenance
- Update panel
gui_launcher.py - Update coordinator
scripts/updater.py - OP.GG scraper
scripts/hero_scraper.py
Other components
- Player
- League client
- Riot champion data
- OP.GG
- GitHub data fallback
Connections 18
- Player → Desktop GUI: starts and operates
README.md - Desktop GUI → Recommendation data: loads data
gui_launcher.py - Desktop GUI → Hotkey controls: starts engine
gui_launcher.py - Hotkey controls → LCU connector: requests champion
README.md - League client → LCU connector: serves local API
README.md - LCU connector → Champion mappings: loads mappings
scripts/lcu_connector.py - Hotkey controls → OCR and ranking: triggers F6 analysis
README.md - OCR and ranking → Recommendation data: matches augment
main.py - Recommendation data → Augment database: loads records
main.py - Recommendation data → Pinyin mappings: loads mappings
main.py - OCR and ranking → Game overlay: shows recommendation
README.md - Player → Update panel: requests update
README.md - Desktop GUI → Update coordinator: runs update
gui_launcher.py - Update coordinator → Riot champion data: fetches metadata
scripts/updater.py - Update coordinator → OP.GG scraper: requests crawls
scripts/updater.py - OP.GG scraper → OP.GG: scrapes augment data
scripts/hero_scraper.py - Update coordinator → Augment database: merges and saves
scripts/updater.py - Update coordinator → GitHub data fallback: downloads fallback
README.md