XRay engine 1.7
master - stable code
- CMake 3.8 or later
- Visual C++ 15.5 (2017) and higher
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.
Enable utils projects build
Switch the following useful options for development using RelWithDebInfo build configuration
- Enable incremental linking
- Disable LTCG
- Disable unreferenced function elimination by linker
Enable tests projects build
Enable some debug console commands and cheats
Switch screenshots format from .*jpg to *.png.
If you have issues with openal when the game is starting, install extras\oalinst.exe.