This page describes compiling Arx Libertatis from source under macOS and assumes some familiarity with the command-line. If you just want to play the game, it might be easier to grab a binary release or snapshot if available.
Apr 20, 2012 re: Classic RPG Arx Fatalis now playable on Mac, Linux, more I tried this game for the first time recently. I found it good, mainly for the magic casting system.
This page documents how to compile Arx Libertatis from https://github.com/arx/ArxLibertatis under macOS (formerly OS X).
There are also instructions available for Windows and Linux / FreeBSD
Specific instructions are given for a cleanly installed Lion 10.7.3 system, but the procedure should be similar for other versions.
Buy Arx Fatalis. $4.99 Add to Cart. Package Details. Title: Arx Fatalis Genre: RPG Developer: Arkane Studios Publisher: Arkane Studios Release Date: Nov 12, 2002. Aam, Mega, Spacium! Arx Fatalis is a much better RPG. It's almost an Ultima Underworld title. Dark Messiah is better combat/action wise. The RPG elements are very shallow. Arx Fatalis mixes intelligent storytelling with nonlinear gameplay and challenging puzzles, and every choice you make in the game could have drastic impacts on the world. In true Arkane fashion, the game allows you choose your own playstyle and path, with several different possible endings awaiting you based on your decisions.
Homebrew greatly simplifies building Arx Libertatis under macOS. After setting up Homebrew, you can use this command to install the latest release version of the arx-libertatis package:
To install the development version, use:
To download and compile Arx Libertatis you will need the following tools:
Xcode
(App Store or https://developer.apple.com/xcode/)CMake
2.8.3 or newerOptionally you can use either one of these to install the dependencies:
Your system must have the following dependencies installed:
SDL
2 (recommended), or SDL
1.2.10 or newerlibepoxy
1.2 or newer (recommended), or GLEW
1.5.2 or newerBoost
1.48 or newer (headers only)GLM
0.9.5.0 or newerFreeType
2.3.0 or newerOpenGL
, OpenAL
and zlib
are already bundled with macOS.You can also install git
if you want to compile the development version.
After installing Xcode you can either use homebrew or MacPorts to install the dependencies.Using homebrew is recommended because most of the dependencies are already bottled, that is, they will not have to be compiled.
homebrew
homebrew
:MacPorts
If you want to compile the development version, first install git with homebrew (brew install git
) or from https://git-scm.com/.
There are several methods to get the Arx Libertatis source code - choose the one that suits you best:
The easiest way to get the AL source code is to download a versioned release. This will get you a reasonably up to date copy of the source code that has been tested to work.
543dfdaaaaf7c337227c1b6a3087589a
signatureIf you want the absolute latest version of the Arx Libertatis development code and stay up to date, you can clone the AL source code repository. Beware that this will give you the current master development branch that we are actively working on. While the code in that branch should always work, it hasn't undergone any significant testing. If you just want to play the game, consider using a released version instead.
To clone the repository, type:
This creates a directory called ArxLibertatis and downloads the current source code from github.
Later if you want to update your local copy of the source code, run
The git repository does not contain raster images for the icon and logo. These will be generated from scalable versions when building Arx Libertatis, but doing so requires additional dependencies (Inkscape, ImageMagick and OptiPNG). To avoid this, you can instead get the generated images from the ArxLibertatisData repo:
Alternatively you can download the current snapshot of the source code repository as a .zip or .tar.gz file and extract that:
This will give you the same code as cloning the repository, but won't let you update it without downloading everything again.
First, cd
to where you downloaded / extracted the AL source code (the directory containing the `CMakeLists.txt` file):
Then create a build directory that will contain compiled files.
Next, tell the build system where to find the ArxLibertatisData repo (you can skip this if you want to generate the data files yourself or if you are building from a release source archive):
Replace ../../ArxLibertatisData
with the path to the ArxLibertatisData checkout. Alternatively you can pass the -DDATA_FILES=../../ArxLibertatisData
option to the cmake command(s) below.
Now you should be ready to configure and compile. Run cmake:
Replace ../../ArxLibertatisData
with the path to your ArxLibertatis
If you plan on adding code, it might be a good idea to use the developer mode instead:
This disables the unity build to allow for faster incremental builds and also enables runtime checks and debug output in the compiled binary.
And now you should be able to compile with:
If you run out of RAM during the build, disable the unity build by running cmake like this and try make again:
Finally, you can install the executable system-wide with:
Enter your account password at the prompt.
You can run the Arx Libertatis executable from the terminal:
You will need to obtain a copy of the data files from a commercial copy of Arx Fatalis, or use the demo data files. Refer to Installing the game data under Linux regarding where and how to install the game data. innoextract
can also be installed with homebrew (brew install innoextract
).
The game will automatically change all used files to lower-case on the first start. If you want to run the game with read-only data you need to do this manually.
For running arx in a debugger, see Debugging
If you want to have an icon you can pin on your dock or in your launchpad you can create a simple AppleScript to wrap the executable in an .app bundle.
arx
executable is.make install
figure out the path to the folder you built it to.make install
, use this to find out the position of the executable, then copy the output:Applications/Utilities/
)arx
is /usr/local/bin/arx
, copy the following lines into the window:Replace /usr/local/bin/arx
with the position of your executable if needed.