            _______________________
           /\                      \
           \_|         Arx         |
             |      Libertatis     |
             |   __________________|__
              \_/____________________/


Cross-platform port of Arx Fatalis, a first-person role-playing game

Arx Libertatis is based on the publicly released Arx Fatalis source code
(https://web.archive.org/web/20180105233341/https://www.arkane-studios.com/uk/arx_downloads.php).
The source code is available under the GPLv3+ license with some additional terms - see the
COPYING and LICENSE files for details.

 Contact
=========

Website: https://arx-libertatis.org/

Bug Tracker: https://bugs.arx-libertatis.org/

IRC: #arxfatalis on irc.freenode.net

Wiki: https://wiki.arx-libertatis.org/

Reddit: /r/ArxFatalis/ (https://old.reddit.com/r/ArxFatalis/)


 Data file, config and savegame locations
==========================================

You will need to get either the full game or demo data of Arx Fatalis (https://arx.vg/data).

Where arx will look for data files and write config and save files depends on the operating
system and environment - the wiki has a page detailing the full data directory detection algorithm
(https://arx.vg/paths).

To print all directories searched by arx, run

    arx --list-dirs

By default, user, config and data files will be loaded from and saved to standard system
locations depending on the OS:

Windows:
 - user and config dir:
   *XP*: `%USERPROFILE%\My Documents\My Games\Arx Libertatis`
   *Vista* and up: `%USERPROFILE%\Saved Games\Arx Libertatis`
 - data dir: location stored in HKCU\Software\ArxLibertatis\DataDir or
   HKLM\Software\ArxLibertatis\DataDir registry keys

Arx will also try to load data files from the directory containing the game executable.

To use the current working directory for user, config and data files (e.g. for a portable install)
run the game as

    arx --no-data-dir --user-dir=. --config-dir=.

We have included an arx-portable wrapper that sets these options for you. Combine this with
installing the pak files into the data subdirectory to get one portable install.


 Run
=====

Provided the data files are installed at the correct location, you can simply play the game
using the installed shortcut or by running

    arx

See the `arx --help` and doc/arx.txt for more details.


 Tools
=======

 - `arxunpak [options] <pakfile> [<pakfile>...]`
   Extracts Arx Fatalis .pak files containing the game assets.
   See the `arxunpak --help` and doc/arxunpak.txt for more details.

 - `arxunpak [options] [--all]`
   Extracts all game assets.
   See the `arxunpak --help` and doc/arxunpak.txt for more details.

 - `arxsavetool <command> <savefile> [<options>...]` - commands are:
   - `extract <savefile>`
     Extract the contents of the given savefile to the current directory
   - `add <savefile> [<files>...]`
     Add files to a savefile, create it if needed
   - `fix <savefile>`
     Fix savegame issues created by previous builds of Arx Libertatis
   - `view <savefile> [<ident>]`
     Print savegame information - leave out <ident> to list root files
