Python interface for ra2yrcpp.
Install a pre-built wheel:
pip install -U https://github.com/shmocz/pyra2yr/releases/download/v0.1.1/pyra2yr-0.1.1-py3-none-any.whl
Multi-game test environments are created with docker and require docker-compose
. Build the necessary images:
docker-compose build
Download and extract ra2yrcpp to CnCNet data folder. Patch gamemd-spawn.exe
according to instructions.
See pyra2yr/examples/basic_usage.py
files for example usage.