Installing the game data under Linux

From Arx Libertatis Wiki
Jump to navigation Jump to search

Once you have acquired the game data, you will have to put it in a location searched by arx.

This page is written with Linux in mind, but the procedure should be similar for other UNIX-like operating systems like FreeBSD.

Extracting the data

Arch icon.png Arch Linux

Arch users can use the arx-fatalis-data-demo, arx-fatalis-data-gog or arx-fatalis-data-copy package. There is no package to install from the CD, but you can use the regular install script - either install to a standard location or combine it with arx-fatalis-data-copy.

Gentoo icon.png Gentoo

Gentoo users can use the games-rpg/arx-fatalis-data (CD or GOG.com installer) or games-rpg/arx-fatalis-demo package from the arx-libertatis overlay. There is no package to install from an existing Arx Fatalis install such as from Steam, but you can use the regular install script.

Install script

The easiest way to install the Arx Fatalis data for use by Arx Libertatis is by using the install script. When not run from a terminal, the script needs either KDialog, Zenity, Xdialog, or a graphical terminal emulator to functions.

If Arx Libertatis detects that there are missing data files, the installer should automatically be started for you - simply select your source file or directory.

You might also need some additional programs to extract the data. In that case the installer tell you which ones are needed - install them and try again.

You can also start the installer manually by running

$ arx-install-data

If you prefer a graphical interface (needs KDialog, Zenity or Xdialog), run

$ arx-install-data --gui

Additional options are documented in the help output:

$ arx-install-data --help

If your installation of Arx Libertatis didn't come with the data install script, you can get it here:

$ wget https://arx.vg/arx-install-data
$ chmod +x arx-install-data
$ ./arx-install-data

Depending on where you got your Arx fatalis data From, you might need the innoextract program so that the installer can extract it. If you didn't install innoextract through the package manager, you might need to make sure the script finds it by adding the containing directory to your PATH environment variable:

$ export PATH="/path/to/directory/containing/innoextract/:$PATH"

Replace the path with where your innoextract binary is and remember that this will only affect the current shell session.

Original CD

To install from a retail Arx Fatalis CD, you need

Then run the install script as described above and use the interactive mode to select the directory where the CD is mounted.

Alternatively, you can run the script as

$ arx-install-data /path/to/mount/point

Or you could install Arx Fatalis using Wine and then install from that.

GOG.com setup

To install from a setup file downloaded from GOG.com, you need

Then run the install script as described above and use the interactive mode to select the setup_arx_fatalis.exe or setup_arx_fatalis_2.0.0.7.exe file.

Alternatively, you can run the script as

$ arx-install-data /path/to/setup_arx_fatalis.exe

Or you could install Arx Fatalis using Wine and then install from that.

Already installed data

If you already installed Arx Fatalis (such as the Steam version), you can use the arx-install-data script to copy the data, rename files to lowercase and verify checksums.

Unless the data is already patched, you will need

to extract the 1.21 patch. This does not apply to the Steam and GOG.com versions - they are already fully patched.

Fot the Japanese version you might also need

Then run the install script as described above and use the interactive mode to select the directory where Arx Fatalis is installed.

Alternatively, you can run the script as

$ arx-install-data /path/to/arx/fatalis/install/directory

Steam installs Arx Fatalis at "path/to/Steam/steamapps/common/arx fatalis/".

English Demo

To install the English demo data, you need

Then run the install script as described above and use the interactive mode to select the arx_demo_english.zip or arxdemoenglish.zip file.

Alternatively, you can run the script as

$ arx-install-data /path/to/arxdemoenglish.zip

Or you could install the Arx Fatalis demo using Wine and then install from that.

Japanese Demo

To install the Japanese demo data, you need

Then run the install script as described above and use the interactive mode to select the arx_jpn_demo.exe file.

Alternatively, you can run the script as

$ arx-install-data /path/to/arx_jpn_demo.exe

Or you could install the Arx Fatalis demo using Wine and then install from that.

Wine

Like on Windows, the game data can be extracted by installing the game normally under Wine. Then either see the Already installed data section, or manually apply the 1.21 patch and rename all files to lowercase. Also verify that you have all the required data files.

However, Wine is a big dependency just to extract the game data and cannot always be used. Because of that, we provide scripts to extract the game data under linux without Wine.

Install locations

The arx-install-data provides you with a suitable data directory. Simply using the first listed one should be fine.

Arx Libertatis will look for your data files in multiple directories according to the XDG Base Directory Specification - usually /usr/share/games/arx and /usr/local/share/games/arx - as well as a few others.

Alternatively, you may put the data files in the user directory (usually at ~/.local/share/arx).

You can also put the data into any directory you want and then point the game to that using the --data-dir command-line option.