Skip to content

Commit 2cc69fc

Browse files
author
nitrocaster
committed
Update build instructions.
1 parent 52d50f3 commit 2cc69fc

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

doc/howto/build.txt

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ To build X-Ray Engine you'll need following libraries:
2525
* DirectX SDK June 2010: http://www.microsoft.com/en-us/download/details.aspx?id=6812
2626
- replace dxguid.lib with the one from Windows SDK
2727
(for DirectPlay GUIDs)
28+
XXX nitrocaster: add LuaJIT & LuaBind instructions
2829

2930
You can download all these libraries (except Windows/DirectX SDK) with compiled binaries here:
3031
https://dl.dropboxusercontent.com/u/63973281/dev/xray/xray-16-libraries.zip
@@ -36,30 +37,33 @@ Setup:
3637
http://cop.stalker-game.ru/?page=patches#2
3738
- Download and unpack archive with libraries
3839
- Create _bin_dbg, _bin_mix and _bin_rel folders in the game installation directory
39-
- Copy following files from bin to _bin_dbg, _bin_mix and _bin_rel:
40+
(Debug, Mixed and Release binaries)
41+
- Inside each of these folders create Win32 folder (hereinafter '_bin_xxx\Win32' is referred to as 'xbin')
42+
- Copy following files from bin to xbin:
4043
- dbghelp.dll
4144
- eax.dll
4245
- wrap_oal.dll
43-
- Copy following files from bin to _bin_dbg\dedicated, _bin_mix\dedicated and _bin_rel\dedicated:
46+
- Copy following files from bin to xbin\dedicated:
4447
- eax.dll
4548
- wrap_oal.dll
46-
- For _bin_rel and _bin_mix:
47-
- Copy BugTrap.dll from src\Externals\BugTrap\Bin
48-
- For _bin_dbg:
49-
- Copy BugTrapD.dll from src\Externals\BugTrap\Bin and rename it to BugTrap.dll
50-
- Copy following files from src\Externals\OpenSSL\bin to _bin_dbg, _bin_mix and _bin_rel:
49+
- Copy following files from src\Externals\BugTrap\Bin to xbin:
50+
- Debug configuration:
51+
- BugTrapD.dll (rename to BugTrap.dll)
52+
- Other configurations:
53+
- BugTrap.dll
54+
- Copy following files from src\Externals\OpenSSL\bin to xbin:
5155
- libeay32.dll
5256
- ssleay32.dll
5357
- Create soft link to /gamedata in the game installation directory:
5458
$ mklink /D <game installation directory>\gamedata <xray-16 repository root>\res\gamedata
5559
- After successful build use xrbinup.cmd to update game binaries:
56-
$ xrbinup.cmd "E:\Program Files (x86)\GSC World Publishing\STALKER-COP" %src% dbg
60+
$ xrbinup.cmd "E:\Program Files (x86)\GSC World Publishing\STALKER-COP" %src% Win32 Debug
5761
- You can create cmd script to update binaries in a single click, for example:
5862
@echo off
5963
setlocal
6064
set src="E:\git\xray-16"
6165
set dst="E:\Program Files (x86)\GSC World Publishing\STALKER-COP"
62-
call xrbinup.cmd %dst% %src% dbg
66+
call xrbinup.cmd %dst% %src% Win32 Debug
6367
endlocal
6468

6569
XXX nitrocaster: add script for copying/renaming/soft linking

0 commit comments

Comments
 (0)