Giter VIP home page Giter VIP logo

yr-patches's Introduction

Westwood RTS Engine 2

Random enhancements and bug fixes for Command and Conquer: Red Alert 2 - Yuri's Revenge

Instructions

Building

Prerequisites

  • GNU Make
  • MinGW-W64
  • NASM
  • PETool (itself requiring GCC, make, etc)

On Unix, everything but PETool is installable via your package manager.

On Windows, please install MSYS 2 (a separate project from the original MSYS). MSYS 2 provides a minimal *nix environment, including a port of pacman, the Arch Linux package manager. Once MSYS 2 is installed, installing everything but PETool will be just as easy as on Linux, just do pacman -S <package>.

PETool is a utility made by us to do the patching itself and tie some loose ends. Please git clone its repo too, and run make. PETool is written in C and should be compiled with the native toolchain (Mingw-w64 on windows). Then copy the resulting petool or petool.exe to the directory where you git cloned engine2. Finally edit config.mk so it contains the definition:

PETOOL = ./petool

The makefile is designed to accommodate windows users who are not familiar with the command line. Therefore the names of various executables are defined by default to be their makefile names. Unix uses should edit config.mk with linux.config.mk as a guide. This applies only to Engine 2 proper, not PETool.

Instructions

Once everything is installed, just copy your YR executable to this repo under the name ra2/bin.dat (TS is freeware, and thus included), run make, and copy the patched executables back to your game installations. (Make sure to backup your original executables!)

Or if you rather just copy and paste some commands, do:

$ cd /path/to/yuris-revenge/installation
$ cp gamemd.exe gamemd-backup.exe
$ cd /path/to/engine2
$ cp /path/to/yr/installation/gamemd.exe ./ra2/bin.dat
$ make
$ cp ra2.exe /path/to/yr/installation/

and likewise for Tiberian Sun:

$ cd /path/to/fire-storm/installation
$ cp ts.exe ts-backup.exe
$ cd /path/to/engine2
$ make
$ cp ts.exe /path/to/ts/installation/

From the shell (MinGW shell on Windows).

Credits

  • Hifi
  • Iran
  • CCHyper
  • dkeeton
  • Sonarpulse

yr-patches's People

Contributors

dkeetonx avatar starkku avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.