Skip to content

shmocz/pyra2yr

Repository files navigation

pyra2yr

Python interface for ra2yrcpp.

Installation

Method 1: Install pre-built wheel using pip

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

(TODO) Method 2: Install with poetry

Setup

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.

Usage

See pyra2yr/examples/basic_usage.py files for example usage.