update documentation for simplified dependencies

This commit is contained in:
Matthias Mailänder
2013-09-07 12:40:40 +02:00
parent 465185a10a
commit 8661ceccb1

70
INSTALL
View File

@@ -5,60 +5,60 @@ as published by the Free Software Foundation. For more information,
see COPYING. see COPYING.
To run OpenRA, several files are needed from the original game disks. To run OpenRA, several files are needed from the original game disks.
These files are now downloaded and installed by the game, A minimal asset pack can also be downloaded and installed by the game.
so so no explicit action is required.
Dependencies - Make sure you have these installed, or you'll Windows
have very strange errors. -------
WINDOWS:
* .NET Framework >= 3.5-SP1 * .NET Framework >= 3.5-SP1
(http://www.microsoft.com/downloads/details.aspx?FamilyID=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en) (http://www.microsoft.com/downloads/details.aspx?FamilyID=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en)
* Tao Framework >= 2.1.0 * Cg Toolkit >= 2.2 (optional, for Cg renderer)
This is now bundled with OpenRA, copy the files in thirdparty/Tao to the game root directory. (https://developer.nvidia.com/cg-toolkit-download)
* OpenAL >= 1.1
(http://connect.creativelabs.com/openal/Downloads/oalinst.zip)
* Cg Toolkit >= 2.2
(http://developer.download.nvidia.com/cg/Cg_2.2/Cg-2.2_October2009_Setup.exe)
To compile OpenRA, open the OpenRA.sln solution in the main folder, To compile OpenRA, open the OpenRA.sln solution in the main folder,
or build it from the command-line with MSBuild. or build it from the command-line with MSBuild.
Execute `copy-dependencies.bat' to place the DLLs we conveniently
bundle for you. They include binaries of:
* http://libsdl.org/download-1.2.php
* http://gnuwin32.sourceforge.net/packages/freetype.htm
* http://gnuwin32.sourceforge.net/packages/zlib.htm
* http://kcat.strangesoft.net/openal.html
Run the game with `OpenRA.Game.exe Game.Mods=ra` for Red Alert Run the game with `OpenRA.Game.exe Game.Mods=ra` for Red Alert
or `OpenRA.Game.exe Game.Mods=cnc` for Command & Conquer or `OpenRA.Game.exe Game.Mods=cnc` for Command & Conquer
Debian/Ubuntu
-------------
UBUNTU (substitute comparable packages for other Linux distros):
* mono-runtime (>= 2.10)
* mono-gmcs * mono-gmcs
* cli-common-dev (>= 2.10)
* freetype * freetype
* libmono-corlib1.0-cil * openal
* libmono-winforms2.0-cil * sdl
* libopenal1 * nvidia-cg-toolkit (optional, for Cg renderer)
* libsdl1.2-dev
* nvidia-cg-toolkit (for Cg renderer)
The following dlls can also be installed into your system GAC. This is not To compile OpenRA, run `make all' from the command line.
recommended because we ship a custom Tao.FreeType that can conflict with To grab the bundled CLI DLLs type `make dependencies'
other applications that use Tao: Run with either `launch-game.sh' or `mono --debug OpenRA.Game.exe'.
gacutil -i Tao.Cg.dll Type 'sudo make install-all' for system wide installation. You
gacutil -i Tao.OpenGl.dll can then run from the `openra` shortcut.
gacutil -i Tao.OpenAl.dll
gacutil -i Tao.Sdl.dll
gacutil -i Tao.FreeType.dll
gacutil -i ICSharpCode.SharpZipLib.dll
To compile OpenRA, run `make' from the command line. Slackware
To install run 'make install'. ---------
Run the game with `mono OpenRA.Game.exe Game.Mods=ra` for Red Alert
or `mono OpenRA.Game.exe Game.Mods=cnc` for Command & Conquer
SLACKWARE:
The following packages from slackbuilds.org are required, on 13.37 32bit: The following packages from slackbuilds.org are required, on 13.37 32bit:
* libgdiplus * libgdiplus
* mono * mono
* openAL * openAL
* nvidia-cg-toolkit (for Cg renderer) * nvidia-cg-toolkit (optional, for Cg renderer)
openSUSE
--------
* mono-devel
* openal
* freetype2
* SDL
* cg (optional, for Cg renderer)