Red Alert: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
No edit summary
Onnowpurbo (talk | contribs)
No edit summary
Line 6: Line 6:
  $ cd OpenRA
  $ cd OpenRA


 
Jika git tidak ada, bisa di install menggunakan
Jika got tidak ada, bisa di install menggunakan


  $ sudo apt-get install git-core
  $ sudo apt-get install git-core
Line 13: Line 12:
Untuk mengcompile OpenRA kita butuh
Untuk mengcompile OpenRA kita butuh


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


Install dependency menggunakan perintah
Install dependency menggunakan perintah
Line 26: Line 24:
  libmono-winforms2.0-cil libopenal1 libsdl1.2-dev
  libmono-winforms2.0-cil libopenal1 libsdl1.2-dev


 
Kita perlu menginstal assembly dari library third party untuk masuk ke global assemblu cache menggunakan mono compiler. Kita dapat menggunakan script berikut atau menjalankannya satu per satu
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
  #!/bin/sh
Line 39: Line 34:
  gacutil -i thirdparty/WindowsBase.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.
kita perlu menjnalankan script tersebut sebagai administrator (root). JIka kita menjalankannya satu per satu sebaiknya di tambahkan 'sudo' di awalnya.


Alternatively, you can copy the dll’s into the same directory as OpenRa.Game.exe.
Alternatively, you can copy the dll’s into the same directory as OpenRa.Game.exe.
Line 47: Line 42:
For the Red Alert mod:
For the Red Alert mod:


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


For the Command & Conquer mod:
For the Command & Conquer mod:


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




Line 107: Line 98:
==Referensi==
==Referensi==


* http://openra.res0l.net/get-involved/
* http://openra.res0l.net/download
* http://openra.res0l.net/download
* http://openra.res0l.net/
* http://openra.res0l.net/
* http://www.sleipnirstuff.com/forum/viewtopic.php?f=82&t=14846
* http://www.sleipnirstuff.com/forum/viewtopic.php?f=82&t=14846
* http://openra.res0l.net/packages/cnc-packages.zip

Revision as of 23:32, 1 July 2013

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 git 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	

Kita perlu menginstal assembly dari library third party untuk masuk ke global assemblu cache menggunakan mono compiler. Kita dapat menggunakan script berikut atau menjalankannya satu per satu

#!/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

kita perlu menjnalankan script tersebut sebagai administrator (root). JIka kita menjalankannya satu per satu sebaiknya di tambahkan 'sudo' di awalnya.

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