Вы находитесь здесь

Форум

Drakensang Online

QT5 crash

Автор Replies
Jump to the page: 1 - 2 - 3 - 4 - 5 - 6
Ronin DUSETTE Thursday 8 January 2015 at 19:15
Ronin DUSETTE

The only way we will get to the bottom of this is to actually debug wine using debug flags, I imagine. That is a pretty advanced topic (though I have been studying and learning a LOT), but I am sure WineHQ will want to see some specific backtraces that will help them narrow it down. We likely need a fix from them, as installing components is not giving any results. 


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Thursday 8 January 2015 at 19:28
booman

Agreed.  I was hoping that the Qt5 network patch or Visual C 2012 might give us some progress, but I think its going to be up to Wine Developers to do some QT5 updating.

I have a feeling they will since there are a lot of clients that use it.


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Thursday 8 January 2015 at 20:07
Ronin DUSETTE

Yeah. I agree. It would have been nice. What is crazy, is that QT is cross-platform, so one would think that, even running through Wine, it might run fine, but of course, that does not look to be the case. lol.


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Thursday 8 January 2015 at 20:12
booman

Really?  I wonder how hard it would be for Drakensang developers to use QT Linux for their game?

I just realized a few days ago that "QT" is related to Java.  I don't think its actual "Java" but related to it because its a GUI front end for programs.  Maybe I'll look up QT on wiki and see what it really does.

I just wish there was a backwards compatibility with QT4 because it worked flawlessly in Wine for a long time.


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Thursday 8 January 2015 at 20:21
Ronin DUSETTE

QT is like GTK. It is a language for programming GUI's (and now some #d rendering). I wouldn't say it is related to java, but there is a lot of java-like syntax in there (from what I have read. I am not a QT developer). But yeah. It is just a GUI. KDE is built on QT, for instance. 


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Thursday 8 January 2015 at 20:25
booman

I'm reading about it now.  Just saw that KDE uses it...
Also:

  • Google Earth
  • Spotify
  • VLC
  • Maya

Maybe we could test VLC in a virtual drive, that is... if its been updated to QT5

What crazy is QT5 has been around since 2012.  why did BigPoint take so long to update Drakensang?

I've also though about installing Firefox in a virtual drive, then installing Java and trying their browser version.  Seems like a lot but if it works I would be happy with that.


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
booman Thursday 8 January 2015 at 20:44
booman

Someone mentioned that QT5 needs dwrite.dll for Wine 1.4.1

And there is another problem that I currently see with Qt5 on wine 1.4: qwindows.dll requires dwrite.dll (probably implicitly) that is not available on Windows XP too. analogclock.exe crashes on wine-1.4.1 almost immediately after wine complains in console that it cannot find dwrite.dll required for qwindows.dll. And there is no any problem with wine 1.5.25 that ships with this dll.

I'll try using a -nodrwrite argument to see if anything changes.  I'm also going to try Drakensang as Windows Vista and 2008 just to see if there are any differences


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Thursday 8 January 2015 at 20:45
Ronin DUSETTE

I have no idea. Maybe waiting for it to be stable, or maybe because there would be regressions if they did. 

Actually, there is a native Java client for Linux, so maybe if you used a user-agent switcher for FF on Linux, it may run like that? Java is pretty platform agnostic, at least in my experience, because it makes little Java VM's (virtual machines) that run the program, so in theory, a Java app written for Windows SHOULD work in Linux... SHOULD. lol. But also try FF/Java through Wine. That may at least be a hack/slash way to play it for the time being.

Also, boom:

http://www.playonlinux.com/en/app-2390-POL_Install_vcrun2013.html


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Friday 9 January 2015 at 22:19
booman

I'll try Wine 1.7.34 this weekend because there are some Visual C and dwrite enhancements:  1.7.34


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
onyman Saturday 10 January 2015 at 15:58
onymanAnonymous

Guys, I've beein following this thread and trying out all of the suggestions so far, and the farthest I could get is having a login screen and a "download error".

However! Applying this script to the QtNetwork.dll actually worked! Once applied, the client was able to downoload all files necessary to run and actually start!

I've just launched it few minutes ago so I didn't test it thoroughly but it seems to be working overall.

Just to sum up my set-up:

1. Wine 1.7.34

2. Windows 7 mode selected in "Applications" tab in Wine configuration

3. Additional pacakges, just as in the initial post:

  • corefonts
  • d3dx9
  • tahoma

4. In the end, I didn't need to copy qwindows.dll. There is one in "platforms/", and it finds it all right. I initially tried copyng it under "plugins/platforms/", but I've just removed that copy and it still works fine.

5. Runs well in both virtual desktop and full screen.

 

The clue was that every time I've been launching it, it was very slow downloading backgroud images; once it even showed me the server selection screen, but didn't go any further again. So, seeing the "fix for slow network" rang like a bell.

 

 

Ronin, check out this Python Script:  https://bugs.winehq.org/attachment.cgi?id=49988&action=edit

This is specifically for the slow network problems in Origin, but do you think it might have any impact on our Drakensang problem?

 

Edited by onyman

booman Saturday 10 January 2015 at 16:08
booman

I LOVE YOU!!!

So wine 1.7.34 fixes the QT problem or the network patch?


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
onyman Saturday 10 January 2015 at 16:36
onymanAnonymous

Seems like Wine 1.7.34 fixes the QT problem - because in the end I dind't apply any additional fix for it.

The network issue is still there however, so I had to apply that Python script (https://bugs.winehq.org/attachment.cgi?id=49988&action=edit), and it fixes the network error as well.

To apply the Python script, download it and copy into the Drakensang folder in the virtual drive, at the same level as the "Qt5Network.dll". Then, on your linux machine, bash and cd into that folder and run the python script ($ python patch_qt5network_wine.py). It should patch the file, print out MD5 sums of the original and patched file, and it will also create the "Qt5Network.dll.orig" file.

booman Saturday 10 January 2015 at 18:29
booman

Awesome, going to try it right now


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
booman Saturday 10 January 2015 at 19:19
booman

it worked!

Thanks for trying out the python script.  I thought about it and didn't really think it would do the trick.  The game had downloaded and launched just fine.


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
booman Saturday 10 January 2015 at 22:56
booman

I just created a new character and played for about 20 minutes!


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Sunday 11 January 2015 at 19:15
Ronin DUSETTE

Nice. Looks like it ended up being a broken python file with the program's payload AND it needed a Wine patch. Sweet. 

Someone should write a script for this game so that others can play it with ease... ;)


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
steve723 Monday 12 January 2015 at 12:14
steve723Anonymous

It's to bad to Python pacth dosn't work for The Sims 4. Just for Origin.

Edited by steve723

booman Monday 12 January 2015 at 13:13
booman

I had a feeling you would say that.
Drakensang didn't need vcrun2012 or vcrun2013... just the python script


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
steve723 Monday 12 January 2015 at 13:39
steve723Anonymous

I figured that was the case. Of course its possible that I might need to delete and reinstall the VD so I can apply the patch to the new wine version. I was using wine 1.7.33 when I applied the Qt5 python patch and I might need to redo the VD in order to patch wine 1.7.34. I will try that tomorrow. Maybe POL devs can make a patched version of wine 1.7.34 with the qt5 patch for The Sims 4. First we need to make sure it works.

Ronin DUSETTE Monday 12 January 2015 at 18:49
Ronin DUSETTE

The QT patch has nothing to do with Wine. It is not packaged with Wine. The patch gets applied to something that is not with Wine. BUT, the new version of Wine, with it's fixes, and you using that patch on that python file, should make it work, according to Booman. It had to be a combination of both the new version of Wine, and this QT patch (which is not part of Wine.).


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Вы находитесь здесь: Index > Manual installations > Drakensang Online