shmocz / pyra2yr

Python bot API for Red Alert 2: Yuri's Revenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Python bot API for Red Alert 2: Yuri's Revenge

License:GNU General Public License v3.0


Languages

Language:Python 97.7%Language:Dockerfile 1.5%Language:Shell 0.8%