Confused on Steam Play and Proton? Be sure to check out our guide.
We do often include affiliate links to earn us some pennies. See more here.

Playing Prey on Linux in 2018

By - | Views: 39,121

Continuing on from my previous articles on how to get both Doom 3 and Quake 4 running on modern Linux systems, I felt the time was right to look at Prey, another id Tech 4 based game with a native Linux port. One of the few games developed on the engine not to be directly related to id Software, it did not take me long to discover that the main issue people were likely to run into with Prey had nothing to do with the game itself.


A little background

 

For a game with as much history behind it as Prey, it is remarkable how buried it has become. Word of the game first came out way back in 1995, before 3D Realms had even released Duke Nukem 3D, and from there it went through several iterations and passed through a number of different hands before finally seeing the light of day in 2006. The only reason why Prey is not more often told as a cautionary tale in game development circles is that it was less of a debacle than Duke Nukem Forever.

Being no stranger then to having its name pushed out of the limelight, it is perhaps unsurprising that Prey would go on to have its name stolen outright, with current owner ZeniMax Media applying it instead to a game intended to be a spiritual successor to a different franchise entirely. Adding salt to this particular wound is the fact that new copies of the original Prey have been unavailable for purchase since 2009, due apparently to the publisher running out of CD keys.

What this means for Linux users wanting to hunt down their own copy of the game is that they are now put in the ridiculous situation of trying to find old retail copies of Prey, while at the same time being forced to dig through the significant internet presence that the new game has attracted. I was spared this by already having access to an old retail copy, but I still found myself becoming frustrated when trying to look up new information about the game.


Getting it running

Prey was brought to Linux by Ryan Gordon in 2008, coming as something of a surprise as developer Human Head Studios had previously stated back in 2006 that they had no interest in a Linux port. Like with the Doom 3 and Quake 4 ports by Timothée Besset this took the form of an independent installer that requires access to the data from a Windows release of the game in order to work. Being an independent contractor, Ryan Gordon still hosts the installer on his own icculus.org website.

One unique aspect of the Prey installer is that it will by default search for a mounted CD or DVD rather than having you copy over the data yourself. This can be overridden if necessary by passing the "--from-install --media" parameter to the installer from a terminal window followed by the path to a directory containing the relevant files. From there the rest of the game's set up should be taken care of automatically by the installer.

Being a more recent port I anticipated that I would run into fewer issues than I did with Quake 4, and that was indeed the case. I did have to remove the bundled libgcc_s.so.1 file from the install directory in order to get the game to launch, but from there everything else was fine except for the game's sound. While Prey does have the benefit of supporting OpenAL directly rather than ALSA or OSS, it was still misconfigured by default leaving me with crackling audio.

I resolved this by creating an autoexec.cfg file in the hidden ~/.prey/base directory with the following lines:

seta s_useOpenAL "1"
seta s_deviceName "OpenAL Soft"
seta s_libOpenAL "/usr/lib32/libopenal.so" 

Please note that the actual library path may vary based on your Linux install, and that this does require you to have the 32 bit variant of the OpenAL library installed. As to be expected Creative EAX ADVANCED HD audio technology is also once again not supported by the Linux version of the game.


Playing the game

 

When Prey does get remembered, it is usually for its gimmicks. The game's levels are full of neat navigational tricks such as portals and places with variable gravity, and the protagonist Tommy will also eventually gain the ability to spirit walk, allowing him to leave his body to reach otherwise inaccessible areas. These same powers also make it impossible for him to die. Instead, his spirit must fight with those of the dishonoured dead until it is brought back to the land of the living.

This all sounds very involved, but most of these features are actually rather superficial, which has led to a backlash against the game in some quarters. At its heart Prey is very much a classic first person shooter in the same way that Quake 4 was, just with some novel visual and gameplay quirks added. None of this is surprising coming from 3D Realms, who for a time excelled at making classic first person shooters with novel visual and gameplay quirks, but it stood out in 2006.

When taken like this Prey can be very enjoyable, even with its melodramatic and often absurd plot centred around Cherokee mysticism and a near never ending quest to save your girlfriend. In fairness an effort was made to involve indigenous actors, with both Michael Greyeyes and Crystle Lightning being Canadian Plains Cree. On the other hand there is John William Galt, who is most well known for voicing Lo Wang in the original Shadow Warrior. So yeah, there's that.

Coming back to it I was surprised by how short the game is, with it seeming far longer when played on insufficient hardware, but by and large it does get its pacing right. The levels leading up the game's denouement are particularly satisfying, inviting you to cut loose in a sensational fashion. Playing on the harder Cherokee mode was disappointing though, with the removal of health spores just making death in the game even more of a trudge than it was before.

Above all else, Prey is theatrical. With its sweeping orchestral soundtrack and mind bending levels, the game's highest priority seems to be in providing spectacle. It is in the little touches that the game truly shines though. Whoever decided to bring Art Bell on board to record a fictional version of his radio call in show Coast to Coast AM to be heard throughout the game's levels was a genius, and I am not even going to spoil what starts playing on the jukebox while you are being abducted.

 

Final thoughts

Well, this was a discouraging article to write. Prey is far from being unique in entering its present state of publishing and distribution limbo, but most other games never had to suffer the indignity of having their entire identity taken out from under them the way that Prey now has. For those that can get their hands on a copy Prey it is still well worth the time to get running, especially for those of us who can still remember when its arrival on Linux was a pretty big deal.

Article taken from GamingOnLinux.com.
Tags: Action, FPS, HOWTO, Review | Apps: Prey
20 Likes
About the author -
author picture
Hamish Paul Wilson is a free software developer, game critic, amateur writer, cattle rancher, shepherd, and beekeeper living in rural Alberta, Canada. He is an advocate of both DRM free native Linux gaming and the free software movement alongside his other causes, and further information can be found at his icculus.org homepage where he lists everything he is currently involved in: http://icculus.org/~hamish
See more from me
The comments on this article are closed.
31 comments
Page: «2/4»
  Go to:

hallieballie Feb 15, 2018
To use sound with 32 bit games with pulseaudio i have done the following:

Uninstall the 64 bit pulseaudio-utils and install the 32 bit pulseaudio-utils.

Rename the 32 bit padsp (/usr/bin/padsp) to padsp_32 (/usr/bin/padsp_32), because the 64 bit padsp also uses /usr/bin/padsp.

Install the 64 bit pulseaudio-utils again and start prey with padsp_32 before the executable for sound.
Ardje Feb 15, 2018
Oh... fsck! I gave away my dvd thinking I could get an online version. (I gave away all my physical media to whomever wanted it).
Prey was to me one of the better story FPS's.
Meeh! How can I obtain a copy now :-(.
Ardje Feb 15, 2018
Quoting: PatolaNice article! Can you do X2: The Threat for Linux next?
I think I can give you one for X3, from LGP:
Despite the shirt being funny, it *never* *ever* worked. (I had the signed box :-) ).
Fortunately X3 and X Rebirth is on steam with full working linux support from Egosoft.
Leopard Feb 15, 2018
Quoting: ArdjeOh... fsck! I gave away my dvd thinking I could get an online version. (I gave away all my physical media to whomever wanted it).
Prey was to me one of the better story FPS's.
Meeh! How can I obtain a copy now :-(.

Ebay or......
fabertawe Feb 15, 2018
Another great article Hamish ^_^

I still have the retail box, bought back when this was a very exciting Linux release. Enjoyed the game immensely and will have to play again now!
rea987 Feb 15, 2018
Quoting: Leopard
Quoting: ArdjeMeeh! How can I obtain a copy now :-(.

Ebay or......

Well, couple well known grey market key reseller websites still sell Steam keys of Prey (2006). But, as the game uses "LegacyKeyRegistrationMethod: disk" on Steam just like Quake 4, it needs to be launched via WINE to generate preykey which is needed for native client on Linux.

https://steamdb.info/app/3970/


Last edited by rea987 on 15 February 2018 at 12:07 pm UTC
slaapliedje Feb 15, 2018
Quoting: Patola
Quoting: Ardje
Quoting: PatolaNice article! Can you do X2: The Threat for Linux next?
I think I can give you one for X3, from LGP:
Despite the shirt being funny, it *never* *ever* worked. (I had the signed box :-) ).
Fortunately X3 and X Rebirth is on steam with full working linux support from Egosoft.
Thanks but I already have and play both (400h on X Rebirth alone), the thing about X2 for Linux is that it's difficult to make it work with current libraries and it is one of those 'rare' games that's difficult to buy.

Been a while since I tried, but I did manage to get X2 working at one point (the LGP release). On the other hand, I have a majority of LGPs games, even got the Loki Heavy Gear 2 working fairly easily.

One commercial game that I've never been able to play under Linux, even since I first got a copy, was Devil's Whiskey. It needed some python work to work with later python versions.
I have bought a used retail copy of Prey some weeks ago after discovering its Linux port by chance. It runs exceptionally well. Since it has no built-in support for FullHD resolution I changed the following lines in ~/.prey/base/preyconfig.cfg

seta r_customHeight "1080"
seta r_customWidth "1920"
seta r_mode "-1"
nattydread Feb 15, 2018
Awesome game.
The new one is also awesome but in a completely different way.
rea987 Feb 15, 2018
Quoting: Jewgeni Filippowitsch IwanowskiSince it has no built-in support for FullHD resolution I changed the following lines in ~/.prey/base/preyconfig.cfg

seta r_customHeight "1080"
seta r_customWidth "1920"
seta r_mode "-1"

The game supports resolutions up to 2560x1440 via .ini edit.

http://www.wsgf.org/dr/prey
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.