diff --git a/doc/howto/build.txt b/doc/howto/build.txt index 8eaa116b5d2..fa45227997f 100644 --- a/doc/howto/build.txt +++ b/doc/howto/build.txt @@ -25,6 +25,7 @@ To build X-Ray Engine you'll need following libraries: * DirectX SDK June 2010: http://www.microsoft.com/en-us/download/details.aspx?id=6812 - replace dxguid.lib with the one from Windows SDK (for DirectPlay GUIDs) +XXX nitrocaster: add LuaJIT & LuaBind instructions You can download all these libraries (except Windows/DirectX SDK) with compiled binaries here: https://dl.dropboxusercontent.com/u/63973281/dev/xray/xray-16-libraries.zip @@ -36,30 +37,33 @@ Setup: http://cop.stalker-game.ru/?page=patches#2 - Download and unpack archive with libraries - Create _bin_dbg, _bin_mix and _bin_rel folders in the game installation directory -- Copy following files from bin to _bin_dbg, _bin_mix and _bin_rel: + (Debug, Mixed and Release binaries) +- Inside each of these folders create Win32 folder (hereinafter '_bin_xxx\Win32' is referred to as 'xbin') +- Copy following files from bin to xbin: - dbghelp.dll - eax.dll - wrap_oal.dll -- Copy following files from bin to _bin_dbg\dedicated, _bin_mix\dedicated and _bin_rel\dedicated: +- Copy following files from bin to xbin\dedicated: - eax.dll - wrap_oal.dll -- For _bin_rel and _bin_mix: - - Copy BugTrap.dll from src\Externals\BugTrap\Bin -- For _bin_dbg: - - Copy BugTrapD.dll from src\Externals\BugTrap\Bin and rename it to BugTrap.dll -- Copy following files from src\Externals\OpenSSL\bin to _bin_dbg, _bin_mix and _bin_rel: +- Copy following files from src\Externals\BugTrap\Bin to xbin: + - Debug configuration: + - BugTrapD.dll (rename to BugTrap.dll) + - Other configurations: + - BugTrap.dll +- Copy following files from src\Externals\OpenSSL\bin to xbin: - libeay32.dll - ssleay32.dll - Create soft link to /gamedata in the game installation directory: $ mklink /D \gamedata \res\gamedata - After successful build use xrbinup.cmd to update game binaries: - $ xrbinup.cmd "E:\Program Files (x86)\GSC World Publishing\STALKER-COP" %src% dbg + $ xrbinup.cmd "E:\Program Files (x86)\GSC World Publishing\STALKER-COP" %src% Win32 Debug - You can create cmd script to update binaries in a single click, for example: @echo off setlocal set src="E:\git\xray-16" set dst="E:\Program Files (x86)\GSC World Publishing\STALKER-COP" - call xrbinup.cmd %dst% %src% dbg + call xrbinup.cmd %dst% %src% Win32 Debug endlocal XXX nitrocaster: add script for copying/renaming/soft linking