Code: Select all
$ git clone git://github.com/chrisforbes/OpenRA.git
$ cd OpenRA
Code: Select all
$ sudo apt-get install git-core
To compile OpenRA on Ubuntu you need the following dependencies (as tested on Ubuntu 10.04):
- mono-gmcs
- libmono-corlib1.0-cil
- libmono-winforms2.0-cil
- libopenal1
- libsdl1.2-dev
- libfreetype6 or libfreetype6-dev
Code: Select all
$ sudo apt-get install mono-gmcs freetype libmono-corlib1.0-cil libmono-winforms2.0-cil libopenal1 libsdl1.2-dev
Code: Select all
#!/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
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
- cclocal.mix
- conquer.mix
- desert.mix
- general.mix
- sounds.mix
- speech.mix
- temperat.mix
- tempicnh.mix
- updatec.mix
- winter.mix
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: Select all
$ make all
- libglfw2
- libmono-* (Note: you dont need all of them, but it works with all of them)
- libopenal1
- mono-runtime