S.T.A.L.Okay.E.R. Call of Pripyat is a wonderful open world recreation that takes place in Ukraine, round Chernobyl. It’s the third entry within the S.T.A.L.Okay.E.R. sequence and is a cult basic for players that love post-apocalyptic adventures. Upon launch, Call of Pripyat solely ran on Home windows. Nevertheless, thanks to the brand new OpenXRay software, Linux customers can take pleasure in this recreation as nicely!

Getting Call of Pripyat working requires a authorized copy of the sport. There are a number of methods to buy it. For finest outcomes, grab the GOG.com release of the game, because it doesn’t come wrapped up in DRM, and will provide you with full entry to the recordsdata.

When you’ve purchased the sport, obtain it to your Linux PC and comply with alongside to find out how to get it working!

Earlier than we start

Earlier than we speak about how to get the sport working on Linux with the OpenXRay engine, it’s necessary to level out that this code is in its early days and beneath heavy growth. It’s possible you’ll run into points getting the sport to run with this software, due to the complexity of supporting completely different Linux distributions, and unpatched bugs.

When you run into any issues with the code throughout this information, feel free to check out the issue page and inform the builders so they could assist mitigate the problems.

Set up Call of Pripyat

The sport wants to be put in on your Linux PC earlier than the OpenXRay binaries, supply code or the rest is fiddled with. To put in the Home windows model of Call of Pripyat, you have to set up Wine.

Putting in Wine is a reasonably simple course of that we’ve lined fairly extensively on Addictivetips prior to now. For finest outcomes with Call of Pripyat on Linux, we extremely advocate going with Wine 4, because it has nice updates that help players on Linux.

When you’ve gotten Wine up and working, obtain the GOG launch of S.T.A.L.Okay.E.R. Call of Pripyat to your Linux PC. Then, open up a terminal window. Having entry to the command-line is essential throughout this course of in order that we will detect any errors with Wine throughout the set up. It’s additionally a lot simpler to run EXEs this fashion.

Utilizing the terminal window, CD into the ~/Downloads folder the place the Pripyat recreation EXE file is.

cd ~/Downloads

Within the Downloads folder, run the ls command, so as to reveal the precise file title of the installer.

ls

Then, take observe of the installer’s title and plug it into the wine command, to begin up the installer. Within the command under, change stalker-call-of-pripyat.exe with the precise title of the EXE file in your obtain listing.

wine stalker-call-of-pripyat.exe

Working the wine command will immediately convey up the GOG Gui installer. Observe the directions and find out how to get every part put in on your Linux PC.

When the GOG installer is completed, there’s one final thing to do. We’d like to rename the default folder title that GOG provides CoP and alter it to a extra command-line pleasant title. To do that, CD into the ‘GoG’ folder.

cd ~/.wine/drive_c/GOG Video games

Rename the listing from S.T.A.L.Okay.E.R. Call of Pripyat to Stalker-CoP with the mv command.

mv 'S.T.A.L.Okay.E.R. Call of Pripyat' Stalker-CoP

Dependencies for OpenXray

The OpenXray engine requires a number of construct dependencies to compile the code efficiently. To put in these construct dependencies, open up a terminal and comply with the directions that correspond to the Linux OS you use.

Ubuntu

sudo apt set up git cmake libglew-dev libfreeimage-dev libfreeimageplus-dev liblockfile-dev libopenal-dev libtbb-dev libcrypto++-dev libogg-dev libtheora-dev libvorbis-dev libsdl2-dev liblzo2-dev libjpeg-dev libreadline-dev

Debian

sudo apt-get set up git cmake libglew-dev libfreeimage-dev libfreeimageplus-dev liblockfile-dev libopenal-dev libtbb-dev libcrypto++-dev libogg-dev libtheora-dev libvorbis-dev libsdl2-dev liblzo2-dev libjpeg-dev libreadline-dev

Fedora

sudo dnf set up git cmake glew-devel freeimage-devel freeimage-plus-devel liblockfile-devel openal-devel tbb-devel cryptopp-devel libogg-devel libtheora-devel libvorbis-devel SDL2-devel lzo-devel libjpeg-turbo-devel readline-devel

Getting OpenXray working

The OpenXRay recreation engine is on GitHub. To get it, you’ll want to obtain every part utilizing the git clone command. Within the terminal, use Git to clone the most recent supply code.

git clone  --recursive

After grabbing the supply code, make a brand new construct listing with mkdir.

cd xray-16

mkdir bin

Transfer into the construct listing with CD and name cmake and make to compile the code.

cd bin

cmake ..

make -j$(nproc)

9k=

Lastly, end up the set up course of by creating a brand new Linux bin listing within the Sport’s folder and use make to set up the constructed code into your copy of Stalker CoP.

mkdir -p ~/.wine/drive_c/GOG Video games/Stalker-CoP
make -j$(nproc) DESTDIR=~/.wine/drive_c/GOG Video games/Stalker-CoP set up

Working the sport on Linux

The binaries are constructed for Linux, however to run Stalker CoP on your PC, we’d like to modify a file. To begin, CD into the sport listing and delete the present “fsgame.ltx” file.

cd ~/.wine/drive_c/GOG Video games/Stalker-CoP
rm fsgame.ltx

Subsequent, copy the newly created fsgame.ltx file into the Stalker CoP listing.

cp -r ~/xray-16/res/* ~/.wine/drive_c/GOG Video games/Stalker-CoP

With the recordsdata in place, you possibly can run the sport with:

cd ~/.wine/drive_c/GOG Video games/Stalker-CoP/bin-linux

./xr_3da.sh -fsltx ../fsgame.ltx

Different methods to play S.T.A.L.Okay.E.R. Call of Pripyat on Linux

OpenXRay is an attention-grabbing venture and it’s serving to increasingly more Linux customers take pleasure in Call of Pripyat, but it surely’s not the one method to play this recreation on the platform.

When you’ve tried out OpenXRay and located it missing, or bumped into some points, you’ll be pleased to know that it’s possible to run the GoG version of the game you installed with Wine directly. It also works well with Steam Play.



Source link

Share.
Leave A Reply

Exit mobile version