Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Prey"

From PCGamingWiki, the wiki about fixing PC games
(→‎API: game does not use directx)
Line 486: Line 486:
 
===API===
 
===API===
 
{{API
 
{{API
|direct3d versions      = 9.0c
+
|direct3d versions      =  
 
|direct3d notes        =  
 
|direct3d notes        =  
 
|directdraw versions    =  
 
|directdraw versions    =  

Revision as of 02:18, 31 January 2021

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

Prey
Prey cover
Developers
Human Head Studios
macOS (OS X) Aspyr Media
Linux Ryan C. Gordon
Publishers
2K Games
3D Realms
Engines
id Tech 4
Release dates
Windows July 11, 2006
macOS (OS X) January 15, 2007
Linux December 7, 2008
Reception
Metacritic 83
IGDB 77
Prey on HowLongToBeat
Prey on IGDB
Prey guide on StrategyWiki
Prey on MobyGames
Prey on Wikipedia

Warnings

The macOS (OS X) version of this game does not work on macOS Catalina (version 10.15) or later due to the removal of support for 32-bit-only apps.

General information

Prey Wiki
Prey Tweak Guide
Steam Community Discussions

Availability

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 (unavailable)
Icon overlay.png
No online play (LAN only).[2]
macOS (OS X)
Steam (unavailable)
Icon overlay.png
Comes fully patched to v1.4. prey.exe contains Steam DRM, but just like Doom 3 can be replaced with exe extracted from 1.4 patch (SetupPreyPt1.4.exe /s /extract_all:[path]). PREYDed.exe is DRM-Free.
Windows
Windows version is no longer available digitally outside of Play-Asia.com.
Retail Windows/Linux, retail Mac and Steam keys are compatible with each other.
Demo version available.

Version differences

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

Essential improvements

Patches

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.

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

Linux client for Prey

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)

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

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

Configuration file(s) location

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

Save game data location

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

Save game cloud syncing

System Native Notes
OneDrive
Requires enabling backup of the Documents folder in OneDrive on all computers.
Steam Cloud

Video

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 feature State 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. (That should be applied before joining a multiplayer game)
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.
High dynamic range display (HDR)
See the glossary page for potential alternatives.

Widescreen resolution

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

Screen tearing on Nvidia G-Sync monitors[citation needed]

Prey may automatically set Nvidia G-Sync monitors to 60Hz with G-Sync 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.

  1. Go to configuration file(s) location.
  2. Open the preyconfig.cfg file.
  3. Change seta r_displayRefresh to the highest refresh rate your monitor supports.

Input

In-game general control settings.
In-game general control settings.
In-game key map settings.
In-game key map settings.

Audio

In-game audio settings.
In-game audio settings.

Audio feature State 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. See below for the Steam version.
Polish
Only selectable in the retail version.

Italian

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".

Spanish

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

VR support

3D modes State Notes
vorpX
G3D, DirectVR
Officially supported game, see official vorpx game list.
Devices
3RD Space Gaming Vest
Novint Falcon

Network

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

Cannot use Alt+Tab or Command+Tab

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 .

Stuttering on AMD Graphics

Windows: Remove stuttering on AMD Graphics
  1. Rename prey.exe to CoDSP.exe.
Will have to launch the game from the CoDSP.exe or add a non-steam game if using the Steam version.

Sound doesn't properly work on Linux

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

No Surround Sound on Windows 10

Install and use Creative ALchemy
  1. Install Creative ALchemy.
  2. Open Creative ALchemy.
  3. Press "Add"
  4. Select "Game Folder" and point to the Prey executable.
  5. Press "Ok"
  6. Press the right directional button to add the game to the ALchemy-enabled game list
  7. Run the game
  8. Go to the Audio settings in the Options menu
  9. Set Sound System to OpenAL
  10. Set Sound Device to your audio device
  11. Turn EAX Advanced HD to On
  12. Close the game
  13. Edit preyconfig.cfg with a text editor.
  14. Change seta s_numberOfSpeakers to the correct number of speakers in your system excluding the number of subwoofers. 5.1 will be 5, 7.1 will be 7, etc.
  15. Save file
Starting the game may reset the config file and reset the number of speakers. Set it to read only to prevent this.

Stuttering in-game

The game can stutter a few times per second with V-Sync enabled, or showcase significant tearing if V-Sync is disabled.
Change game tick behavior[7]
  1. Ensure the game is configured properly in-game as desired before continuing.
  2. Navigate to <path-to-game>\base
  3. Open preyconfig.cfg in a text editor and add the following lines, then save and close the file:
seta com_PreciseTic "0"
seta com_FixedTic "1"

Notes

This also removes the in-game FPS cap (60-62 FPS) but may cause the game physics to go out of sync.[8]
Note that changing any settings in-game resets the file, requiring the lines to be added anew.
Starting the game may reset the file. Set it to read only to prevent this.

Other information

API

Technical specs Supported Notes
OpenGL 2.0
ExecutablePPC 32-bit 64-bit Notes
Windows
macOS (OS X)
This 32-bit-only macOS game does not work on macOS Catalina (10.15) or later.
Linux

Middleware

Middleware Notes
Audio OpenAL
Anti-cheat PunkBuster

System requirements

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 elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (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

  1. Retail / Digital CD Keys - CD-Key - Knowledge Base - Steam Support
  2. 2.0 2.1 2.2 Mac App Store - Prey
  3. https://github.com/MrAlert/sdlcl
  4. 4.0 4.1 Sound Blaster X-Fi Audio in Prey™ - SoundBlaster.com (retrieved)
  5. Gamesvillage.it Forum Discussion
  6. [1]
  7. Steam Community - Microstutter - last accessed on 2019-11-02
  8. TweakGuides.com - Prey Tweak Guide - last accessed on 2019-11-02
    "com_fixedTic [0,1] - If set to 0 (the default) Prey's ticrate is capped at 60, meaning the game framerate cannot exceed 60FPS. If you want to remove this cap, set com_fixedTic to 1, but this causes the game physics to go out of sync. Note, com_fixedTic -1 is no longer supported in recent builds of the Doom 3 engine."