@@ -6,8 +6,7 @@ Currently, the only compiler supported is Visual C++ 2017. If you don't have Vis
66download and install Visual Studio 2017 Community Edition - it's absolutely free for open source projects.
77
88By default, all libraries mentioned below (except Windows SDK) are assumed to be in
9- the src\Externals directory. You can download all these libraries (except Windows SDK) with compiled binaries here:
10- https://drive.google.com/file/d/0B2mH6ffKfXjCMjRfRTZsVlBtUVE
9+ the src\Externals directory.
1110
1211Windows SDK is available from Visual Studio 2017 installer. You will definitely need to install the following items:
1312* Windows 8.1 SDK (or newer)
@@ -20,38 +19,40 @@ https://marketplace.visualstudio.com/items?itemName=hbuexinxin.ForceUTF8NoBOM
2019Libraries:
2120------
2221To build X-Ray Engine you'll need following libraries:
23- * OpenSSL: https://www.openssl.org/source
24- - Prebuilt binaries can be downloaded here: https://slproweb.com/products/Win32OpenSSL.html
25- * OpenAutomate: https://developer.nvidia.com/openautomate
26- * NVAPI: https://developer.nvidia.com/nvapi
27- * libjpeg: http://sourceforge.net/projects/libjpeg
28- - Use "jpeg" as project root directory name for compatibility with CxImage
29- * zlib: http://zlib.net
30- * BugTrap: https://github.com/nitrocaster/BugTrap
22+ * Windows SDK
23+ * BugTrap: https://github.com/Xottab-DUTY/BugTrap
24+ * CryptoPP: https://github.com/weidai11/cryptopp
3125* FreeImage: http://freeimage.sourceforge.net
32- * FreeMagic
26+ * FreeMagic: https://github.com/OpenXRay/FreeMagic
27+ * GameSpy: https://github.com/nitrocaster/GameSpy
28+ * libjpeg: https://github.com/OpenXRay/libjpeg
29+ - Use "jpeg" as project root directory name for compatibility with CxImage
3330* libogg-1.1.4: http://xiph.org/downloads
3431* libtheora-1.1.1: http://xiph.org/downloads
3532* libvorbis-1.2.3: http://xiph.org/downloads
36- * Autodesk Maya 2008/2009 SDK
37- * Autodesk 3DS Max 6.0 SDK
38- * Windows SDK
39- * DirectX SDK June 2010 (DOES NOT NEED ANYMORE ?): http://www.microsoft.com/en-us/download/details.aspx?id=6812
40- - replace dxguid.lib with the one from Windows SDK
41- (for DirectPlay GUIDs)
42- XXX nitrocaster: add LuaJIT & LuaBind instructions
33+ * Lightwave: https://github.com/OpenXRay/LightWave
34+ * Luabind: https://github.com/Xottab-DUTY/luabind-deboostified
35+ * LuaJIT: https://github.com/Xottab-DUTY/LuaJIT
36+ * lzo: https://github.com/alexgdi/lzo
37+ * Autodesk Maya 2008/2009 SDK: https://github.com/OpenXRay/maya
38+ * Autodesk 3DS Max 6.0 SDK: https://github.com/OpenXRay/3dsmax
39+ * NVAPI: https://developer.nvidia.com/nvapi
40+ * OpenAutomate: https://developer.nvidia.com/openautomate
41+ * pugixml: https://github.com/zeux/pugixml/
42+ * zlib: http://zlib.net
43+ All mentioned libraries are already in repository as submodules!
4344
4445Setup:
4546------
4647- Install S.T.A.L.K.E.R Call of Pripyat
4748- Install patch 1.6.02 (only for russian locale, worldwide release should have it included):
4849 http://cop.stalker-game.ru/?page=patches#2
49- - Download and unpack archive with libraries
50- - Run xrbinprep.cmd to initialize new game binary directories and link default gamedata to OpenXRay's:
51- $ xrbinprep.cmd "C:\Program Files (x86)\GSC World Publishing\S.T.A.L.K.E.R. - Call of Pripyat"
52- Note that this script requires admin rights (in order to execute 'mklink'). Also make sure you pass a
53- game installation directory to this script. Once done, you can find .xrbinup_xxx scripts in the reporitory root:
54- use them later to install newly built binaries to the corresponding game binary directory.
50+ - Clone the repository (you should not download it as an archive)
51+ You can just push `Open in Desktop` if you are using Github Desktop.
52+ If you are using Git console, here's the command:
53+ `git clone https://github.com/OpenXRay/xray-16.git --recurse-submodules`
54+ - If you are using git client, make sure all submodules are initialized.
55+ Type this command in the Git console `git submodule update --init --recursive`
5556- Now you can build the engine!
5657
5758Debug/Run from Visual Studio:
0 commit comments