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.
If a game does not get the viral promotion they often go straight to obscurity. Which is a shame so many great games get missed due to that.
See more from me