S.T.A.L.K.E.R. - Call of Pripyat on Wine 1.1.38

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
snoopcatt
Level 1
Level 1
Posts: 6
Joined: Sat Feb 13, 2010 7:40 am

S.T.A.L.K.E.R. - Call of Pripyat on Wine 1.1.38

Post by snoopcatt »

After upgrade (wine 1.1.37>1.1.38, my distribution is ArchLinux) STALKER Call of Pripyat crashes after one minute playing.
[neko@gdetotut ~]$ wine --version
wine-1.1.38
:cry:
snoopcatt
Level 1
Level 1
Posts: 6
Joined: Sat Feb 13, 2010 7:40 am

Post by snoopcatt »

Console output:

Code: Select all

[neko@gdetotut S.T.A.L.K.E.R. - Зов Припяти]$ env WINEPREFIX="/home/neko/.wine" wine "C:\\Program Files\\GSC World Publishing\\S.T.A.L.K.E.R. - Зов Припяти\\bin\\xrEngine.exe"                                                                             
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: Нет такого файла или каталога                                                                         
fixme:heap:HeapSetInformation 0x110000 0 0x33f930 4                                 
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded                                                    
fixme:win:EnumDisplayDevicesW ((null),0,0x33ee4c,0x00000000), stub!                 
fixme:win:EnumDisplayDevicesW ((null),0,0x33f174,0x00000000), stub!                 
fixme:win:EnumDisplayDevicesW ((null),0,0x33f20c,0x00000000), stub!                 
fixme:dxgi:dxgi_adapter_CheckInterfaceSupport iface 0x173ce0, guid {9b7e4c0f-342c-4106-a19f-4f2704f689f0}, umd_version (nil) stub!                                      
err:module:import_dll Library d3dx11_41.dll (which is needed by L"C:\\Program Files\\GSC World Publishing\\S.T.A.L.K.E.R. - \0417\043e\0432 \041f\0440\0438\043f\044f\0442\0438\\bin\\xrRender_R4.dll") not found                                           
err:module:import_dll Library d3d11_beta.dll (which is needed by L"C:\\Program Files\\GSC World Publishing\\S.T.A.L.K.E.R. - \0417\043e\0432 \041f\0440\0438\043f\044f\0442\0438\\bin\\xrRender_R4.dll") not found                                          
err:module:import_dll Library dxgi_beta.dll (which is needed by L"C:\\Program Files\\GSC World Publishing\\S.T.A.L.K.E.R. - \0417\043e\0432 \041f\0440\0438\043f\044f\0442\0438\\bin\\xrRender_R4.dll") not found                                           
fixme:heap:RtlCompactHeap (0x1224000, 0x0) stub                                     
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1784b0,0x178a90): stub             
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x177a10,0x178a90): stub             
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(646,505)               
fixme:win:EnumDisplayDevicesW ((null),0,0x33ecdc,0x00000000), stub!                 
fixme:d3d:query_init Unhandled query type 0x4.                                      
fixme:d3d9:Direct3DShaderValidatorCreate9 stub                                      
err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions.                                                                  
fixme:d3d:buffer_PreLoad Too many declaration changes or converting dynamic buffer, stopping converting                                                                 
fixme:d3d:query_init Unhandled query type 0x4.                                      
fixme:d3d:buffer_PreLoad Too many declaration changes or converting dynamic buffer, stopping converting
err:ntdll:RtlpWaitForCriticalSection section 0x1227500 "?" wait timed out in thread 001e, blocked by 0009, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x1227500 "?" wait timed out in thread 001e, blocked by 0009, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x1227500 "?" wait timed out in thread 001e, blocked by 0009, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x1227500 "?" wait timed out in thread 001e, blocked by 0009, retrying (60 sec)
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpFilterMemory
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpScanMemory
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithDataSegs
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithDataSegs
snoopcatt
Level 1
Level 1
Posts: 6
Joined: Sat Feb 13, 2010 7:40 am

Post by snoopcatt »

Screenshot with X-Ray crash info:
Image
snoopcatt
Level 1
Level 1
Posts: 6
Joined: Sat Feb 13, 2010 7:40 am

Post by snoopcatt »

snoopcatt
Level 1
Level 1
Posts: 6
Joined: Sat Feb 13, 2010 7:40 am

Post by snoopcatt »

Fixed by downgrading to 1.1.37`2

Code: Select all

[neko@gdetotut ~]$ sudo pacman -U /var/cache/pacman/pkg/wine-1.1.37-2-i686.pkg.tar.gz                                                        
чтение информации о пакете...                                                       
проверка зависимостей...                                                            
(1/1) проверка возможных конфликтов файлов          [#########################] 100%
(1/1) обновление wine                               [#########################] 100%
James McKenzie

S.T.A.L.K.E.R. - Call of Pripyat on Wine 1.1.38

Post by James McKenzie »

snoopcatt wrote:
Fixed by downgrading to 1.1.37`2

Code:
[neko@gdetotut ~]$ sudo pacman -U /var/cache/pacman/pkg/wine-1.1.37-2-i686.pkg.tar.gz
GB5=85 8=D>@<0F88 > ?0:5B5...
?@>25@:0 7028A8<>AB59...
(1/1) ?@>25@:0 2>7<>6=KE :>=D;8:B>2 D09;>2 [#########################] 100%
(1/1) >1=>2;5=85 wine [#########################] 100%

Time for a regression test to isolate where the breakage is between
1.1.37 and 1.1.38.

James McKenzie
cutefluff
Level 2
Level 2
Posts: 14
Joined: Mon Feb 15, 2010 1:31 pm

what winetricks packages did you install?

Post by cutefluff »

hey,

im unable to make the game run and could use some help
fedora 12 with gf9800, wine 1.1.37 (from source no patches)

installation works great, including directx but the game doesnt start - i get:
"cannot open file fsgame.ltx"

could you tell me which winetricks packages you installed? maybe im missing something... i looked all around but couldnt find detailed info...


thanks...

linux-semi-noob / wine-total-noob
cutefluff
Level 2
Level 2
Posts: 14
Joined: Mon Feb 15, 2010 1:31 pm

noob or not a noob :)

Post by cutefluff »

hehe sorry for all the mess... got it to work

im probably the only one who needs such a detailed step-by-step but here it is anyways:

this is how i got stalker to work on my fedora 12

prerequisites:
you need these (just paste and rum it will tell you what you ahve and what is needed):
# yum install git xorg-x11-proto-devel arts-devel audiofile-devel bison cups-devel cyrus-sasl-devel e2fsprogs-devel esound-devel expat-devel flex fontconfig-devel freetype-devel gcc glib2-devel gphoto2-devel isdn4k-utils-devel krb5-devel libao-devel libjpeg-devel libmng-devel libogg-devel libpng-devel libusb-devel libvorbis-devel libxml-devel libxml2-devel libxslt-devel ncurses-devel openldap-devel openssl-devel pkgconfig qt-devel sane-backends-devel zlib-devel rpm-build libXcomposite libXcomposite-devel dbus-devel hal-devel lcms-devel gsm-devel mpg123 openal-soft openal-soft-devel

then go to website: http://atrpms.net/dist/f12/mpg123/ and download the latest mpg123 and mpg123-devel pckage and install them (double click it)

programs that should be already installed:
* bison
* flex
* prelink
programs that should'nt be installed:
* valgrind
* fontforge
see more: http://wiki.winehq.org/Recommended_Packages

Install using the source code:
download desired version current recommended: 1.1.37
extract source to /usr/lib/<app_name>
and run the following:
# ./configure
# make depend
# make
# su
# make install

fixing audio of wine
#yum install wine-oss
make sure you run winecfg and unselect pulseaudio and select oss

now install:

# sudo mount ~/Download/STALKER\ Call\ Of\ Pripyat-Razor1911/rzr-stcp.iso /media/cdrom -o loop
# ln -s /media/cdrom /home/sean.noy/.wine/dosdevices/m:
install game - this will take time, do not cancel even if looks stuck
# wine path_to_setup.exe
# cd installation_folder
copy the crack fix (currently on desktop)
launch the game:
# env WINEDEBUG=-all WINEPREFIX=/home/sean.noy/.wine wine "./bin/xrEngine.exe"

no winetricks and no other configs were needed
snoopcatt
Level 1
Level 1
Posts: 6
Joined: Sat Feb 13, 2010 7:40 am

Post by snoopcatt »

My way:
1) Install the game
2) Install directx9 by winetricks
3) Install nocd fix
4) Install fix for sound and mouse (override dll's)
5) done (:
/ but on wine 1.1.38 i have crashes after 1 minute gaming. fixed by downgrading to 1.1.37-2 from arch'repo.
cutefluff
Level 2
Level 2
Posts: 14
Joined: Mon Feb 15, 2010 1:31 pm

does your mouse move freely around the screen?

Post by cutefluff »

hey snoop,

did you manage to get the mouse working ok? mine is stuck in the main menu in a box 800x600 (i think) on the top left corner... cant really play like this since i need the mouse in the inventory screens and such...

what do you mean by apply mouse?

any info would be great :)
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: does your mouse move freely around the screen?

Post by vitamin »

cutefluff wrote:did you manage to get the mouse working ok? mine is stuck in the main menu in a box 800x600 (i think) on the top left corner... cant really play like this since i need the mouse in the inventory screens and such...
This game has a buggy dinput mouse driver. You can make it work in wine by switching input_exclusive_mode between 1 and 0 in game's console (press "~" to open it).

I think what snoopcatt meant is that he's using one of the hacks for dinput which only works for selected games.
cutefluff
Level 2
Level 2
Posts: 14
Joined: Mon Feb 15, 2010 1:31 pm

Post by cutefluff »

hey vitamin

thanks for the tip, i managed to find an acceptable workaround:

i either wineboot (it helps sometimes) or using Alt+Tab to switch to the terminal and maximize its size to full screen then going back to the game - it works :)

this is a GREAT GAME !! i amazes me verytie that this game runs on my linux box :)

hahahaha we gotcha in da nutz billy-boy!
Libi
Newbie
Newbie
Posts: 3
Joined: Wed Feb 24, 2010 7:52 am

Post by Libi »

Hi!

I try to play this game, the install its done with no problem i think, but when i start the game in terminal a get this:

wine Stalker-COP.exe
libi@ubuntu:~/.wine/dosdevices/c:/Program Files/bitComposer Games/S.T.A.L.K.E.R. - Call of Pripyat$ fixme:heap:HeapSetInformation 0x110000 0 0xa0f930 4
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered
err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1
err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered
err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0x15c): stub
fixme:win:EnumDisplayDevicesW ((null),0,0xa0f078,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0xa0f110,0x00000000), stub!
fixme:dxgi:dxgi_adapter_CheckInterfaceSupport iface 0x188c98, guid {9b7e4c0f-342c-4106-a19f-4f2704f689f0}, umd_version (nil) stub!
err:module:import_dll Library d3d11.dll (which is needed by L"C:\\Program Files\\bitComposer Games\\S.T.A.L.K.E.R. - Call of Pripyat\\bin\\xrRender_R4.dll") not found
fixme:heap:RtlCompactHeap (0x1100000, 0x0) stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x18dc90,0x18e4c8): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x18df50,0x18e4c8): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x18bd98,0x18e4c8): stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x18df50,0x18e4c8): stub
fixme:win:EnumDisplayDevicesW ((null),0,0xa0ebe0,0x00000000), stub!
fixme:d3d:query_init Unhandled query type 0x4.
err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions.
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpFilterMemory
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpScanMemory
fixme:faultrep:ReportFault 0x482e4a0 0x0 stub
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 1e
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithDataSegs

can somebody help me?

I use Ubuntu 9.10 - Karmic with wine 1.1.37 and im a beginner user.

(sorry my bad english)
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Libi wrote:I try to play this game, the install its done with no problem i think, but when i start the game in terminal a get this:

err:module:import_dll Library d3d11.dll (which is needed by L"C:\\Program Files\\bitComposer Games\\S.T.A.L.K.E.R. - Call of Pripyat\\bin\\xrRender_R4.dll") not found
What Win version have you set in winecfg? It should be set to WinXP by default - do not change it.
Libi
Newbie
Newbie
Posts: 3
Joined: Wed Feb 24, 2010 7:52 am

Post by Libi »

vitamin wrote:
Libi wrote:I try to play this game, the install its done with no problem i think, but when i start the game in terminal a get this:

err:module:import_dll Library d3d11.dll (which is needed by L"C:\\Program Files\\bitComposer Games\\S.T.A.L.K.E.R. - Call of Pripyat\\bin\\xrRender_R4.dll") not found
What Win version have you set in winecfg? It should be set to WinXP by default - do not change it.


I use the default setting, don't change it so its Win Xp!
cutefluff
Level 2
Level 2
Posts: 14
Joined: Mon Feb 15, 2010 1:31 pm

performance

Post by cutefluff »

xp means directx9, is there a way to run the game with directx10? how can i tell if its using it or 9? (i have vista configured - the game loads ok)
any performance improvement?
Libi
Newbie
Newbie
Posts: 3
Joined: Wed Feb 24, 2010 7:52 am

Re: performance

Post by Libi »

cutefluff wrote:xp means directx9, is there a way to run the game with directx10? how can i tell if its using it or 9? (i have vista configured - the game loads ok)
any performance improvement?
When i open the wine cfg i see d3dx10 files in the functions library!
Image

<- its possible that i dont need this files?

I've a d805@3ghz with 2g ram and nvidia8600 Gt, so my video card support the dx10, but i do not want to use it! I use the winetrick to install dx9 and dx10. Maybe it is the problem?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: performance

Post by vitamin »

cutefluff wrote:xp means directx9, is there a way to run the game with directx10? how can i tell if its using it or 9? (i have vista configured - the game loads ok)
Wine's DX10 implementation is rudimentary - it can't run anything except some simple DXSDK tests.
cutefluff
Level 2
Level 2
Posts: 14
Joined: Mon Feb 15, 2010 1:31 pm

Post by cutefluff »

that explains it :) i hought the gfx was a bit "weaker" than on my previous vista installation
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

I've a d805@3ghz with 2g ram and nvidia8600 Gt, so my video card support the dx10, but i do not want to use it!
Oh, don't worry about this. Wine won't use your hardware's support for DirectX as it uses OpenGL instead anyway.
jkramer
Newbie
Newbie
Posts: 2
Joined: Mon Mar 01, 2010 5:12 pm

Post by jkramer »

I've managed to install the game, but I can't make it run properly. I'm starting the game like this:

Code: Select all

# wine bin/xrEngine.exe
After that, there are two possible reactions. Sometimes the games splash screen shows up and nothing else happens for a really long time (until I kill wine). And sometimes the game seems to start. I'm getting a lot of disk activity and for a short moment, the game seems to change video mode, and the screen is black for a few seconds. But then it changes back and wine exits. Here is the output:

Code: Select all

fixme:heap:HeapSetInformation 0x110000 0 0xa0f930 4
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:msxml:domdoc_QueryInterface interface {7fd52380-4e07-101b-ae2d-08002b2ec713} not implemented
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0x11c): stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:win:EnumDisplayDevicesW ((null),0,0xa0f174,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0xa0f20c,0x00000000), stub!
fixme:dxgi:dxgi_adapter_CheckInterfaceSupport iface 0x1491c8, guid {9b7e4c0f-342c-4106-a19f-4f2704f689f0}, umd_version (nil) stub!
err:module:import_dll Library d3dx11_42.dll (which is needed by L"D:\\Program Files\\bitComposer Games\\S.T.A.L.K.E.R. - Call of Pripyat\\bin\\xrRender_R4.dll") not found
err:module:import_dll Library d3d11.dll (which is needed by L"D:\\Program Files\\bitComposer Games\\S.T.A.L.K.E.R. - Call of Pripyat\\bin\\xrRender_R4.dll") not found
fixme:heap:RtlCompactHeap (0xe24000, 0x0) stub
Trying to load PE image for unsupported architecture (AMD-64)
Trying to load PE image for unsupported architecture (AMD-64)
Trying to load PE image for unsupported architecture (AMD-64)
Trying to load PE image for unsupported architecture (AMD-64)
Trying to load PE image for unsupported architecture (AMD-64)
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x14fb90,0x150470): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x14ff28,0x150470): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1438c0,0x150b60): stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x14ff90,0x150b60): stub
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(646,505)
fixme:win:EnumDisplayDevicesW ((null),0,0xa0ecdc,0x00000000), stub!
fixme:d3d:query_init Unhandled query type 0x4.
err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions.
fixme:d3d:buffer_PreLoad Too many declaration changes or converting dynamic buffer, stopping converting
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpFilterMemory
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpScanMemory
fixme:faultrep:ReportFault 0x401e4a0 0x0 stub
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpWithDataSegs
I've tried wine 1.1.37 and 1.1.39 and I've installed d3dx9 with winetricks. I also downloaded the dinput.dll file, still no change.
Any ideas? I really want to play that game. :(
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

jkramer wrote:

Code: Select all

Trying to load PE image for unsupported architecture (AMD-64)
Wine is 32 bit. You've got something 64 bit trying to load, though I'm not sure what. Make sure all the native dlls you installed are 32 bit.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

jkramer wrote:After that, there are two possible reactions. Sometimes the games splash screen shows up and nothing else happens for a really long time (until I kill wine). And sometimes the game seems to start. I'm getting a lot of disk activity and for a short moment, the game seems to change video mode, and the screen is black for a few seconds.
Do you have CD version of Steam version? CD version uses SecuRom which requires a "no-cd" patch to work under Wine.
jkramer
Newbie
Newbie
Posts: 2
Joined: Mon Mar 01, 2010 5:12 pm

Post by jkramer »

@dimesio: I've checked for any 64 DLLs, but didn't find anything interesting:

Code: Select all

[jkramer/unknown:.../drive_c]# find -name "*.dll" -exec file {} \; | grep -v 32
./windows/system/ddeml.dll: MS-DOS executable, NE for MS Windows 3.x (driver)
./windows/twain.dll: MS-DOS executable, NE for MS Windows 3.x (driver)
@vitamin: I'm using the same version (Razor) that cutefluff seems to use, and the no-cd patch is installed.
cutefluff
Level 2
Level 2
Posts: 14
Joined: Mon Feb 15, 2010 1:31 pm

Post by cutefluff »

hey jkramer

i just wanted to say that although i do get the game running most of the times - i get an occasional "hang" or "frozen-splash-screen" as well which i kill then use wineboot or simply running the command again

i added this line to my current /etc/grub.conf (at the end of my loader line)
nouveau.modeset=0 vga=ask

not quite sure if that did the trick but it sure didnt hurt...

hope you'll get it to work :)

Sean.
Locked