Prey

From PCGamingWiki, the wiki about fixing PC games
Prey
Prey cover
Developers
Human Head Studios
macOS (OS X) Aspyr Media
Linux Ryan C. Gordon
Publishers
2K Games
Engines
id Tech 4
Release dates
Windows July 11, 2006
macOS (OS X) January 15, 2007
Linux December 7, 2008
Prey guide at StrategyWiki
Prey at Wikipedia

This page is for the game released in 2006. For the game released in 2017, see Prey (2017).

General information

Prey Wiki
Prey Tweak Guide
Steam Community Discussions

Availability[edit]

Source DRM Notes Keys OS
Retail
CD key
SecuROM DRM disc check. Install v1.4 Patch to remove disc check. CD keys activate on Steam.[1]
Icon overlay.png
Windows
macOS (OS X)
Linux
Mac App Store
Icon overlay.png
No online play (LAN only).[2]
macOS (OS X)
Windows version is no longer available digitally.
Retail Windows/Linux, retail Mac and Steam keys are compatible with each other.
Demo version available.

Version differences[edit]

Online play is not available in the Mac App Store version (LAN play is supported).[2]

Essential improvements[edit]

Patches[edit]

v1.4 Patch is the latest patch for the retail version. Retail boxed versions may be SecuROM protected (which requires the disc to be in the DVD drive). This patch removes the protection.

SDK, etc.[edit]

All downloads available for the game can be found at the 3D Realms Prey download page.

Linux client for Prey[edit]

A free client that allows Prey to be played natively on Linux machines. It requires either a full retail copy or the demo to use it.

It can be downloaded here.

SDL Compatibility Library (SDLCL)[edit]

Enables native Alt+Tab and additional screen resolutions by translating SDL 1.2's calls into modern SDL 2.0 on Linux.
Replace libSDL library of the game[3]
  1. Install libsdl2-2.0-0, libsdl2-2.0-0:i386, libsdl1.2debian, libsdl1.2debian:i386, libudev1, libudev1:i386 packages with your distro's software manager.
  2. Backup and remove libSDL-1.2.so.0 library in <path-to-game>.
  3. Download sdlcl-1.0-i686.tar.gz; extract libSDL-1.2.so.0 into <path-to-game>.

Game data[edit]

In-game general settings.
In-game general settings.

Configuration file(s) location[edit]

System Location
Windows <path-to-game>\base\[Note 1]
macOS (OS X) $HOME/Library/Application Support/Prey/base/
Linux $HOME/.prey/base/
Linux (Proton) <Steam-folder>/steamapps/compatdata/3970/pfx/[Note 2]
This game does not follow the XDG Base Directory Specification on Linux.

Save game data location[edit]

System Location
Windows %USERPROFILE%\Documents\My Games\PREY\base\
macOS (OS X) $HOME/Library/Application Support/Prey/base/savegames/
Linux $HOME/.prey/base/savegames/
Linux (Proton) <Steam-folder>/steamapps/compatdata/3970/pfx/[Note 2]

Save game cloud syncing[edit]

System Native Notes
Steam Cloud

Video settings[edit]

In-game general video settings.
In-game general video settings.
In-game advanced video settings (1/2).
In-game advanced video settings (1/2).
In-game advanced video settings (2/2).
In-game advanced video settings (2/2).
Graphics option Option WSGF Notes
Widescreen resolution
See Widescreen resolution for unlisted resolutions.
Multi-monitor
See the WSGF entry.
Ultra-widescreen
See the WSGF entry.
4K Ultra HD
Field of view (FOV)
Open console with Ctrl+Alt+~ and use g_fov X command.
Windowed
Borderless fullscreen windowed
Use Borderless Gaming.
Anisotropic filtering (AF)
Anti-aliasing (AA)
Vertical sync (Vsync)
60 FPS
120+ FPS
Capped at 63 FPS. Game runs too fast if the frame rate cap is removed.

Widescreen resolution[edit]

Some resolutions like 1280x768 and 1920x1080 must be set manually.

Use a custom resolution[citation needed]
  1. Go to configuration file(s) location.
  2. Edit preyconfig.cfg.
  3. Change seta r_customHeight "486" and seta r_customWidth "720" to your desired resolution.
  4. Change seta r_mode to "-1"
  5. Change seta r_aspectRatio to your aspect ratio. "0" is 4:3, "1" is 16:9 and "2" is 16:10.

60 FPS[edit]

Screen tearing on Nvidia Gsync monitors[citation needed]

Prey may automatically set Nvidia Gsync monitors to 60 hz with gsync disabled. This will result in noticeable screen tearing. This can be fixed by manually resetting the monitor to a higher hz output. This will not affect the in-game framerate, but will solve the screen tearing.

Input settings[edit]

In-game general control settings.
In-game general control settings.
In-game key map settings.
In-game key map settings.
Keyboard and mouse Native Notes
Remapping
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
See the glossary page for potential workarounds.

Audio settings[edit]

In-game audio settings.
In-game audio settings.
Audio options Native Notes
Separate volume controls
Surround sound
Stereo or 5.1 (software). Up to 7.1 (OpenAL)[4]
Subtitles
Closed captions
Mute on focus lost
EAX support
EAX 4, EAX 5 (via OpenAL)[4]

Localizations

Language UI Audio Sub Notes
English
French
Only selectable in the retail version.
German
Italian
Only selectable in the retail version. See below for the Steam version.
Russian
Official localization by 1C-Softclub. Only available in Russian retail release or here.
Russian
Fan translation by «ENPY Studio/Spirit Team»
Spanish
Only selectable in the retail version.

Italian[edit]

Enabling Italian in the Steam version[5]
  1. Go to configuration file(s) location.
  2. Open the preyconfig.cfg file.
  3. Change seta sys_lang "english" to seta sys_lang "italian".

Network[edit]

Multiplayer types

Type Native Players Notes
LAN play
8 Versus
Online play
8 Versus
Master Server is down, use Direct IP to connect servers. Not available in the Mac App Store version.[2]

Connection types

Type Native Notes
Matchmaking
Peer-to-peer
Dedicated
Self-hosting
Direct IP
Enter IP:Port in MultiPrey > IP Connect.
Disable Pure Server to allow cross-platform multiplayer between Mac and PC (Windows, Linux, Steam) releases.

Ports

Protocol Port(s) and/or port range(s)
TCP 27719
UDP 27719
Universal Plug and Play (UPnP) support status is unknown.

Issues fixed[edit]

Cannot use Alt+Tab or Command+Tab [edit]

The game does not support directly switching to desktop by Alt+Tab or Command+Tab on Windows and Mac.
Windows: Switch to windowed mode
  1. Switch to windowed mode Alt+ Enter.
  2. Apply Alt+Tab .
Linux: Use SDLCL to enable native Alt+Tab
  1. Replace game's libSDL library with SDL Compatibility Library (SDLCL).
Mac: Assign a key for windowed mode
  1. Go to the configuration file(s) location.
  2. Open preyconfig.cfg with a text editor.
  3. Paste bind "F8" "toggle r_fullscreen; vid_restart" at the bottom of the file.
  4. Switch to windowed mode F8.
  5. Apply Command+Tab .

Sound doesn't properly work on Linux[edit]

Install and use OpenAL
  1. Install libopenal1, libopenal1:i386, libasound2, libasound2:i386 packages with your distro's software manager.
  2. Go to the configuration file(s) location.
  3. Edit preyconfig.cfg with a text editor.
  4. Change seta s_useOpenAL to "1"
  5. Change seta s_deviceName to "OpenAL Soft"
  6. Change seta s_libOpenAL to "<path to the libopenal.so>" or symlink libopenal.so to <path-to-game>/openal.so

Other information[edit]

API[edit]

Technical specs Supported Notes
OpenGL 2.0
64-bit executable
Mac App Store version only.

Middleware[edit]

Middleware Notes
Audio OpenAL
Anti-cheat PunkBuster

System requirements[edit]

Windows
Minimum Recommended
Operating system (OS) 2000
Processor (CPU) Intel Pentium 4 2.0 GHz
AMD Athlon XP 2000+
System memory (RAM) 512 MB
Hard disk drive (HDD) 2.2 GB
Video card (GPU) DirectX 9 compatible
macOS (OS X)
Minimum Recommended
Operating system (OS) 10.3.9
Processor (CPU) PowerPC G5 2.0 GHz
Intel 1.8 GHz
System memory (RAM) 512 MB
Hard disk drive (HDD) 3 GB
Video card (GPU) ATI Radeon X1600
Nvidia GeForce 7300
Linux
Minimum
Operating system (OS) Kernel 2.6.x or higher
Processor (CPU) Intel Pentium 4 2.0 GHz
Athlon XP 2000+
System memory (RAM) 512 MB
Hard disk drive (HDD) 2.2 GB
Video card (GPU) OpenGL 2.0 compatible
Supported ATI chipsets: Radeon 9600 series, Radeon 9700 series, Radeon 9800 series, Radeon X300 series, Radeon X550 series, Radeon X600 series, Radeon X700 series, Radeon X800 series, Radeon X1300 series, Radeon X1600 series, Radeon X1800 series, Radeon X1900 series
Supported Nvidia chipsets: GeForce3/Ti series, GeForce4/Ti, GeForce FX 5800 series, GeForce 5900 series, GeForce 6200 series, GeForce 6600 series, GeForce 6800 series, GeForce 7300 series, GeForce 7600 series, GeForce 7800 series, GeForce 7900 series
The game does not support Intel integrated graphics chipsets

Notes

  1. When running this game without Administrator elevation, activity in %PROGRAMFILES%, %PROGRAMFILES(X86)%, and %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore\ (more details).
  2. 2.0 2.1 File/folder structure within this directory reflects the path(s) listed for Windows and/or Steam game data (use Wine regedit to access Windows registry paths). Games with Steam Cloud support may store data in ~/.steam/steam/userdata/<user-id>/3970/ in addition to or instead of this directory. The app ID (3970) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.

References