Red Alert

From OnnoWiki
Revision as of 06:20, 2 July 2013 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

OpenRA is a Libre/Free Real Time Strategy game engine supporting early Westwood games like Command & Conquer and Command & Conquer: Red Alert.

Download source code

$ git clone git://github.com/chrisforbes/OpenRA.git
$ cd OpenRA	


Jika got tidak ada, bisa di install menggunakan

$ sudo apt-get install git-core	

Untuk mengcompile OpenRA kita butuh

   mono-gmcs
   libmono-corlib1.0-cil
   libmono-winforms2.0-cil
   libopenal1
   libsdl1.2-dev
   libfreetype6 or libfreetype6-dev


Install dependency menggunakan perintah

sudo apt-get install mono-gmcs freetype libmono-corlib1.0-cil \
libmono-winforms2.0-cil libopenal1 libsdl1.2-dev	


Next you need to install the assemblies of these third party libraries into the global assembly cache that the Mono compiler uses. You can either run the following script or run these command individually (the 'gacutil' program can't handle multiple files at once):

Code:

#!/bin/sh
gacutil -i thirdparty/Tao/Tao.Cg.dll
gacutil -i thirdparty/Tao/Tao.OpenGl.dll
gacutil -i thirdparty/Tao/Tao.OpenAl.dll
gacutil -i thirdparty/Tao/Tao.Sdl.dll
gacutil -i thirdparty/Tao/Tao.FreeType.dll
gacutil -i thirdparty/WindowsBase.dll

Note: You'll need to run the script as an administrator ("root"). If you run these command one per one, it is recommended that you use the 'sudo' application to obtain root privilege.

Alternatively, you can copy the dll’s into the same directory as OpenRa.Game.exe.

Once you have copied the following 'MIX' file packages into the appropriate directories (mods/*/packages), you're ready to compile (aka "build"):

For the Red Alert mod:


   allies.mix
   expand2.mix
   hires1.mix
   redalert.mix
   scores.mix
   sounds.mix
   conquer.mix
   general.mix
   interior.mix
   russian.mix
   snow.mix
   temperat.mix


For the Command & Conquer mod:


   cclocal.mix
   conquer.mix
   desert.mix
   general.mix
   sounds.mix
   speech.mix
   temperat.mix
   tempicnh.mix
   updatec.mix
   winter.mix


The size should be around ~20 MB if you download a stripped (no audio and videos) version of these files. You can download these for C&C here and for RA here.

If you want to use the complete, non-strippedl MIX files, you'll need to install the game and then copy these files over from the installed directory plus the game CDs. You can download all the CD (and expansions) ISOs legally:

Command & Conquer Full Game Red Alert Full game

Note that both games' installers are 16-bit so they don't run under a 64-bit operating system, the C&C download link contains a modified 32-bit installer. To install RA1, use the Red Alert Setup Manager v0.98.

When you're done copying the MIX files to the correct folder, you'll only need to type

Code:

$ make all	


and pray that it works. To actually play the game you'll need the following dependencies:


   libglfw2
   libmono-* (Note: you dont need all of them, but it works with all of them)
   libopenal1
   mono-runtime



Referensi