1- TITLE: X-Ray 1.6 build instructions
1+ TITLE: X-Ray 1.6 build and setup instructions
22
3+ Build:
4+ ------
35By default, all libraries mentioned below (except Windows/DirectX SDK) are assumed to be in the directory
46defined by XRAY_16X_LIBS environment variable. It can be set with following command (run as administrator):
57 $ setx XRAY_16X_LIBS E:\dev\ /M
@@ -25,3 +27,33 @@ To build X-Ray Engine you'll need following libraries:
2527
2628You can download all these libraries (except Windows/DirectX SDK) with compiled binaries here:
2729https://dl.dropboxusercontent.com/u/63973281/dev/xray/xray-16-libraries.7z
30+
31+ Setup:
32+ ------
33+ - Install S.T.A.L.K.E.R Call of Pripyat
34+ - Install patch 1.6.02 (only for russian locale, worldwide release should have it included):
35+ http://cop.stalker-game.ru/?page=patches#2
36+ - Download and unpack archive with libraries
37+ - Create _bin_dbg, _bin_mix and _bin_rel folders in the game installation directory
38+ - Copy following files from bin to _bin_dbg, _bin_mix and _bin_rel:
39+ - dbghelp.dll
40+ - eax.dll
41+ - wrap_oal.dll
42+ - Copy following files from bin to _bin_dbg\dedicated, _bin_mix\dedicated and _bin_rel\dedicated:
43+ - eax.dll
44+ - wrap_oal.dll
45+ - For _bin_rel and _bin_mix:
46+ - Copy BugTrap.dll from %XRAY_16X_LIBS%BugTrap\Bin
47+ - For _bin_dbg:
48+ - Copy BugTrapD.dll from %XRAY_16X_LIBS%BugTrap\Bin and rename it to BugTrap.dll
49+ - Create soft link to /gamedata in the game installation directory:
50+ $ mklink /D <game installation directory>\gamedata <xray-16 repository root>\res\gamedata
51+ - After successful build use xrbinup.cmd to update game binaries:
52+ $ xrbinup.cmd "E:\Program Files (x86)\GSC World Publishing\STALKER-COP" %src% dbg
53+ - You can create cmd script to update binaries in a single click, for example:
54+ @echo off
55+ setlocal
56+ set src="E:\git\xray-16"
57+ set dst="E:\Program Files (x86)\GSC World Publishing\STALKER-COP"
58+ call xrbinup.cmd %dst% %src% dbg
59+ endlocal
0 commit comments