shmocz / pyra2yr-old

Python interface for Red Alert 2: Yuri's Revenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyra2yr

Python interface for Red Alert 2: Yuri's Revenge, utilizing the ra2yrcpp library and ra2yrproto protocol definitions.

Setup

Clone sources:

$ git clone --recurse-submodules https://github.com/shmocz/pyra2yr

In a suitable Python environment, invoke:

$ cd pyra2yr
$ python3 -m pip install -r requirements.txt .

Generate protobuf definitions (requires the protobuf compiler protoc):

$ make protocol

Usage

See pyra2yr/test_*.py files for example usage.

About

Python interface for Red Alert 2: Yuri's Revenge

License:GNU General Public License v3.0


Languages

Language:Python 99.5%Language:Makefile 0.5%