Dark Souls 2 (not working so far)

Questions about Wine on Linux
cars10
Level 2
Level 2
Posts: 13
Joined: Fri Apr 25, 2014 1:51 pm

Dark Souls 2 (not working so far)

Post by cars10 »

Hey Guys,
i am trying to get the newly released Dark Souls 2 running on my (up2date) Archlinux desktop.

Installation (game, direct x, vcredist) worked perfectly.
However, when i start the game, all i get is a white screen, a cursor and sound.
Terminal gives me the following:

Code: Select all

fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:win:EnumDisplayDevicesW ((null),0,0x32f628,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f588,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f588,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f588,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f588,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f588,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f588,0x00000000), stub!
fixme:wbemprox:client_security_SetBlanket 0x7c6a635c, 0x149f70, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7c6a635c
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:wbemprox:client_security_SetBlanket 0x7c6a635c, 0x149f70, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7c6a635c
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:win:EnumDisplayDevicesW ((null),0,0x32f3b8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32eb98,0x00000000), stub!
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0x16b8e984): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:wbemprox:client_security_SetBlanket 0x7c6a635c, 0x1637a438, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7c6a635c
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:wbemprox:client_security_SetBlanket 0x7c6a635c, 0x16379e80, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7c6a635c
For me, the following line seems to be important, although i am no wine expert.

Code: Select all

fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
Googling with this on my hand, i found several hints that proposed to change the registry value HKCU/Software/Wine/Direct3D/OffscreenRenderingMode to either "fbo" or to "backbuffer". Setting this value to "fbo" does not change anything, as this seems to be the default value, however, if i change it do "backbuffer", i now get a black screen after start. (sound+cursor working)

The error messages now are kinda weird and did not help me in any thing:

Code: Select all

err:d3d:wined3d_check_pixel_format_color Unable to check compatibility for format WINED3DFMT_R16G16_UNORM.
fixme:d3d:getColorBits Unsupported format WINED3DFMT_R16G16_UNORM.
err:d3d:wined3d_check_pixel_format_color Unable to check compatibility for format WINED3DFMT_R16G16_UNORM.
fixme:d3d:getColorBits Unsupported format WINED3DFMT_R16G16_UNORM.
err:d3d:wined3d_check_pixel_format_color Unable to check compatibility for format WINED3DFMT_R16G16_UNORM.
fixme:d3d:getColorBits Unsupported format WINED3DFMT_R16G16_UNORM.
err:d3d:wined3d_check_pixel_format_color Unable to check compatibility for format WINED3DFMT_R16G16_UNORM.
fixme:d3d:getColorBits Unsupported format WINED3DFMT_R16G16_UNORM.
err:d3d:wined3d_check_pixel_format_color Unable to check compatibility for format WINED3DFMT_R16G16_UNORM.
fixme:d3d:getColorBits Unsupported format WINED3DFMT_R16G16_UNORM.
err:d3d:wined3d_check_pixel_format_color Unable to check compatibility for format WINED3DFMT_R16G16_UNORM.
fixme:d3d:getColorBits Unsupported format WINED3DFMT_R16G16B16A16_UNORM.
fixme:d3d:getColorBits Unsupported format WINED3DFMT_R16_FLOAT.
fixme:d3d:getColorBits Unsupported format WINED3DFMT_R16G16_FLOAT.
fixme:d3d:getColorBits Unsupported format WINED3DFMT_R16G16B16A16_FLOAT.
fixme:d3d:getColorBits Unsupported format WINED3DFMT_R32_FLOAT.
fixme:d3d:getColorBits Unsupported format WINED3DFMT_R32G32_FLOAT.
fixme:d3d:getColorBits Unsupported format WINED3DFMT_R32G32B32A32_FLOAT.
This repeats itself just about 5 million times.

Any ideas on how to get it running?
As is sad, i am not very experienced with wine, maybe you got a simple idea. (BTW i tried both 32 & 64 bit wine!)

Thanks
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Dark Souls 2 (not working so far)

Post by Bob Wya »

BTW i tried both 32 & 64 bit wine!
?? What do you mean ?? You installed 32-bit Arch Linux to do a test?!! Or do you mean you tried both 32-bit & 64-bit Wineprefixes - using the 64-bit multilib Wine package?

I presume you are running Wine 1.7.17 (if you are using Arch)?

What graphics card and driver version are you using?? Do you have necessary 32-bit multilib drivers for your card? I presume you are aware that you will a GPU at least a tier above an NVIDIA® GeForce® 9600GT, ATI Radeon HD 5870 (specified minimum cards) just to get the game running under Wine (noting there are significantly more issues with AMD cards & overhead)?
Installation (game, direct x, vcredist) worked perfectly.
Perhaps you could reveal some information about how and why you decided to install this extra stuff?! I see there is no Dark Souls 2 AppDB entry after all... It's always best to submit bugs and post the WineHQ forum with the minimum of dll overrides that are necessary to get an application working. Just because something appears to install cleanly doesn't always mean it's a good idea... :wink:

I always wish folks would start their terminal output with the command used to launch the game and WINEPREFIX information. Then it's clearer when operator error has led to the use of incorrect PWD's, etc... One can hope of course. :lol:

Bob
textik
Newbie
Newbie
Posts: 1
Joined: Sat Apr 26, 2014 3:20 am

Re: Dark Souls 2 (not working so far)

Post by textik »

Just to add to this, I'm getting exactly the same issue, with pretty much exactly the same error logs on a clean 32-bit 1.7.17 prefix, although my white screen gives way for just a couple frames whenever I resize the window to what appears to be a perfectly functional Dark Souls 2 menu. I've tried working my way up from a clean prefix, installing some d3d9 dlls and the vcrun series, but to no visible effect.

Oh, and, for what it's worth, I'm trying it on a Nvidia GTX 670 (with all the lib32 accoutrements) and a modern Intel processor, so I'm pretty sure it's not a hardware or driver issue.
Nymphetaminer
Newbie
Newbie
Posts: 1
Joined: Sat Apr 26, 2014 3:45 am

Re: Dark Souls 2 (not working so far)

Post by Nymphetaminer »

Tried Dark Souls 2 on Linux Mint 16 with wine 1.7.17

White screen with flickering correct frames (White screen most of the time but every now and then you get to see the actual game , intro press start screen etc)
Sound and input seems to be working corectly

The terminal output:

Code: Select all

fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:win:EnumDisplayDevicesW ((null),0,0x32f648,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f3d8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32ebb8,0x00000000), stub!
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
err:d3dcompiler:compile_shader HLSL shader parsing failed.
err:d3dcompiler:compile_shader HLSL shader parsing failed.
fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0x1497e974): stub
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4b (as FOURCC "K\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4b (as FOURCC "K\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4b (as FOURCC "K\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4b (as FOURCC "K\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4b (as FOURCC "K\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4b (as FOURCC "K\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4b (as FOURCC "K\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4b (as FOURCC "K\x00\x00\x00").
fixme:d3dx:get_format_info Unknown format 0x4d (as FOURCC "M\x00\x00\x00").
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:xinput:XInputGetState (0 0x32f9e4)
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
cars10
Level 2
Level 2
Posts: 13
Joined: Fri Apr 25, 2014 1:51 pm

Re: Dark Souls 2 (not working so far)

Post by cars10 »

?? What do you mean ?? You installed 32-bit Arch Linux to do a test?!! Or do you mean you tried both 32-bit & 64-bit Wineprefixes - using the 64-bit multilib Wine package?
32Bit and 64Bit Prefix, yes.
I presume you are running Wine 1.7.17 (if you are using Arch)?
indeed
What graphics card and driver version are you using?? Do you have necessary 32-bit multilib drivers for your card? I presume you are aware that you will a GPU at least a tier above an NVIDIA® GeForce® 9600GT, ATI Radeon HD 5870 (specified minimum cards) just to get the game running under Wine (noting there are significantly more issues with AMD cards & overhead)?
GTX 660 Ti, newest official nvidia driver. (not using nuveau because i need cuda)
Also i have the 32bit stuff installed, as both my 64bit & 32bit prefix work for playing other games atm.
Perhaps you could reveal some information about how and why you decided to install this extra stuff?! I see there is no Dark Souls 2 AppDB entry after all... It's always best to submit bugs and post the WineHQ forum with the minimum of dll overrides that are necessary to get an application working. Just because something appears to install cleanly doesn't always mean it's a good idea... :wink:
I installed them because the installer asked for it in the end, so i assumed the files will be necessary for the game. Was just how some games do this..
I always wish folks would start their terminal output with the command used to launch the game and WINEPREFIX information. Then it's clearer when operator error has led to the use of incorrect PWD's, etc... One can hope of course. :lol:
Sorry, forgot this.
When testing it in my 64Bit Prefix, i simply go to the binary's directory and use

Code: Select all

wine DarkSouls2.exe
For testing in my 32Bit prefix, i navigate to the installation in my 32Bit prefix. and use

Code: Select all

WINEARCH=win32 WINEPREFIX=~/win32 wine DarkSouls2.exe
(32Bit prefix is located in ~/win32)

Any other information you could need?
Thanks for your help so far btw!
thehexer
Level 1
Level 1
Posts: 7
Joined: Sat Apr 26, 2014 8:50 am

Re: Dark Souls 2 (not working so far)

Post by thehexer »

Same here. I also tried running the game using wine 1.7.17 with this patch: http://bugs.winehq.org/attachment.cgi?id=48193. Since I couldn't compile wine on my Ubuntu 12.04 XFCE, I used Ubuntu 10.04. With patched wine UI and textures still flicker, but you can still see most of the screen most of the time isntead of seeing a couple frames at a time on a white background. I was able to start the game too. Textures disappeared occasionally, grass was briken, but it ran at 60 FPS. The game is still unplayable though, but I think it might work in 12.04 because I had the same problems in a couple games before transferring to 12.04.

I also tried wine 1.7.12 (which does not have bug 35718) and wine 1.7.14. The game did not start at all in either of them.
thehexer
Level 1
Level 1
Posts: 7
Joined: Sat Apr 26, 2014 8:50 am

Re: Dark Souls 2 (not working so far)

Post by thehexer »

Have no idea how to edit posts, sorry for doubleposting.

Here is a screenshot of the game under patched wine 1.7.17: http://cs616229.vk.me/v616229743/7e86/ipudFwOmiC0.jpg

I would be very grateful if somebody could teach me to patch wine on 12.04.
SebDaMuffin
Newbie
Newbie
Posts: 1
Joined: Sun Apr 27, 2014 1:13 am

Re: Dark Souls 2 (not working so far)

Post by SebDaMuffin »

Using Wine 1.7.17 unpatched from the arch repo, I was able to start the game without any crashes but all that displays is a white screen and a custom cursor. I was able to boot the game using both Steam and "wine darksoulsii.exe" (which starts steam anyway). I am using a clean win32 wineprefix where Steam installed VCRedist and DirectX. In hope of making progress towards getting the game to a playable state, I would like to ask the people who have gotten into the gameplay portion of the game if they used winetricks to install those DLLs (or if that would even make a difference at all). I am also curious to know what the posted patch fixes and if it is worth trying to apply.

As for more information, I am running an updated 64-bit version of Arch Linux with an Nvidia card. I am also getting terminal messages similar to those stated in the previous posts.

Thanks to everyone who is working to getting this game into a working state and I hope I can be of some help!
moggers
Newbie
Newbie
Posts: 1
Joined: Sat Apr 26, 2014 3:09 am

Re: Dark Souls 2 (not working so far)

Post by moggers »

hexer, I applied that patch you linked on top of wine-1.7.17-92-ge2bf516 freshly cloned and I went from white screen all the time with maybe one flashing correctly rendered frame every second, to perhaps four correctly rendered frames for every white frame. This is with the open source ATI drivers and mesa rolling release built from git about half a week ago, so obviously up to date.
thehexer
Level 1
Level 1
Posts: 7
Joined: Sat Apr 26, 2014 8:50 am

Re: Dark Souls 2 (not working so far)

Post by thehexer »

moggers wrote:hexer, I applied that patch you linked on top of wine-1.7.17-92-ge2bf516 freshly cloned and I went from white screen all the time with maybe one flashing correctly rendered frame every second, to perhaps four correctly rendered frames for every white frame. This is with the open source ATI drivers and mesa rolling release built from git about half a week ago, so obviously up to date.
I don't know why, but I don't see any white frames with patched wine. Your problem may be related to ATI drivers.
n
With StrictDrawOrdering=Enabled UI stops flickering too, but the game is still unplayable because enemies and other objects disappear frequently.

I think that we need wine 1.7.17 with CSMT patch and patch from bug 35718 for DS2 to work (credit to DL for pointing that out in Bug 35718 comments).
fizban007
Newbie
Newbie
Posts: 2
Joined: Sun Apr 27, 2014 10:29 am

Re: Dark Souls 2 (not working so far)

Post by fizban007 »

thehexer wrote:Same here. I also tried running the game using wine 1.7.17 with this patch: http://bugs.winehq.org/attachment.cgi?id=48193. Since I couldn't compile wine on my Ubuntu 12.04 XFCE, I used Ubuntu 10.04. With patched wine UI and textures still flicker, but you can still see most of the screen most of the time isntead of seeing a couple frames at a time on a white background. I was able to start the game too. Textures disappeared occasionally, grass was briken, but it ran at 60 FPS. The game is still unplayable though, but I think it might work in 12.04 because I had the same problems in a couple games before transferring to 12.04.

I also tried wine 1.7.12 (which does not have bug 35718) and wine 1.7.14. The game did not start at all in either of them.
Thanks to the patch, I can get past the initial white screen and get to the game menu now. But how did you skip the intro movie? My game always freezes trying to play the intro movie, and wine gives the error
err:ntdll:RtlpWaitForCriticalSection section 0x542ab30 "?" wait timed out in thread 007a, blocked by 0082, retrying (60 sec)

Thanks in advance!
thehexer
Level 1
Level 1
Posts: 7
Joined: Sat Apr 26, 2014 8:50 am

Re: Dark Souls 2 (not working so far)

Post by thehexer »

fizban007 wrote:Thanks to the patch, I can get past the initial white screen and get to the game menu now. But how did you skip the intro movie? My game always freezes trying to play the intro movie, and wine gives the error
err:ntdll:RtlpWaitForCriticalSection section 0x542ab30 "?" wait timed out in thread 007a, blocked by 0082, retrying (60 sec)

Thanks in advance!
For me the intro movie played normally with minimal flickering. I just created a new WINEPREFIX, enabled StrictDrawOrdering, disabled GLSL and let Steam install VS and DirectX. I didn't do anything else.
razlock
Newbie
Newbie
Posts: 2
Joined: Sun Apr 27, 2014 8:36 am

Re: Dark Souls 2 (not working so far)

Post by razlock »

thehexer wrote:I don't know why, but I don't see any white frames with patched wine. Your problem may be related to ATI drivers.
n
With StrictDrawOrdering=Enabled UI stops flickering too, but the game is still unplayable because enemies and other objects disappear frequently.
I have arch and wine 1.7.17 (no patches) with a Nvidia GTX560 (laptop) and I can confirm that with StrictDrawOrdering=Enabled the UI is fine. I was able to start a new game, but as you said enemies and npcs disappear when you move around them so it is still unplayable.

Also for the intro movie to work, I had to install quartz (found on winehq for Dark Souls I).
thehexer
Level 1
Level 1
Posts: 7
Joined: Sat Apr 26, 2014 8:50 am

Re: Dark Souls 2 (not working so far)

Post by thehexer »

razlock wrote:
thehexer wrote:I don't know why, but I don't see any white frames with patched wine. Your problem may be related to ATI drivers.
n
With StrictDrawOrdering=Enabled UI stops flickering too, but the game is still unplayable because enemies and other objects disappear frequently.
I have arch and wine 1.7.17 (no patches) with a Nvidia GTX560 (laptop) and I can confirm that with StrictDrawOrdering=Enabled the UI is fine. I was able to start a new game, but as you said enemies and npcs disappear when you move around them so it is still unplayable.

Also for the intro movie to work, I had to install quartz (found on winehq for Dark Souls I).
Yeah, I did install quartz, I completely forgot about that.
cars10
Level 2
Level 2
Posts: 13
Joined: Fri Apr 25, 2014 1:51 pm

Re: Dark Souls 2 (not working so far)

Post by cars10 »

Three things.
1. How to you apply the patch?
2. Where to set StrictDrawOrdering=Enabled?
3. How to install quartz?


could you please be more specific for users that are not that expierienced with wine?
fizban007
Newbie
Newbie
Posts: 2
Joined: Sun Apr 27, 2014 10:29 am

Re: Dark Souls 2 (not working so far)

Post by fizban007 »

cars10 wrote:Three things.
1. How to you apply the patch?
2. Where to set StrictDrawOrdering=Enabled?
3. How to install quartz?


could you please be more specific for users that are not that expierienced with wine?
1. You'll have to recompile wine by yourself. Download the patch to a file, and invoke

Code: Select all

patch -Np1 -i /path/to/patch
in the source directory before running configure and make.

2. Please refer to
http://wiki.winehq.org/UsefulRegistryKeys

3. You can just use

Code: Select all

winetricks quartz
with whatever WINEARCH and WINEPREFIX that you want to run the game with.
thehexer wrote:
fizban007 wrote:Thanks to the patch, I can get past the initial white screen and get to the game menu now. But how did you skip the intro movie? My game always freezes trying to play the intro movie, and wine gives the error
err:ntdll:RtlpWaitForCriticalSection section 0x542ab30 "?" wait timed out in thread 007a, blocked by 0082, retrying (60 sec)

Thanks in advance!
For me the intro movie played normally with minimal flickering. I just created a new WINEPREFIX, enabled StrictDrawOrdering, disabled GLSL and let Steam install VS and DirectX. I didn't do anything else.
Thanks a lot! I can now go into the game and can confirm the disappearing models. Is there a way to find the isolated CSMT patch sets? If I can get my hands on the patches it might be possible to tweak them to apply to 1.7.17 since the author obviously haven't had time to rebase his work to the new versions of wine.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Dark Souls 2 (not working so far)

Post by Bob Wya »

fizban007 wrote: Thanks a lot! I can now go into the game and can confirm the disappearing models. Is there a way to find the isolated CSMT patch sets? If I can get my hands on the patches it might be possible to tweak them to apply to 1.7.17 since the author obviously haven't had time to rebase his work to the new versions of wine.
@fizban007

Initial announcement of CSMT Patchset on Winedev mailing list.
Stefan Dösinger actually works for Code Weavers.
His talks at the annual Wineconf are easy to find on Youtube and on the FOSDEM website. Well worth watching!

The patch set is to be slowly integrated into Wine - ideally without the bugs! it is a (target) requirement for the eventual 1.8 release of Wine... Hence why the initial patchset is not being updated at present.

Bob
cars10
Level 2
Level 2
Posts: 13
Joined: Fri Apr 25, 2014 1:51 pm

Re: Dark Souls 2 (not working so far)

Post by cars10 »

Any changes with the new version of wine?
thehexer
Level 1
Level 1
Posts: 7
Joined: Sat Apr 26, 2014 8:50 am

Re: Dark Souls 2 (not working so far)

Post by thehexer »

cars10 wrote:Any changes with the new version of wine?
Nope.
thehexer
Level 1
Level 1
Posts: 7
Joined: Sat Apr 26, 2014 8:50 am

Re: Dark Souls 2 (not working so far)

Post by thehexer »

Tested patched wine 1.7.17 with OffScreenRenderingMode=backbuffer and StrictDrawOrdering=enabled again, but now on Ubuntu 12.04. Objects still flicker, but the game is playable if you use Lock On. It's not too enjoyable, but playable. Also, I noticed that UI begins to flicker when I come close to fog gates. Maybe the game flickers so much because there is a huge amount of fog gates in the starting location? I am going to try to progress further tomorrow.
rboxeur
Level 2
Level 2
Posts: 29
Joined: Sun Jul 15, 2012 3:23 pm

Re: Dark Souls 2 (not working so far)

Post by rboxeur »

I tested wine 1.7.19 patching with patch listed here and the patch provided by Krzysztof Sobiecki (http://appdb.winehq.org/objectManager.p ... &iId=30252 see comments).

It works prettry well.

I can play this game using my XBOX360 controler, Resolution 2048x1152 for the game (Wine Desktop). My real resolutoin (physical screen) is 2560x1440

Moreover II used SweetFX 1.5.1 with a particular profile to have more light. It works too.

I did a youtube video to see that it works Youtube video: https://www.youtube.com/watch?feature=p ... jD4lob688k

Documentation: http://www.davidgis.fr/documentation/Dark_Souls_II/

Known issue: Game may hang for a few seconds (noticable in the video) from time to time but it is almost playable.
razlock
Newbie
Newbie
Posts: 2
Joined: Sun Apr 27, 2014 8:36 am

Re: Dark Souls 2 (not working so far)

Post by razlock »

So last night I compiled wine from the tarball you provided and it works well so far, but:

- Without wine virtual desktop, I get two screens: one white screen which seems to grab all keyboard inputs, and another screen with the game actually running in it (but without keyboard inputs).
- With wine virtual desktop (1920*1080 or higher), same thing.
- With wine virtual desktop (below 1920*1080), it works as expected.

My real resolution is 1920*1080, and I had to unplug my second monitor. Also if set the game to windowed mode, I always end up with a black screen. The UI is still flickering, (more than with wine 1.7.19 unpatched) but at least it's playable !

I know it's not your fault, I'm just reporting things. Thanks a lot !
rboxeur
Level 2
Level 2
Posts: 29
Joined: Sun Jul 15, 2012 3:23 pm

Re: Dark Souls 2 (not working so far)

Post by rboxeur »

Thanks!

I generated new WineD3D DLLs so you can play this game WITHOUT building WIne from Source. I tested it with my own version of Dark Souls 2 (not the steam version!).

So I can't say if it works with the Steam version of this game

Download the tarball with all DLLs at https://www.mediafire.com/?r21pi0nk2978m46

PREREQUISITES
=============

Decompress this tarball. There are
- multiple DLLs (d3d10.dll d3d8.dll d3d9.dll ddraw.dll dxgi.dll libwine.dll wined3d.dll)
- one README.txt file
- a reg file for regedit (WineD3D_Dark_Souls_II.reg)

For winetricks

winetricks -q devenum quartz wmp10 vcrun2010

It is not worth setting StrictDrawOrdering to 'enabled'. It has been taken into account into the new DLLs

INSTALL
=======
1) Copy all libraries in the same folder where 'DarkSoulsII.exe' is located ("/some/path/to/Dark Souls 2/Game")
2) Load the reg file
regedit WineD3D_Dark_Souls_II.reg

PLAY
=====
a) Open a Linux terminal

b) Use a virtual desktop for wine.
winecfg
and set up a virtual desktop

c) Go to "Dark Souls 2/Game" folder ("/some/path/to/Dark Souls 2/Game")

cd "/some/path/to/Dark Souls 2/Game"

d) Set WINEDEBUG to "-all"

export WINEDEBUG=-all

Else game will be slow

e) Launch the game

wine DarkSoulsII.exe

For those DLLS: here is a first history
- Set strictdrawordering to enabled by default in the DLL so user don't have to set this parameter!
- Added patches to start the game
- Added patches to avoid invisible enemies in the game
- Added patches to avoid flickering screen
cars10
Level 2
Level 2
Posts: 13
Joined: Fri Apr 25, 2014 1:51 pm

Re: Dark Souls 2 (not working so far)

Post by cars10 »

AWESOME. Thanks for your work, will try this out asap.
rboxeur
Level 2
Level 2
Posts: 29
Joined: Sun Jul 15, 2012 3:23 pm

Re: Dark Souls 2 (not working so far)

Post by rboxeur »

Hi cars10,

Please keep me posted! It works for me but perhaps it can fail

Instead of loading the registry file you can use

WINEDEBUG="-all" WINEDLLOVERRIDES="d3d10,d3d10core,d3d8,d3d9,ddraw,dxgi,libwine,wined3d=n" wine DarkSoulsII.exe
Locked