xray-1.7
XRay engine 1.7
Attention!!! The project is no longer maintained. Development is suspended.
Branches
master - stable code
Build instructions
Prerequisites
Supported compilers
- Visual C++ 15.5 (2017) and higher
Visual Studio solution generation
Open command line at the root of repository and execute the following commands:
- mkdir build
- cd build
- x86: cmake .. -DGAME_PATH=%GAME_PATH% -G "Visual Studio 15 2017" -T "host=x64"
- x64: cmake .. -DGAME_PATH=%GAME_PATH% -G "Visual Studio 15 2017 Win64" -T "host=x64"
Open generated solution and build the engine.
%GAME_PATH% - path to your stalker game root folder.
Additional CMake command line options
BUILD_UTILS (boolean)
Enable utils projects build
REL_DEVELOP (boolean)
Switch the following useful options for development using RelWithDebInfo build configuration
- Enable incremental linking
- Disable LTCG
- Disable unreferenced function elimination by linker
BUILD_TESTS (boolean)
Enable tests projects build
DEBUG_CAPS (boolean)
Enable some debug console commands and cheats
PNG_SCREENSHOTS (boolean)
Switch screenshots format from .jpg to .png.
If you have issues with openal when the game is starting, install extras\oalinst.exe.