BSD Ports

games/xray-16 2921.j.2025.r1.20261001_1 FreeBSD

Improved version of the X-Ray Engine (used for run S.T.A.L.K.E.R.)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
38a6cf184c
License
MIT
Categories
games
Package size
9193.4 KiB, 50773.7 KiB installed

Description

Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World.

This is a fan-made project not affiliated with GSC Game World in any way. However, they know about many community projects, including this, and support S.T.A.L.K.E.R. community efforts to make the game better.

In the other systems

SystemPortVersion
FreeBSDgames/xray-162921.j.2025.r1.20261001_1
GhostBSDgames/xray-162921.j.2025.r1.20260601

Install

Binary package:

pkg install xray-16

From the ports tree:

cd /usr/ports/games/xray-16/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	xray-16>0:games/xray-16

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2921.j.2025.r1.202610012921.j.2025.r1.20261001_1--2921.j.2025.r1.20261001_1
FreeBSD:14:quarterly2921.j.2025.r1.202606012921.j.2025.r1.20261001_1n/a-2921.j.2025.r1.20261001_1
FreeBSD:15:latest2921.j.2025.r1.202610012921.j.2025.r1.20261001_1n/a-2921.j.2025.r1.20250821
FreeBSD:15:quarterly2921.j.2025.r1.20261001_12921.j.2025.r1.20260601n/an/an/a
FreeBSD:16:latest-2921.j.2025.r1.20261001_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 7

The full lists below include those, and their dependencies in turn.

Build dependencies 78
Run dependencies 68

No port depends on this one.

Configuration

No options to configure.

USES
cmake jpeg localbase:ldflags openal sdl
Service scripts
none

Files

pkg-plist 768
  • bin/xr_3da
  • lib/xrAICore.so
  • lib/xrAPI.so
  • lib/xrCDB.so
  • lib/xrCore.so
  • lib/xrEngine.so
  • lib/xrGame.so
  • lib/xrGameSpy.so
  • lib/xrLuaJIT.so
  • lib/xrLuabind.so
  • lib/xrMaterialSystem.so
  • lib/xrNetServer.so
  • lib/xrODE.so
  • lib/xrOPCODE.so
  • lib/xrParticles.so
  • lib/xrPhysics.so
  • lib/xrRender_GL.so
  • lib/xrScriptEngine.so
  • lib/xrSound.so
  • lib/xrUICore.so
  • share/applications/openxray_cop.desktop
  • share/applications/openxray_cs.desktop
  • share/applications/openxray_soc.desktop
  • share/bash-completion/completions/xr_3da
  • share/icons/hicolor/16x16/apps/openxray_cop.png
  • share/icons/hicolor/16x16/apps/openxray_cs.png
  • share/icons/hicolor/16x16/apps/openxray_soc.png
  • share/icons/hicolor/32x32/apps/openxray_cop.png
  • share/icons/hicolor/32x32/apps/openxray_cs.png
  • share/icons/hicolor/32x32/apps/openxray_soc.png
  • share/icons/hicolor/48x48/apps/openxray_cop.png
  • share/icons/hicolor/48x48/apps/openxray_cs.png
  • share/icons/hicolor/48x48/apps/openxray_soc.png
  • share/icons/hicolor/64x64/apps/openxray_cop.png
  • share/icons/hicolor/64x64/apps/openxray_cs.png
  • share/icons/hicolor/64x64/apps/openxray_soc.png
  • share/openxray/fsgame.ltx
  • share/openxray/gamedata/configs/.gitattributes
  • share/openxray/gamedata/configs/openxray.ltx
  • share/openxray/gamedata/configs/scripts/jupiter/jup_a12_bandit_cashier.ltx
  • share/openxray/gamedata/configs/scripts/zaton/zat_b14_stalker_1.ltx
  • share/openxray/gamedata/configs/text/cze/openxray.xml
  • share/openxray/gamedata/configs/text/eng/openxray.xml
  • share/openxray/gamedata/configs/text/ger/openxray.xml
  • share/openxray/gamedata/configs/text/pol/openxray.xml
  • share/openxray/gamedata/configs/text/rus/openxray.xml
  • share/openxray/gamedata/configs/text/ukr/openxray.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/actor_menu.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/actor_menu_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/actor_menu_item.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/actor_menu_item_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/actor_statistic.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/af_params.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/af_params_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/buy_menu_item.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/buy_menu_item_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/chat_mp.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/color_defs.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/game_tutorial_pda.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/game_tutorial_pda_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/game_tutorials.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/grenade.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/heli_progress.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/hint_item.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/ingame_msglog_mp.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/ingame_msglog_sp.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/inventory_new.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/inventory_new_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/inventory_upgrade.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/inventory_upgrade_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/inventory_upgrade_info.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/inventory_upgrade_info_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/maingame.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/maingame_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/maingame_pda_msg.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/maingame_pda_msg_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/map_desc.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/map_desc_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/map_spots.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/map_spots_complex.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/map_spots_find_upgrade.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/map_spots_mp.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/map_spots_relations.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/message_box.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/message_box_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/messages_window.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/motion_icon.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/motion_icon_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/mp_buy_menu.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/mp_buy_menu_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/mp_buy_menu_buttons.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/mp_buy_menu_buttons_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/pda.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/pda_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/pda_character.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/pda_dialog_character.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/pda_dialog_character_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/pda_fraction_war.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/pda_fraction_war_16.xml
  • share/openxray/gamedata/configs/ui/styles_/ui_style_cs/pda_logs.xml

The first 100 are listed.

distinfo 11
FileSizeSHA256
OpenXRay-xray-16-2921-january-2025-rc1.20261001-d4979c2_GH0.tar.gz2.8078221e+07f4170adefed45ecbcd577cef93ab6feaa1c11f274281897062806a54c34d2527
GPUOpen-LibrariesAndSDKs-AGS_SDK-5d8812d_GH0.tar.gz2.2151301e+07b4710d440ebb078b8fcac1b59dbcae97340d5cce4b5ddc424dcec040f392760e
OpenXRay-GameSpy-eb1e41c_GH0.tar.gz4.078431e+06925283fb5de5ccc90f3acbebffb983e68b157bb829dc285089ee2c8bb41c2202
OpenXRay-LuaJIT-5a5cd82_GH0.tar.gz1.125324e+06a54098492c11bd8228e58e58f520fbc131af899354033803b79e27869baf7686
g-truc-gli-3542f88_GH0.tar.gz1.1412292e+07bb0a4e4680bca3924c3dccb933970505ec33d6e883d5810b4c8472bd792ea291
OpenXRay-luabind-deboostified-8da131b_GH0.tar.gz163181a089486c62d0f12ea6d62ab05c74a306a5b05740c7285f4c7a8f861ca43ff563
pattonkan-sse2rvv-f1ab916_GH0.tar.gz719563f5b1ab88cfaf4895c5db15f00e77910ddf31cc8d244d9eccfb0718c8c023d55
OpenXRay-xrLuaFix-0e89050_GH0.tar.gz49390743d30cb60721ee02976ce1170ecb0eebfab82d258c57ba273d93b7398b2d62
OpenXRay-luafilesystem-314c0d0fe8f4676ef35ac8abf3731be8535812fb_GH0.tar.gz289593e511cf20edceb6c3e9798dc9898f4d35f0c3685caff5c63f28bfc725df59e4b
OpenXRay-lua-marshal-983a3bfd646486292daa9f2ec9b72409f86dc931_GH0.tar.gz58731f0d88c0e13a1f7d1888afc482ef1928183dbb093a41c373be038f13e824cc16
OpenXRay-lua-pack-c1e5a149b571cc31069e7e3146e881c203bdd052_GH0.tar.gz472319f804401233549f337cd47cce0cab1348a9d4635d35eae03a4021e19749557e

Commit history 3

DateCommitCreditsLog message
38a6cf184c Martin Filla games/xray-16: Fix SIGILL in renderer caused by invalid sort comparator
The game dies with SIGILL (ud2, "Privileged opcode") while rendering. PR: 299369 Sponsored by: UNIS Labs (vvd, commit patch) MFH: 2026Q4
f8f8aa77d7 Martin Filla games/xray-16: Fix build against math.h declaring rsqrt() in recent 16
FreeBSD's <math.h> now declares double rsqrt(double), which clashes with the engine's own rsqrt() helper: src/xrCore/_vector3d.h:359:8: error: exception specification in declaration does not match previous declaration 359 | double rsqrt(double v) noexcept; /usr/include/math.h:556:9: note: previous declaration is here 556 | double rsqrt(double); Rename the engine helper to xr_rsqrt() in its declaration, its definition and its four call sites so it no longer collides with the libm symbol. PR: 299297 Sponsored by: UNIS Labs (vvd, commit patch)
acafdff124 Martin Filla games/xray-16: Update 2921-january-2025-rc1.20260601 => 2921-january-2025-rc1.20261001
Commit log: https://github.com/OpenXRay/xray-16/compare/11b8c4e...d4979c2 PR: 299010 Sponsored by: UNIS Labs (vvd, commit patch)