Posted: . At: 11:16 AM. This was 5 years ago. Post ID: 13503
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.



Sponsored



How to build the OpenXray engine on Linux and run Call of Pripyat natively.


Stalker Call of Pripyat is easy to run on Linux. This is due to the new OpenXray engine available for Windows and Linux. I managed to finally build this on Ubuntu 18.04 with gcc-8.

Firstly, download and install the required source code.

4.4 Wed Aug 28 jason@Yog-Sothoth 0: $ git clone https://github.com/OpenXRay/xray-16.git --recurse-submodules

Then cd into the xray-16 folder and create a folder “bin”. Then cd into the bin folder and run this command to build the source.

4.4 Wed Aug 28 jason@Yog-Sothoth 0: $ cmake -DCMAKE_C_COMPILER=gcc-8 -DCMAKE_CXX_COMPILER=g++-8 ..

Then the source code will be built successfully on Linux.

Once this has completed, run this command to build a deb package to install on your system. This will take a while, so be patient.

4.4 Wed Aug 28 jason@Yog-Sothoth 0: $ make package

This package may then be installed easily.

4.4 Wed Aug 28 jason@Yog-Sothoth 0: $ sudo dpkg -i openxray_1.6.02_amd64.deb

I tried to run Clear Sky with this binary, and it did not work, so stick with Call of Pripyat for Linux Stalking action.

Dark Valley forest in OLR 2.5.
Dark Valley forest in OLR 2.5. Creepy looking swamp.

Put all game files in the ~/.local/share/GSC/SCOP/ folder to allow the game to run. Once this is installed, run the xr_3da command to start the game. Ensure that your version of Call of Pripyat is version: 1.6.02. This will run as stable as possible. The only annoyance is that screenshots are not saved with save games. But as long as the game works, it is fine. I am not sure if Misery would work with this engine. Only know if you try.


1 thought on “How to build the OpenXray engine on Linux and run Call of Pripyat natively.”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.