Installation

From Pragma
Jump to: navigation, search

To download, update and maintain Pragma, you have to get the launcher/autoupdater here.
Alternatively, you can get the command-line autoupdater, which does not require any GUI interface.
Note: There is currently a bug in the AMD-drivers concerning Vulkan. This will result in a crash when attempting to load a map. The bug will be fixed in the next AMD driver-update!

If you're using Linux, it's highly recommended to use Ubuntu, other distributions haven't been tested and are not guaranteed to work.

Launcher

Sciolyte launcher.png

After clicking on "Check for updates" the launcher will download the latest version for your system automatically. You should do this every time before you start the game, to make sure you're running on the latest version. You can cancel the download at any time and resume it later on without losing your download progress (Except for any file which was currently mid-download). It is highly recommend that you finish an update before launching the game however.

If you suspect that one or more files are corrupt or missing in your installation, you can use the option "Validate files". It will automatically compare all local files with the server's and re-download any files which don't match.

Once the download is complete, you can launch the game by pressing "Launch". You can directly specify custom launch parameters for the game in the "Startup parameters" text entry field. These will be remembered the next time you start the launcher.

Additionally, the launcher offers several own launch parameters you can start it with to automate the process even further:

Launch Parameters

Note: These are for the launcher itself, not the actual game.

-update

Automatically update to the latest version when the launcher is started.

-validate

Automatically validate the local files when the launcher is started. If used in combination with -update, it will first update and then validate the files.

-launch

Automatically launches the game when the launcher is started, or the update/validation is complete, depending on whether the respective launch parameters are set as well.

-os <OS>

Allows you to download the files for the specified system instead of the one you are currently on. Possible options for <OS> are:

  • win32 - Windows x86
  • win64 - Windows x64
  • lin32 - Linux x86
  • lin64 - Linux x64

Command-line

If you don't want to use the GUI-launcher, or you're working on an OS without any GUI interface, you can use the command-line autoupdater instead.
To update your installation, run the "update.bat"/"update.sh". You can change the startup map, by editing the "run_server.bat"/"run_server.sh".

Requirements

There are certain requirements you need to meet, if you want to use the command-line autoupdater, depending on your operating system.

Windows

You'll have to install the Visual C++ Redistributable Package for Visual Studio 2015 before running the autoupdater.
After the installation, you may have to restart your os.

Linux

If the autoupdater doesn't launch for you from the getgo, try running the following commands first:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9 g++-4.9 gcc-5 g++-5
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9

You will mostly likely have to change the permissions for "update.sh", "run_server.sh", "validate.sh" and "pragma_autoupdater" to make them executable, too.