LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-27-2015, 11:27 PM   #31
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Rep: Reputation: 56

actually I meant to ask for wine-1.7.33-x86_64-1alien. Luckily I have wine-1.5.5-x86_64-1alien, but that tells me I have a 64-bit installation and can't be ran with a 32-bit wine server if I downgrade back to 1.5.5... if I stay at wine-1.7.51-x86_64-1alien then I get a little further, which is weird as I originally installed and ran using wine-1.5.5-x86_64-1alien.

here's the weird thing... I installed Diablo and ran the game with no problems using wine-1.5.5-x86_64-1alien. I don't recall if I tried running the game to test whether the game ran or not with wine-1.7.33-x86_64-1alien, but coinciding with updating to wine-1.7.51-x86_64-1alien and the updates to Battle.net I can no longer run the game! After starting the game from the command-line, all I see is the window for Battle.net and it's all white. In the command-line window all I see is a spam of

Code:
fixme:hlsl_parser:declare_vars Complex initializers are not supported yet.
fixme:hlsl_parser:hlsl_parse Array.
fixme:d3dcompiler:make_assignment Check for casts in the lhs.
fixme:d3dcompiler:make_assignment Check for casts in the lhs.
fixme:hlsl_parser:hlsl_parse Array.
fixme:d3dcompiler:make_assignment Check for casts in the lhs.
err:d3dcompiler:compile_shader HLSL shader parsing failed.
Tried clicking all over in the white box to see if I could trigger the game somehow, but no dice. My command line to start wine is

Code:
WINEPREFIX=$HOME/.wine-diablo3/ setarch i386 -3 wine "c:\Program Files (x86)/Diablo III\Diablo III.exe" -w -opengl &
 
Old 09-28-2015, 04:43 AM   #32
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
My wine-1.5.5 package contained a purely 32bit wine installation. Starting with wine-1.7.14 I switched to compiling a "wine64 'shared installation" meaning you get both 32bit wine and 64bit wine executables. Microsoft calls this WoW64, meaning your 64bit Slackware with wine >= 1.7.14 will be able to run both 32bit and 64bit Windows programs.
What probably happened is that the 64bit Wine has installed 64bit binaries (Windows DLLs etc) into your WINEPREFIX. That means you can not go back to using the 32bit wine-1.5.5 without cleaning out your WINEPREFIX first.

I found this in the Wine AppDB: "To solve the "err:d3dcompiler:compile_shader HLSL shader parsing failed" error install "d3dx9_36" with winetricks." Perhaps you have to re-install that when switching to the mixed 32bit/64bit Wine.

Note: starting with 1.7.51 I am using the wine-staging patch set from http://wine-staging.com/ . Several other distributions are already doing that, and a previous Wine related post here in LQ mentioned that games run better with the staging patches applied.

Another note: my future wine packages will also have the wine-d3d9 patch set if mesa was compiled with support for "d3dadapter" (which is true for slackware-current). See https://wiki.ixit.cz/d3d9 . You will not be affected by this either way, at the moment.
 
2 members found this post helpful.
Old 09-28-2015, 06:53 AM   #33
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Rep: Reputation: 56
is there an easy way to clean out the WINEPREFIX of the 64bit binaries so that I can see if 1.5.5 works with the updated Battle.net?

I've installed "d3dx9_36" with winetricks successfully, yet I am still getting the same messages about "err:d3dcompiler:compile_shader HLSL shader parsing failed"

Last night I was able to get into the game itself by clicking randomly within the white Battle.net window, however now I can't reproduce it! I have a feeling the mix of 32/64 bit binaries may be the cause as to why the Battle.net window is completely blank, but I can't be sure.
 
Old 09-28-2015, 11:48 AM   #34
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Alien Bob View Post
Note: starting with 1.7.51 I am using the wine-staging patch set from http://wine-staging.com/ . Several other distributions are already doing that, and a previous Wine related post here in LQ mentioned that games run better with the staging patches applied.
Just in case you weren't aware (although, you always seem to be more aware than most), wine-staging will be integrated into WineHQ. I'm not sure how it will all play out in providing wine to end-users, but it's good to see that they aren't operating separately anymore.

http://www.wine-staging.com/news/201...tegration.html
 
Old 09-28-2015, 11:50 AM   #35
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Quote:
Originally Posted by dimm0k View Post
is there an easy way to clean out the WINEPREFIX
rm -r
 
Old 09-28-2015, 09:59 PM   #36
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Rep: Reputation: 56
okay, so here we go... I moved my WINEPREFIX to re-create from scratch. downgraded to wine-1.5.5 and am installing Diablo again...

1. removed WINEPREFIX, ran WINEPREFIX=$HOME/.wine-diablo3/ setarch i386 -3 winecfg
2. set to Windows 7
3. ran WINEPREFIX=$HOME/.wine-diablo3/ setarch i386 -3 winetricks vcrun2008
4. ran WINEPREFIX=$HOME/.wine-diablo3/ setarch i386 -3 wine /run/media/dimm0k/D3C1.0.0/Diablo\ III\ Setup.exe
4a. battle.net installs, but when setup tries to launch it for login credentials it exits with the message "The application failed to start because it could not find or load the Qt platform plugin 'windows'. Reinstalling the application may fix this problem."
4b. changed back to Windows XP, setup runs battle.net and allows me to login. update to battle.net begins and pressing "Start Install" results in another crash. see screenshot attached.
4c. pressing "Close" brings up another battle.net update window... "Updating Battle.net..."
4d. during this the download of the game commences and after the complete download the "Updating Battle.net..." remains.
5. ran WINEPREFIX=$HOME/.wine-diablo3/ setarch i386 -3 wine "c:\Program Files\Diablo III\Diablo III.exe" -opengl, which results in the same crash message as the attached screenshot previously.
6. if I change back to Windows 7 in winecfg, I get the "The application failed to start because it could not find or load the Qt platform plugin 'windows'. Reinstalling the application may fix this problem."

any suggestions??
Attached Thumbnails
Click image for larger version

Name:	d3.png
Views:	149
Size:	111.6 KB
ID:	19704  

Last edited by dimm0k; 09-29-2015 at 08:14 PM.
 
Old 09-28-2015, 10:18 PM   #37
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Have you tried without the "-opengl" switch?
 
Old 09-28-2015, 10:28 PM   #38
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Rep: Reputation: 56
Quote:
Originally Posted by dugan View Post
Have you tried without the "-opengl" switch?
just tried... same exact exit as with it on! I'm not sure what else this could be...
 
Old 09-29-2015, 03:52 PM   #39
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
On Slackware64, with the WoW64 wine package installed, why not try what happens if you omit the "setarch i386 -3" from your commands?
 
Old 09-29-2015, 08:15 PM   #40
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Rep: Reputation: 56
Quote:
Originally Posted by Alien Bob View Post
On Slackware64, with the WoW64 wine package installed, why not try what happens if you omit the "setarch i386 -3" from your commands?
attempted that right now and no dice =( revised my previous post to include a screenshot of the error message. attaching another screenshot of the white battle.net window I've been referring to.
Attached Thumbnails
Click image for larger version

Name:	d31.jpg
Views:	166
Size:	254.9 KB
ID:	19705  
 
Old 09-30-2015, 04:36 AM   #41
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Is Battle.net using any anti-cheat software with Diablo 3?
 
Old 09-30-2015, 06:10 PM   #42
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,904

Original Poster
Rep: Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053
Quote:
Originally Posted by ReaperX7 View Post
Is Battle.net using any anti-cheat software with Diablo 3?
Anti-cheat software has nothing to do with it if you are not cheating. I have never been banned or had issue with playing any games using wine because of anti-cheat software in many years of gaming. I contacted Blizzard some years ago to clear up another issue assuming I may have been banned because I was using wine. They told me that I would never be banned or blocked for playing their games under wine.

------------------------

Anyways, I am running stock Slackware64-current with multilib using wine 1.7.51 with staging patches.

Diablo 3 has been performing perfectly for a month now. Prior to upgrading wine, it was performing perfectly on wine 1.7.49-50. The only issue I ran into was the Battle.net app reporting something about a secondary log on service (I posted about this a while back in this thread). This issue seemed to have resolved itself after an update to the Battle.net app by Blizzard.

I may be wrong about this, but it's been my experience that you need to reinstall some applications when you upgrade wine or when you change the wine environment.

Here is what I am using to launch Diablo 3:

Code:
#!/bin/sh

setarch i386 \
	wine "C:\Program Files\Diablo III\Diablo III.exe" \
	-opengl
I have my winecfg set to Windows XP. In my Libraries tab (of winecfg) I have two overrides, they are shown in the attached screenshot. Everything else is left at default settings. I forget why I have those overrides- probably something I found in a bug report on wine hq.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-09-30_17-06-12.png
Views:	226
Size:	10.0 KB
ID:	19708  

Last edited by mralk3; 09-30-2015 at 06:11 PM.
 
Old 09-30-2015, 11:27 PM   #43
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
The -opengl switch works for application only, not the launcher.
About the white screen picture you have posted, it could be a bug with wine directx.

https://bugs.winehq.org/show_bug.cgi?id=38845

The workaround may be temporarily setting wine version to XP
 
1 members found this post helpful.
Old 10-01-2015, 01:58 AM   #44
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Blog Entries: 7

Rep: Reputation: Disabled
*d3d10 (builtin,native)
*d3d11 (disabled)
*d3d9 (builtin,native)
*d3dx10 (builtin,native)
*d3dx11 (disabled)
*d3dx9 (builtin,native)
*dbghelp (builtin,native)
*msvcm80/90 (builtin,native)
*msvcp80/90/100/120 (builtin,native)
*msvcr80/90/100/120 (builtin,native)
*vcomp/90/100/120 (builtin,native)
*wininet(builtin,native)

*atl80/90/100/120(native,builtin)

Try this settings. switch between native and builtin.

Last edited by number22; 10-01-2015 at 02:00 AM.
 
1 members found this post helpful.
Old 10-01-2015, 11:41 PM   #45
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,904

Original Poster
Rep: Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053
Quote:
Originally Posted by elcore View Post
The -opengl switch works for application only, not the launcher.
About the white screen picture you have posted, it could be a bug with wine directx.

https://bugs.winehq.org/show_bug.cgi?id=38845

The workaround may be temporarily setting wine version to XP
Yes, this is the bug I encountered. That's why I forced diablo to run opengl and I use WinXP as the environment. It's important to remember that battle.net will use the directx version you install with winetricks and override with winecfg. Try different directx versions and overrides. I am pretty sure though that if you use my previously mentioned settings, diablo and battle.net will function properly.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wine / diablo 2 cd problems ultimatenoob Linux - Games 10 07-25-2010 04:12 PM
Wine problem with Diablo 2 Rustylinux Linux - Games 1 04-28-2008 01:17 PM
Wine - Diablo II LOD TCP/IP doesn't work +where is my wine.conf brainlesspinkey Linux - Games 7 08-26-2007 08:10 AM
Wine with Diablo II odd Linux - Software 7 05-29-2004 01:36 PM
Diablo and WINE Avitas Linux - Software 9 04-29-2003 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration