Skip to content

Commit baffa0e

Browse files
author
nitrocaster
committed
Update build instructions.
1 parent 0772250 commit baffa0e

File tree

1 file changed

+5
-30
lines changed

1 file changed

+5
-30
lines changed

doc/howto/build.txt

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -38,33 +38,8 @@ Setup:
3838
- Install patch 1.6.02 (only for russian locale, worldwide release should have it included):
3939
http://cop.stalker-game.ru/?page=patches#2
4040
- Download and unpack archive with libraries
41-
- Create _bin_dbg_Win32, _bin_mix_Win32 and _bin_rel_Win32 folders in the game installation directory
42-
(Debug, Mixed and Release binaries for 32-bit Windows). Hereinafter '_bin_xxx_Win32' is referred to as 'xbin'.
43-
- Copy following files from bin to xbin:
44-
- dbghelp.dll
45-
- eax.dll
46-
- wrap_oal.dll
47-
- Copy following files from bin to xbin\dedicated:
48-
- eax.dll
49-
- wrap_oal.dll
50-
- Copy following files from src\Externals\BugTrap\Bin to xbin:
51-
- Debug configuration:
52-
- BugTrapD.dll (rename to BugTrap.dll)
53-
- Other configurations:
54-
- BugTrap.dll
55-
- Copy following files from src\Externals\OpenSSL\bin to xbin:
56-
- libeay32.dll
57-
- ssleay32.dll
58-
- Create soft link to /gamedata in the game installation directory:
59-
$ mklink /D <game installation directory>\gamedata <xray-16 repository root>\res\gamedata
60-
- After successful build use xrbinup.cmd to update game binaries:
61-
$ xrbinup.cmd "E:\Program Files (x86)\GSC World Publishing\STALKER-COP" %src% Win32 Debug
62-
- You can create cmd script to update binaries in a single click, for example:
63-
@echo off
64-
setlocal
65-
set src="E:\git\xray-16"
66-
set dst="E:\Program Files (x86)\GSC World Publishing\STALKER-COP"
67-
call xrbinup.cmd %dst% %src% Win32 Debug
68-
endlocal
69-
70-
XXX nitrocaster: add script for copying/renaming/soft linking
41+
- Run xrbinprep.cmd to initialize new game binary directories and link default gamedata to OpenXRay's:
42+
$ xrbinprep.cmd "C:\Program Files (x86)\GSC World Publishing\S.T.A.L.K.E.R. - Call of Pripyat"
43+
Note that this script requires admin rights (in order to execute 'mklink'). Also make sure you pass a
44+
game installation directory to this script)
45+
- Now you can build the engine!

0 commit comments

Comments
 (0)