How chnzyx/auto_simulated_universe works
Auto_Simulated_Universe automates Honkai: Star Rail’s Simulated Universe through the game UI. The primary workflow is selecting an automation mode, recognizing on-screen state, and driving the game toward a run’s completion. It includes separate divergent and standard modes, plus Forgotten Hall automation, calibration, and map updates. The README and sampled files establish the GUI dispatch and OCR entry points; details of the unsampled run loops and their internal stage-by-stage behavior are not represented.
Main entry points: choose.py GUI · simul.py Simulated Universe · diver.py Divergent Universe · onnx_paddleocr.py ONNX OCR engine
Components 19
User interface
- GUI
utils/gui/choose.py - Forgotten Hall UI
utils/gui/abyss.py
Run automation
- Divergent Universe
diver.py - Simulated Universe
simul.py - Forgotten Hall automation
abyss.py - Divergent settings
utils/diver/config.py - Standard settings
utils/simul/config.py - Action data
actions/default.json
Screen recognition
- Screen capture
utils/screenshot.py - Divergent OCR
utils/diver/ocr.py - Standard OCR
utils/simul/ocr.py - ONNX OCR engine
utils/onnxocr/onnx_paddleocr.py - OCR models
utils/models/v3_det.onnx
Supporting features
- Camera calibration
align_angle.py - Map updates
utils/simul/update_map.py - Map images
imgs/maps - Run notifications
notif.py
Other components
- User
- Honkai: Star Rail
Connections 21
- User → GUI: configures and starts
- GUI → Divergent Universe: starts mode
- GUI → Simulated Universe: starts mode
- GUI → Forgotten Hall UI: opens view
- Forgotten Hall UI → Forgotten Hall automation: starts automation
- GUI → Divergent settings: reads settings
- GUI → Standard settings: reads settings
- Divergent Universe → Divergent OCR: uses recognition
- Simulated Universe → Standard OCR: uses recognition
- Divergent OCR → ONNX OCR engine: recognizes text
- Standard OCR → ONNX OCR engine: recognizes text
- ONNX OCR engine → OCR models: loads model
- User → Honkai: Star Rail: plays through UI
- Divergent Universe → Honkai: Star Rail: automates UI
- Simulated Universe → Honkai: Star Rail: automates UI
- Forgotten Hall automation → Honkai: Star Rail: automates UI
- User → Camera calibration: requests calibration
- GUI → Map updates: offers map update
- Map updates → Map images: updates files
- GUI → Run notifications: announces exit
- Simulated Universe → Action data: reads actions