stalker openxray engine and oxygen engine fail to work

Questions about Wine on Linux
Locked
adcdam
Level 2
Level 2
Posts: 42
Joined: Thu Feb 16, 2017 1:08 am

stalker openxray engine and oxygen engine fail to work

Post by adcdam »

https://www.reddit.com/r/stalker/commen ... ay_thread/

this is one of the engines
https://github.com/OpenXRay/xray-16/releases/tag/21

oxygen engine
https://github.com/xrOxygen/xray-oxygen/releases


i got this in the openxray engine
i installed vcrun2017 with winetricks
whats the problem? is vcrun2017 supported by wine?

Code: Select all

000b:fixme:winediag:start_process Wine Staging 3.13 is a testing version containing experimental patches.

000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

0009:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS

0009:fixme:imm:ImmReleaseContext (0x10078, 0x142ac0): stub

0009:fixme:win:FlashWindowEx 0x33f38c - semi-stub

dam1@damian ~/.stalkeropenxr2/drive_c/GOG Games/S.T.A.L.K.E.R. Call of Pripyat $ 0030:fixme:module:find_dll_file skipping L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\dbghelp.dll" because of wrong architecture

0030:err:module:import_dll Library VCRUNTIME140D.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\BugTrap.dll") not found

0030:err:module:import_dll Library ucrtbased.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\BugTrap.dll") not found

0030:err:module:import_dll Library BugTrap.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\xrCore.dll") not found

0030:err:module:import_dll Library MSVCP140D.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\xrCore.dll") not found

0030:err:module:import_dll Library MSVCP140D.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\tbb_debug.dll") not found

0030:err:module:import_dll Library VCRUNTIME140D.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\tbb_debug.dll") not found

0030:err:module:import_dll Library ucrtbased.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\tbb_debug.dll") not found

0030:err:module:import_dll Library tbb_debug.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\x
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: stalker openxray engine and oxygen engine fail to work

Post by Bob Wya »

@adcdam
adcdam wrote: ...

Code: Select all

...
0030:err:module:import_dll Library VCRUNTIME140D.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\BugTrap.dll") not found
0030:err:module:import_dll Library ucrtbased.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\BugTrap.dll") not found
0030:err:module:import_dll Library BugTrap.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\xrCore.dll") not found
0030:err:module:import_dll Library MSVCP140D.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\xrCore.dll") not found
0030:err:module:import_dll Library MSVCP140D.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\tbb_debug.dll") not found
0030:err:module:import_dll Library VCRUNTIME140D.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\tbb_debug.dll") not found
0030:err:module:import_dll Library ucrtbased.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\tbb_debug.dll") not found
0030:err:module:import_dll Library tbb_debug.dll (which is needed by L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\x
You've clearly downloaded the wrong version of the OpenXRay Engine.
A quick glance over reddit r/stalker: Official OpenXRay thread - clearly indicates that you want the Release version - "Most likely, this is what you need.".
It always helps to read documentation thoroughly!

Wine doesn't VS runtime debug symbols ( dll names, suffixed with a d ).

So try the release version download of OpenXRay: OpenXRay.Rx64.7z

How are you starting the game? What command are you using exactly?
What WINERPREFIX architecture are you using?

I'd expect end-users testing games that are borderline functional under Wine Staging, to be using the latest release (currently 3.15).
Assuming you are testing the DX10 / DX11 render path.

Bob
adcdam
Level 2
Level 2
Posts: 42
Joined: Thu Feb 16, 2017 1:08 am

Re: stalker openxray engine and oxygen engine fail to work

Post by adcdam »

Thanks a lot Bob!!!
i downloaded the OpenXRay.Rx64.7z and with version at least the game start, i can not play because it crash, but its a start,
i used DXVK 0.71 and wine version staging 3.13 in a 64 bit prefix it also crash with 3.14. but i can see the new engine option in the game menu
one thing i know is that it need d3dcompiler_47 and perhaps cryptsp.dll
i also installed
i know one reddit user make oxygen engine work and its similar to openxrayengine he told me it need dotnet472

i installed oalinst.exe it need that for OpenAL.
perhaps its a problem of dotnet?

https://www.reddit.com/r/wine_gaming/co ... er_misery/

perhaps you can try if Vanilla Call of Pripyat work with openxrayengine 64, this is driving me crazy!!

Code: Select all


000b:fixme:winediag:start_process Wine Staging 3.13 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0009:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
0009:fixme:imm:ImmReleaseContext (0x10078, 0x147088): stub
0009:fixme:win:FlashWindowEx 0x33f38c - semi-stub
dam1@damian ~/.stalkeropenxr2/drive_c/GOG Games/S.T.A.L.K.E.R. Call of Pripyat $ 0031:fixme:module:find_dll_file skipping L"C:\\GOG Games\\S.T.A.L.K.E.R. Call of Pripyat\\bin\\dbghelp.dll" because of wrong architecture
0032:fixme:ver:GetCurrentPackageId (0x133fdc0 (nil)): stub
0031:fixme:win:RegisterTouchWindow (0x2006c 00000003): stub
0031:fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
0031:err:winediag:wined3d_dll_init Setting multithreaded command stream to 0x1.
0031:fixme:heap:RtlSetHeapInformation 0x6890000 0 0x23b590 4 stub
0031:fixme:heap:RtlSetHeapInformation 0x6c50000 0 0x23b560 4 stub
0031:fixme:heap:RtlSetHeapInformation 0x6b40000 0 0x23b560 4 stub
0031:fixme:heap:RtlSetHeapInformation 0x6b40000 0 0x23b560 4 stub
0031:fixme:heap:RtlSetHeapInformation 0x6b40000 0 0x23b560 4 stub
0031:fixme:heap:RtlSetHeapInformation 0x6b40000 0 0x23b560 4 stub
0031:fixme:heap:RtlSetHeapInformation 0x6b40000 0 0x23e4e0 4 stub
0031:fixme:heap:RtlSetHeapInformation 0x6b40000 0 0x23e4e0 4 stub
0031:fixme:heap:RtlSetHeapInformation 0x6b40000 0 0x23e690 4 stub
0031:err:winediag:wined3d_dll_init Setting multithreaded command stream to 0x1.
0031:err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions.
0031:fixme:imm:ImmReleaseContext (0x2006c, 0xd7050): stub
0031:fixme:msctf:ThreadMgr_ActivateEx Unimplemented flags 0x4
0031:fixme:msctf:ThreadMgrSource_AdviseSink (0xd6f30) Unhandled Sink: {ea1ea136-19df-11d7-a6d2-00065b84435c}
0031:fixme:imm:NotifyIME NI_CLOSECANDIDATE
0031:fixme:msctf:ThreadMgrSource_AdviseSink (0xd6f30) Unhandled Sink: {ea1ea136-19df-11d7-a6d2-00065b84435c}
0031:fixme:imm:NotifyIME NI_CLOSECANDIDATE
0031:fixme:faultrep:ReportFault 0x238f20 0x0 stub
0031:err:dbghelp:pe_load_msc_debug_info -Debug info stripped, but no .DBG file in module L"d3d11"
0031:err:dbghelp:pe_load_msc_debug_info -Debug info stripped, but no .DBG file in module L"dxgi"
0031:fixme:dbghelp:interpret_function_table_entry PUSH_MACHFRAME 6
0031:fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpFilterMemory
0031:fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpScanMemory
005e:fixme:dbghelp:interpret_function_table_entry PUSH_MACHFRAME 6
005e:fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpFilterMemory
005e:fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpScanMemory
^C

when it crash say :

Code: Select all

xrEngine.exe caused ACCESS_VIOLATION in module "C:\GOG Games\S.T.A.L.K.E.R. Call of Pripyat\bin\luajit.dll" at 0033:000000000078EDDF




best regards
Damian
adcdam
Level 2
Level 2
Posts: 42
Joined: Thu Feb 16, 2017 1:08 am

Re: stalker openxray engine and oxygen engine fail to work

Post by adcdam »

Anyone who can test this?
adcdam
Level 2
Level 2
Posts: 42
Joined: Thu Feb 16, 2017 1:08 am

Re: stalker openxray engine and oxygen engine fail to work

Post by adcdam »

oxygen engine work, i needed vcrun2017, and winetricks --force dotnet462 , i couldnt launch openxray engine , but one of the creators of the engine is helping.
linuxuserhere
Newbie
Newbie
Posts: 1
Joined: Sun May 31, 2020 11:32 pm

Re: stalker openxray engine and oxygen engine fail to work

Post by linuxuserhere »

I can confirm that OpenXRay works in current wine 5.0.
I was able to run a "Anomaly 15.0 beta 4" mod that uses OpenXRay 64bit engine with DX9 (no Vulkan, pure OpenGL; X11; nixos), using following:
The mod is standalone and legally freeware. Hardware is i5-2500, 16gb ram and rx 570 gpu, nothing new.

1. WINEARCH=win64 ./winetricks prefix="wine64" arch="64" --force dotnet35sp1
2. WINEARCH=win64 ./winetricks prefix="wine64" arch="64" dotnet472
- that took a while, probably wiser step would be to add "-q" switch, but I didn't and had to click myself through lots of windows.
- after this step, I moved the folder "wine64" inside ~/.local/share/wineprefixes to where I store wine prefixes, removed "wineprefixes" and recreated a symlink with same name pointing to that location.

3. WINEARCH="win64" WINEPREFIX="/home/userp/runtime/games.wined/wineprefix/wine64/" wine64 vcredist_x64.exe
this file cames with mod, I think its vcrun2017 or 2019, not sure.

4. WINEARCH=win64 ./winetricks prefix="wine64" arch="64" --force d3dx9
this step is required, or else classic xray error appears - it searches for some files to exist and errors if they dont.

After that, the game started with:
WINEARCH="win64" WINEPREFIX="/home/userp/runtime/games.wined/wineprefix/wine64/" wine64 AnomalyLauncher.exe


PS. For nixos, I also needed three packages inside "environment.systemPackages":
execline
cabextract
(wine.override { wineBuild = "wineWow"; })

the last one builds 32bit and 64bit wine versions, former two needed for winetricks to work.

Happy gaming!
charleyikia
Newbie
Newbie
Posts: 1
Joined: Wed Jun 10, 2020 11:57 am

Re: stalker openxray engine and oxygen engine fail to work

Post by charleyikia »

linuxuserhere wrote: Sun May 31, 2020 11:44 pm I can confirm that OpenXRay works in current wine 5.0.
I was able to run a "Anomaly 15.0 beta 4" mod that uses OpenXRay 64bit engine with DX9 (no Vulkan, pure OpenGL; X11; nixos), using following:
The mod is standalone and legally freeware. Hardware is i5-2500, 16gb ram and rx 570 gpu, nothing new.

1. WINEARCH=win64 ./winetricks prefix="wine64" arch="64" --force dotnet35sp1
2. WINEARCH=win64 ./winetricks prefix="wine64" arch="64" dotnet472
- that took a while, probably wiser step would be to add "-q" switch, but I didn't and had to click myself through lots of windows.
- after this step, I moved the folder "wine64" inside ~/.local/share/wineprefixes to where I store wine prefixes, removed "wineprefixes" and recreated a symlink with same name pointing to that location.

3. WINEARCH="win64" WINEPREFIX="/home/userp/runtime/games.wined/wineprefix/wine64/" wine64 vcredist_x64.exe
this file cames with mod, I think its vcrun2017 or 2019, not sure.

4. WINEARCH=win64 ./winetricks prefix="wine64" arch="64" --force d3dx9
this step is required, or else classic xray error appears - it searches for some files to exist and errors if they dont.

After that, the game started with:
WINEARCH="win64" WINEPREFIX="/home/userp/runtime/games.wined/wineprefix/wine64/" wine64 AnomalyLauncher.exe


PS. For nixos, I also needed three packages inside "environment.systemPackages":
execline
cabextract
(wine.override { wineBuild = "wineWow"; })

the last one builds 32bit and 64bit wine versions, former two needed for winetricks to work.

Happy gaming!
downloaded the OpenXRay.Rx64.7z and with version at least the game start, i can not play because it crash, but its a start,
Locked