forked from OpenRA/OpenRA
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Nuget packages for all dependencies
- Loading branch information
Showing
29 changed files
with
225 additions
and
666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,15 +8,9 @@ Windows | |
|
||
Compiling OpenRA requires the following dependencies: | ||
* [Windows PowerShell >= 4.0](http://microsoft.com/powershell) (included by default in recent Windows 10 versions) | ||
* [.NET Framework 4.6.1 (Developer Pack)](https://dotnet.microsoft.com/download/dotnet-framework/net461) (or via Visual Studio 2017) | ||
* [.NET Framework 4.7.2 (Developer Pack)](https://dotnet.microsoft.com/download/dotnet-framework/net472) (or via Visual Studio 2017) | ||
* [.NET Core 2.2 SDK](https://dotnet.microsoft.com/download/dotnet-core/2.2) (or via Visual Studio 2017) | ||
|
||
Type `make dependencies` in a command terminal to download pre-compiled native libraries for: | ||
* [SDL 2](http://www.libsdl.org/download-2.0.php) | ||
* [FreeType](http://gnuwin32.sourceforge.net/packages/freetype.htm) | ||
* [zlib](http://gnuwin32.sourceforge.net/packages/zlib.htm) | ||
* [OpenAL](http://kcat.strangesoft.net/openal.html) | ||
* [liblua 5.1](http://luabinaries.sourceforge.net/download.html) | ||
|
||
To compile OpenRA, open the `OpenRA.sln` solution in the main folder, build it from the command-line with MSBuild or use the Makefile analogue command `make all` scripted in PowerShell syntax. | ||
|
||
|
@@ -25,11 +19,17 @@ Run the game with `launch-game.cmd`. It can be handed arguments that specify the | |
Linux | ||
===== | ||
|
||
Mono, version 5.4 or later, is required to compile OpenRA. You can add the [upstream mono repository](https://www.mono-project.com/download/stable/#download-lin) for your distro to obtain the latest version if your system packages are not sufficient. | ||
Mono, version 5.18 or later, is required to compile OpenRA. You can add the [upstream mono repository](https://www.mono-project.com/download/stable/#download-lin) for your distro to obtain the latest version if your system packages are not sufficient. | ||
|
||
Use `make dependencies` to map the native libraries to your system and fetch the remaining CLI dependencies to place them at the appropriate places. | ||
To compile OpenRA, run `make` from the command line. After this one can run the game with `./launch-game.sh`. It is also possible to specify the mod you wish to run from the command line, e.g. with `./launch-game.sh Game.Mod=ts` if you wish to try the experimental Tiberian Sun mod. | ||
|
||
To compile OpenRA, run `make all` from the command line. After this one can run the game with `./launch-game.sh`. It is also possible to specify the mod you wish to run from the command line, e.g. with `./launch-game.sh Game.Mod=ts` if you wish to try the experimental Tiberian Sun mod. | ||
The default behaviour on the x86_64 architecture is to download several pre-compiled native libraries using the Nuget packaging manager. If you prefer to use system libraries, compile instead using `make TARGETPLATFORM=unix-generic`. | ||
|
||
If you choose to use system libraries, or your system is not x86_64, you will need to install the following using your system package manager: | ||
* [SDL 2](http://www.libsdl.org/download-2.0.php) | ||
* [FreeType](http://gnuwin32.sourceforge.net/packages/freetype.htm) | ||
* [OpenAL](http://kcat.strangesoft.net/openal.html) | ||
* [liblua 5.1](http://luabinaries.sourceforge.net/download.html) | ||
|
||
Type `sudo make install` for system-wide installation. Run `sudo make install-linux-shortcuts` to get startup scripts, icons and desktop files. You can then run the Red Alert by executing the `openra-ra` command, the Dune 2000 mod by running the `openra-d2k` command and Tiberian Dawn by the `openra-cnc` command. Alternatively, you can also run these mods by clicking on their desktop shortcuts if you ran `sudo make install-linux-shortcuts`. | ||
|
||
|
@@ -95,18 +95,17 @@ The EPEL repository is required in order for the following command to run proper | |
sudo yum install "pkgconfig(mono)" SDL2 freetype "lua = 5.1" openal-soft xdg-utils zenity | ||
``` | ||
|
||
OSX | ||
macOS | ||
===== | ||
|
||
Before compiling OpenRA you must install the following dependencies: | ||
* [Mono >= 5.4](https://www.mono-project.com/download/stable/#download-mac) | ||
* [Mono >= 5.18](https://www.mono-project.com/download/stable/#download-mac) | ||
|
||
Use `make dependencies` to download pre-compiled native libraries for: | ||
* [SDL 2](http://www.libsdl.org/download-2.0.php) | ||
* [FreeType](http://gnuwin32.sourceforge.net/packages/freetype.htm) | ||
* [OpenAL](http://kcat.strangesoft.net/openal.html) | ||
* [liblua 5.1](http://luabinaries.sourceforge.net/download.html) | ||
To compile OpenRA, run `make` from the command line. Run with `./launch-game.sh`. | ||
|
||
To compile OpenRA, run `make` from the command line. | ||
The default behaviour is to download several pre-compiled native libraries using the Nuget packaging manager. If you prefer to use system libraries, compile instead using `make TARGETPLATFORM=unix-generic`. If you choose to use system libraries you will need to install: | ||
* [SDL 2](http://www.libsdl.org/download-2.0.php) (`brew install sdl2`) | ||
* [FreeType](http://gnuwin32.sourceforge.net/packages/freetype.htm) (`brew install freetype`) | ||
* [OpenAL](http://kcat.strangesoft.net/openal.html) (`brew install openal-soft`) | ||
* [liblua 5.1](http://luabinaries.sourceforge.net/download.html) (`brew install [email protected]`) | ||
|
||
Run with `./launch-game.sh`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.