S.T.A.L.K.E.R.: Call of Pripyat

S.T.A.L.K.E.R.: Call of Pripyat

Xottab_DUTY Sep 5, 2018 @ 11:50am
Official OpenXRay thread
Open source project that aims to improve our beloved game, fix old bugs, boost performance and improve code quality.
We are open for any change, no matter if it changes gameplay or graphics or etc. Just before changing something this should be discussed, we should know all the pros and cons.

██████╗ ██████╗ ███████╗███╗ ██╗██╗ ██╗██████╗ █████╗ ██╗ ██╗ ██╔═══██╗██╔══██╗██╔════╝████╗ ██║╚██╗██╔╝██╔══██╗██╔══██╗╚██╗ ██╔╝ ██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ╚███╔╝ ██████╔╝███████║ ╚████╔╝ ██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ██╔██╗ ██╔══██╗██╔══██║ ╚██╔╝ ╚██████╔╝██║ ███████╗██║ ╚████║██╔╝ ██╗██║ ██║██║ ██║ ██║ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝

The main advantages and not only:
  1. Six fully working configurations (Debug, Mixed, Release / x86-x64)
  2. Fully configured unified build system. Everything is in one solution and is compiled by clicking on the Build button
  3. Build all six configurations through AppVeyor, which allows you to approximately measure the build time and publish releases conveniently
  4. Numerous code fixes and improvements (bug fixes, optimizations, refactoring)
  5. Working BugTrap x64 that sends reports to OpenXRay mail (if you have mail client installed)
  6. Working compilers: xrAI, xrLC, xrDO_Light
  7. The latest version of LuaJIT and luabind, modified to work with the engine.

We invite all stalkers to participate in the development - both in improving the project itself and using it as a base for your mods.

Extremely grateful for the feedback and messages on any problems that have happened to you.

Links
Github repository[github.com] (Don't forget to put a star!)
Discord-server[discord.gg] (both on Russian and English language)
YouTube channel (Don't forget to subscribe!)
Reddit thread
VK public page[vk.com] (Russian)


How to download, install and play:
You can access installation instruction and download links here[github.com].


Thanks
  1. Call of Chernobyl
  2. Lost Alpha
  3. X-Ray Oxygen
  4. Shoker
  5. Gunslinger mod
  6. avoitishin
  7. Morrey
  8. Abramcumner
  9. KRodinn
  10. Swartz27
  11. avbaula
  12. electrobas94
  13. jazzvaz
  14. SkyLoader
And everyone else who isn't mentioned here.

If we used your work, but you are not here - write to us, we will add you. =)
Last edited by Xottab_DUTY; Oct 21, 2019 @ 12:47pm
< >
Showing 16-30 of 57 comments
HUNGK Jun 7, 2020 @ 11:39am 
Originally posted by Xottab_DUTY:
Does it show any error window?

Also, since Stalker-COP.exe is only for COP, you should launch CS directly through Steam.
Just double clicking on xrEngine.exe won't work.
Originally posted by Xottab_DUTY:
Does it show any error window?

Also, since Stalker-COP.exe is only for COP, you should launch CS directly through Steam.
Just double clicking on xrEngine.exe won't work.
The good news, launching through steam worked, the bad news I got bug reports now. I'm not sure I'm ready for it in this state, I'm getting errors about lowering settings because my gpu (I have a 2070 gtrtxxx thrustmaster.) It always ignores resolution I set it to after restart, but keeps the general setting. I'm illiterate as well, so I can't really tell what settings are what under advanced.
HUNGK Jun 7, 2020 @ 11:40am 
Originally posted by Xottab_DUTY:
Does it show any error window?

Also, since Stalker-COP.exe is only for COP, you should launch CS directly through Steam.
Just double clicking on xrEngine.exe won't work.
Originally posted by Xottab_DUTY:
Does it show any error window?

* CPU11 current freq: 3400 MHz, max freq: 3400 MHz

Initializing File System...
using fs-ltx fsgame.ltx
FS: 28227 files cached 33 archives, 7416Kb memory used.
Init FileSystem 0.655311 sec
-----loading C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\gamedata\configs\system.ltx
-----loading C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\gamedata\configs\system.ltx
Starting INPUT device...
Available game controllers[1]:
XInput Controller
Loading module: xrRender_GL
Loading module: xrRender_R1
Loading module: xrRender_R2
Loading module: xrRender_R3
Loading module: xrRender_R4
Loading module: d3d9
Loading module: d3d9
refCount:pD3D 1
refCount:m_pAdapter 1
refCount:m_pFactory 1
Available render modes[8]:
renderer_r1
renderer_r2a
renderer_r2
renderer_r2.5
renderer_r3
renderer_r4
renderer_gl
Executing config-script "user.ltx"...
[C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\_appdata_\user.ltx] successfully loaded.
Selected renderer: renderer_r1
Loading module: xrGame
! Unable to find InstallUserName entry in registry
! Player name registry key (InstallUserName) not found !
Initializing Engine...
Executing config-script "C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\gamedata\configs\default_controls.ltx"...
! Can't find a key name for kUNKNOWN
! Can't find a key name for kINTERNATIONAL1
! Can't find a key name for kINTERNATIONAL2
! Can't find a key name for kYEN
! Can't find a key name for kINTERNATIONAL4
! Can't find a key name for kINTERNATIONAL5
! Can't find a key name for kINTERNATIONAL6
! Can't find a key name for kINTERNATIONAL7
! Can't find a key name for kINTERNATIONAL8
! Can't find a key name for kINTERNATIONAL9
! Can't find a key name for kHANGUL
! Can't find a key name for kHANJA
! Can't find a key name for kKATAKANA
! Can't find a key name for kHIRAGANA
! Can't find a key name for kZENHANKAKU
! Can't find a key name for kLANG6
! Can't find a key name for kLANG7
! Can't find a key name for kLANG8
! Can't find a key name for kLANG9
! Can't find a key name for kAPP1
! Can't find a key name for kAPP2
! [ActionNameToPtr] cant find corresponding 'id' for 'alife_command'
[C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\gamedata\configs\default_controls.ltx] successfully loaded.
Executing config-script "user.ltx"...
Executing config-script "C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\gamedata\configs\rspec_minimum.ltx"...
~ Invalid syntax in call to 'r__supersample'
~ Valid arguments: integer value in range [1,8]
[C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\gamedata\configs\rspec_minimum.ltx] successfully loaded.
Executing config-script "C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\gamedata\configs\default_controls.ltx"...
! [ActionNameToPtr] cant find corresponding 'id' for 'alife_command'
[C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\gamedata\configs\default_controls.ltx] successfully loaded.
! Unknown command: r2_sun_far
~ Invalid syntax in call to 'sv_adm_menu_ban_time'
~ Valid arguments: ui_mp_am_10_minutes/ui_mp_am_30_minutes/ui_mp_am_1_hour/ui_mp_am_6_hours/ui_mp_am_1_day/ui_mp_am_1_week/ui_mp_am_1_month/ui_mp_am_3_monthes/ui_mp_am_forever
~ Invalid syntax in call to 'sv_suspicious_actions_ban_time'
~ Valid arguments: ui_mp_am_10_minutes/ui_mp_am_30_minutes/ui_mp_am_1_hour/ui_mp_am_6_hours/ui_mp_am_1_day/ui_mp_am_1_week/ui_mp_am_1_month/ui_mp_am_3_monthes/ui_mp_am_forever
[C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\_appdata_\user.ltx] successfully loaded.
SOUND: OpenAL: enumerate devices...
SOUND: OpenAL: EnumerationExtension Present
dir[0]=C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\bin\
dir[1]=C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\
dir[2]=C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\bin\
dir[3]=C:\WINDOWS\system32\
CleanDeviceSpecifierList
CleanDeviceSpecifierList Generic Software
devices Generic Software
SOUND: OpenAL: system default SndDevice name is Generic Software
SOUND: OpenAL: All available devices:
1. Generic Software, Spec Version 1.1 (default) eax[2] efx[yes] xram[no]
SOUND: Selected device is Generic Software
* sound: EAX 2.0 extension: absent
* sound: EAX 2.0 deferred: absent
* sound : cache: 32768 kb, 2428 lines, 13820 bpl
Starting RENDER device...
Loading module: d3d9
* GPU [vendor:10DE]-[device:1F07]: NVIDIA GeForce RTX 2070
* GPU driver: 26.21.14.4614
* CREATE: DeviceREF: 1
* Vertex Processor: PURE HARDWARE
* Texture memory: 4087 M
* DDI-level: 9.0
* GPU shading: vs(fffe0300/3.0/30), ps(ffff0300/3.0/30)
* GPU vertex cache: unrecognized, 16
* NVidia MGPU: Logical(1), Physical(1)
* AGS: Initialization failed (3)
* Starting rendering as 1-GPU.
* DVB created: 4096K
* DIB created: 512K
! Version conflict in shader 'def_shaders\def_vertex'
! Version conflict in shader 'default'
! Version conflict in shader 'effects\lightplanes'
! Version conflict in shader 'models\lightplanes'
! Version conflict in shader 'models\model'
! Version conflict in shader 'models\model_aref'
! Version conflict in shader 'models\model_fur'
! Version conflict in shader 'models\pautina'
! Version conflict in shader 'models\selflight'
! Version conflict in shader 'models\selflight_det'
! Version conflict in shader 'models\selflightl'
! Version conflict in shader 'models\transparent'
! Version conflict in shader 'models\xanomaly'
! Version conflict in shader 'models\xdistort'
! Version conflict in shader 'models\xdistortcolor'
! Version conflict in shader 'models\xdistortcolorl'
! Version conflict in shader 'models\xdistortinv'
! Version conflict in shader 'models\xmonolith'
! Version conflict in shader 'models\xwindows'
! Version conflict in shader 'selflight'
* distortion: used, dev(30),need(14)
* color_mapping: used, dev(30),need(14)
* SSample: 1024x768
* SSample: enabled
Starting engine...
! Unable to find InstallUserName entry in registry
! Player name registry key (InstallUserName) not found !
! Unable to find InstallCDKEY entry in registry
Loading module: AnselSDK32
! Nvidia Ansel:: failed to load AnselSDKxx.dll
! Task done after abnormal execution time [1924206784ms] in [GMLib.Load()]
! Can't find sound 'characters_voice\scenario\video\intro_gsc'
! Can't find sound 'characters_voice\scenario\video\ds_black'
! Invalid ogg-comment version, file: C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\gamedata\sounds\characters_voice\scenario\video\ati.ogg
intro_start intro_logo
intro_delete ::update_logo_intro
* [ Windows ]: free[3641052 K], reserved[195864 K], committed[357324 K]
* [ Render ]: textures[16 K]
* [ x-ray ]: process heap[190952 K]
* [ x-ray ]: economy: strings[9677 K], smem[0 K]
* 0.0 : [ 54] $null
* 0.0 : [
* 1024.1 : [ 1] ui\ui_mainmenu2
* phase time: 0 ms
* phase cmem: 205864 K
Loading sounds...
! Invalid ogg-comment version, file: C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\gamedata\sounds\characters_voice\scenario\video\ati.ogg
Loading objects...
Loading models...
Loading textures...
* [prefetch] time: 83 ms
* [prefetch] memory: 32272 Kb
! Unable to find InstallUserName entry in registry
! Player name registry key (InstallUserName) not found !
* phase time: 87 ms
* phase cmem: 235172 K
! [LUA][ERROR] ERROR: There are no sound collection with path: characters_voice\scenario\agroprom\agr_base_commander_reward_pda
stack traceback:
...apps/common/STALKER Clear Sky\gamedata\scripts\_g.script:974: in function 'abort'
...on/STALKER Clear Sky\gamedata\scripts\sound_theme.script:364: in function <...on/STALKER Clear Sky\gamedata\scripts\sound_theme.script:326>
[C]: in function 'actor_sound'
...on/STALKER Clear Sky\gamedata\scripts\sound_theme.script:774: in function 'load_sound'
...apps/common/STALKER Clear Sky\gamedata\scripts\_g.script:1148: in function <...apps/common/STALKER Clear Sky\gamedata\scripts\_g.script:1077>

FATAL ERROR

[error] Expression : 0
[error] Function : ErrorLog
[error] File : C:\projects\xray-16\src\xrScriptEngine\ScriptEngineScript.cpp
[error] Line : 40
[error] Description : ERROR: There are no sound collection with path: characters_voice\scenario\agroprom\agr_base_commander_reward_pda

now that I'm looking at that I really don't know...
HUNGK Jun 7, 2020 @ 11:41am 
cut out portions of that

FATAL ERROR

[error] Expression : 0
[error] Function : ErrorLog
[error] File : C:\projects\xray-16\src\xrScriptEngine\ScriptEngineScript.cpp
[error] Line : 40
[error] Description : ERROR: There are no sound collection with path: characters_voice\scenario\agroprom\agr_base_commander_reward_pda

This error happens at the minimum settings, where I actually make it somewhere in the loading screen.
Xottab_DUTY Jun 7, 2020 @ 12:10pm 
Ah, thank you for reminding me about this bug!
The thing is that the engine tries to launch with Russian localization by-default and just crashes if it's missing. The fix will be included in the next release.

For now, you can switch to English using `g_language` console command. Tell me if it helps or it's still crashing.
HUNGK Jun 7, 2020 @ 12:25pm 
Originally posted by Xottab_DUTY:
Ah, thank you for reminding me about this bug!
The thing is that the engine tries to launch with Russian localization by-default and just crashes if it's missing. The fix will be included in the next release.

For now, you can switch to English using `g_language` console command. Tell me if it helps or it's still crashing.
Yeah that helps a lot, I'm still getting crashes on every render... it is remembering settings after restarts, but I might be getting an error even closing it. I have the rest of graphics set to minimum. If you want I can pack up several crash logs in an email or something. Just cause they don't fit here.
Last edited by HUNGK; Jun 7, 2020 @ 12:26pm
Xottab_DUTY Jun 7, 2020 @ 12:36pm 
Hmm, it would be probably easier if you just wait for the next release :D
(although, it's planned to be released within the month or two months)

But you can send them to openxray [at] yahoo [dot] com.
HUNGK Jun 7, 2020 @ 12:45pm 
Originally posted by Xottab_DUTY:
Hmm, it would be probably easier if you just wait for the next release :D
(although, it's planned to be released within the month or two months)

But you can send them to openxray [at] yahoo [dot] com.

Yeah, I'm no l33t programmer man. Kinda need it to plug and play for me to do much of anything. I'll probably try a few more settings today and call it quits, then later I'll maybe run through all the renders saving the logs, if nothing works... I'll go 64, start over
Xottab_DUTY Sep 4, 2020 @ 5:17am 
Yea, ye need at least Nidvia GiHorse 8030 XTR graphics card to play this enigne. (Heh, joking. I'm in a good mood :D)

Can you give me a log?
ThatZenoGuy Sep 10, 2020 @ 2:17am 
Originally posted by Xottab_DUTY:
Yea, ye need at least Nidvia GiHorse 8030 XTR graphics card to play this enigne. (Heh, joking. I'm in a good mood :D)

Can you give me a log?

Can you get Misery 2.2 to work with OpenXray?
Xottab_DUTY Sep 10, 2020 @ 4:15am 
Originally posted by ThatZenoGuy:
Originally posted by Xottab_DUTY:
Yea, ye need at least Nidvia GiHorse 8030 XTR graphics card to play this enigne. (Heh, joking. I'm in a good mood :D)

Can you give me a log?

Can you get Misery 2.2 to work with OpenXray?
Misery is unsupported. No way.
There is a critical error in script which is impossible to skip. I wrote about this on Misery forum a while ago.. Maybe they will release a patch someday...

Also, we may release a compatibility patch, but it needs testing...
Last edited by Xottab_DUTY; Sep 10, 2020 @ 4:16am
ThatZenoGuy Sep 10, 2020 @ 5:36am 
Originally posted by Xottab_DUTY:
Originally posted by ThatZenoGuy:

Can you get Misery 2.2 to work with OpenXray?
Misery is unsupported. No way.
There is a critical error in script which is impossible to skip. I wrote about this on Misery forum a while ago.. Maybe they will release a patch someday...

Also, we may release a compatibility patch, but it needs testing...

Be cool if you can get it to work. ;D

I think I saw the script you are tlaking about, they are ♥♥♥♥♥♥♥ and coded a lua script with a missing underscore, and a redundant 'end'?
Xottab_DUTY Sep 10, 2020 @ 9:20am 
Originally posted by ThatZenoGuy:
Originally posted by Xottab_DUTY:
Misery is unsupported. No way.
There is a critical error in script which is impossible to skip. I wrote about this on Misery forum a while ago.. Maybe they will release a patch someday...

Also, we may release a compatibility patch, but it needs testing...

Be cool if you can get it to work. ;D

I think I saw the script you are tlaking about, they are ♥♥♥♥♥♥♥ and coded a lua script with a missing underscore, and a redundant 'end'?
Exactly that script!
Well, I barely can remember about something wrong with 'end', but I definitely remember about the missing underscore.
Vanilla's LuaJIT 1.1.4 somehow accepts this code, but it is incorrect and, expectedly, updated LuaJIT 2.0 doesn't accept it...
ThatZenoGuy Sep 10, 2020 @ 9:38am 
Originally posted by Xottab_DUTY:
Originally posted by ThatZenoGuy:

Be cool if you can get it to work. ;D

I think I saw the script you are tlaking about, they are ♥♥♥♥♥♥♥ and coded a lua script with a missing underscore, and a redundant 'end'?
Exactly that script!
Well, I barely can remember about something wrong with 'end', but I definitely remember about the missing underscore.
Vanilla's LuaJIT 1.1.4 somehow accepts this code, but it is incorrect and, expectedly, updated LuaJIT 2.0 doesn't accept it...

If I edit the script, would it then work? Or no-go?
Xottab_DUTY Sep 10, 2020 @ 9:51am 
Originally posted by ThatZenoGuy:
Originally posted by Xottab_DUTY:
Exactly that script!
Well, I barely can remember about something wrong with 'end', but I definitely remember about the missing underscore.
Vanilla's LuaJIT 1.1.4 somehow accepts this code, but it is incorrect and, expectedly, updated LuaJIT 2.0 doesn't accept it...

If I edit the script, would it then work? Or no-go?
Probably, it needs some other fixes in other scripts, but you can try!
Xottab_DUTY Sep 18, 2020 @ 3:22am 
Originally posted by antimech:
Originally posted by Xottab_DUTY:
Yea, ye need at least Nidvia GiHorse 8030 XTR graphics card to play this enigne. (Heh, joking. I'm in a good mood :D)

Can you give me a log?
I just started from a scratch but this time it won't even launch (crashes almost instantly without any error window). Where can I find the log?
game folder/_appdata_/logs
< >
Showing 16-30 of 57 comments
Per page: 1530 50