Guild Wars 2 for wine - what is needed?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Atriarc
Newbie
Newbie
Posts: 4
Joined: Sat Aug 25, 2012 7:25 pm

Re: Guild Wars 2 for wine - what is needed?

Post by Atriarc »

Did we ever get anymore info on fixing the mouse bug?
mikkelkromann
Level 2
Level 2
Posts: 12
Joined: Tue Nov 01, 2011 3:10 am

Re: Guild Wars 2 for wine - what is needed?

Post by mikkelkromann »

I had success getting rid of the missing camera mouse control by compiling Wine 1.5.11 with the raw3.patch.

The process I followed for patching is roughly decribed here (though I downloaded a tar.bz2 instead of using git):

http://appdb.winehq.org/objectManager.p ... &iId=24709

The raw3.patch is available here:

wget http://dl.dropbox.com/u/6901628/raw3.patch -O ../raw3.patch

The black login screen goes away when using "wine Gw2.exe -dx9single" option.

Btw: It was a real pain compiling with Ubuntu 12.04 (has 64bit, had to use chroot solution - http://wiki.winehq.org/WineOn64bit ), while 11.04 was just get source and compile.

EDIT: fps is a bit crappy at 20-30 depending on zone and settings. Tried both a i5 and a Phenom IIx4 965 with GTX560i. In particular, Caledon Forest is bad, while the Norn starting zone is better (dunno if there may be particular graphical effects that Wine handles badly). I dont have Windoze, so I cant compare to that.

EDIT 2: Turning off reflections and shadow (set to "none") improves fps from 20 to 30 in "The Grove". By the way: Any progress on fixing the black border problem so we can test without dx9single?
toggetit
Newbie
Newbie
Posts: 2
Joined: Wed Aug 29, 2012 5:26 am

Re: Guild Wars 2 for wine - what is needed?

Post by toggetit »

Hi! May I say few words about it - perhaphs it helps.
The black login screen goes away when using "wine Gw2.exe -dx9single" option.
If you start Gw2.exe with flags:

Code: Select all

-nopatchui -email %your_mail% -password %your_pass% -autologin
game will start without black screen and with multi-threading mode (no need -dx9single)

Sorry for my English
Atriarc
Newbie
Newbie
Posts: 4
Joined: Sat Aug 25, 2012 7:25 pm

Re: Guild Wars 2 for wine - what is needed?

Post by Atriarc »

mikkelkromann wrote:I had success getting rid of the missing camera mouse control by compiling Wine 1.5.11 with the raw3.patch.

The process I followed for patching is roughly decribed here (though I downloaded a tar.bz2 instead of using git):

http://appdb.winehq.org/objectManager.p ... &iId=24709

The raw3.patch is available here:

wget http://dl.dropbox.com/u/6901628/raw3.patch -O ../raw3.patch

The black login screen goes away when using "wine Gw2.exe -dx9single" option.

Btw: It was a real pain compiling with Ubuntu 12.04 (has 64bit, had to use chroot solution - http://wiki.winehq.org/WineOn64bit ), while 11.04 was just get source and compile.

EDIT: fps is a bit crappy at 20-30 depending on zone and settings. Tried both a i5 and a Phenom IIx4 965 with GTX560i. In particular, Caledon Forest is bad, while the Norn starting zone is better (dunno if there may be particular graphical effects that Wine handles badly). I dont have Windoze, so I cant compare to that.

EDIT 2: Turning off reflections and shadow (set to "none") improves fps from 20 to 30 in "The Grove". By the way: Any progress on fixing the black border problem so we can test without dx9single?
I was able to get wine to compile successfully, but this version in the guide you provided didn't agree with OpenGL at all. Took me a minute to remove all the files the guide created as original wine1.5 worked far better than what this guide provided. Thanks for the attempt but I was unable to get proper results with that build. Any other angles of attack?
toggetit wrote:Hi! May I say few words about it - perhaphs it helps.
The black login screen goes away when using "wine Gw2.exe -dx9single" option.
If you start Gw2.exe with flags:

Code: Select all

-nopatchui -email %your_mail% -password %your_pass% -autologin
game will start without black screen and with multi-threading mode (no need -dx9single)

Sorry for my English
When I attempt to utilize this, my terminal completely overlooks the fact that I'm running a wine command and automatically attempts to bash my password.

Overall, I'm back to square one of not playing due to raw input for the mouse.
toggetit
Newbie
Newbie
Posts: 2
Joined: Wed Aug 29, 2012 5:26 am

Re: Guild Wars 2 for wine - what is needed?

Post by toggetit »

When I attempt to utilize this, my terminal completely overlooks the fact that I'm running a wine command and automatically attempts to bash my password.
Hmm... It's strange, because it's fully worked for me, and this commands described in official wiki. Signs % not needed in real, I used it just to split arguments and commands. Anyway, thank you for responding.

P.S. Anybody knows how to change resolution of windowed mode?
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

There are now patches for both mouse look and trading post.

Trying to compile wine does not work with the raw3 patch however. (And I had to do this in vbox since 64bit ubuntu 12.04 based distros break wine compilation)

make output:

Code: Select all

input.c: In function ‘GetRawInputDeviceList’:
input.c:493:5: error: ‘union generic_request’ has no member named ‘get_raw_input_device_list_request’
input.c:493:5: error: ‘union generic_reply’ has no member named ‘get_raw_input_device_list_reply’
input.c:493:1: error: ‘REQ_get_raw_input_device_list’ undeclared (first use in this function)
input.c:493:1: note: each undeclared identifier is reported only once for each function it appears in
input.c:495:12: error: dereferencing pointer to incomplete type
input.c:501:35: error: dereferencing pointer to incomplete type
input.c:505:27: error: dereferencing pointer to incomplete type
input.c: In function ‘RegisterRawInputDevices’:
input.c:522:57: error: invalid application of ‘sizeof’ to incomplete type ‘struct raw_input_device_registration’ 
input.c:568:35: error: ‘RAW_INPUT_DEVICE_FLAG_REMOVE’ undeclared (first use in this function)
input.c:575:35: error: ‘RAW_INPUT_DEVICE_FLAG_NOHOTKEYS’ undeclared (first use in this function)
input.c:587:35: error: ‘RAW_INPUT_DEVICE_FLAG_NOLEGACY’ undeclared (first use in this function)
input.c:599:39: error: ‘RAW_INPUT_DEVICE_FLAG_CAPTUREMOUSE’ undeclared (first use in this function)
input.c:608:39: error: ‘RAW_INPUT_DEVICE_FLAG_APPKEYS’ undeclared (first use in this function)
input.c:628:35: error: ‘RAW_INPUT_DEVICE_FLAG_PAGEONLY’ undeclared (first use in this function)
input.c:647:35: error: ‘RAW_INPUT_DEVICE_FLAG_EXCLUDE’ undeclared (first use in this function)
input.c:660:35: error: ‘RAW_INPUT_DEVICE_FLAG_INPUTSINK’ undeclared (first use in this function)
input.c:673:35: error: ‘RAW_INPUT_DEVICE_FLAG_EXINPUTSINK’ undeclared (first use in this function)
input.c:680:35: error: ‘RAW_INPUT_DEVICE_FLAG_DEVNOTIFY’ undeclared (first use in this function)
input.c:691:9: error: invalid use of undefined type ‘struct raw_input_device_registration’
input.c:691:22: error: dereferencing pointer to incomplete type
input.c:692:9: error: invalid use of undefined type ‘struct raw_input_device_registration’
input.c:692:22: error: dereferencing pointer to incomplete type
input.c:693:9: error: invalid use of undefined type ‘struct raw_input_device_registration’
input.c:693:22: error: dereferencing pointer to incomplete type
input.c:694:9: error: invalid use of undefined type ‘struct raw_input_device_registration’
input.c:694:22: error: dereferencing pointer to incomplete type
input.c:701:9: error: ‘union generic_request’ has no member named ‘register_raw_input_devices_request’
input.c:701:9: error: ‘union generic_reply’ has no member named ‘register_raw_input_devices_reply’
input.c:701:1: error: ‘REQ_register_raw_input_devices’ undeclared (first use in this function)
input.c:703:16: error: dereferencing pointer to incomplete type
input.c: In function ‘GetRawInputData’:
input.c:734:5: error: ‘union generic_request’ has no member named ‘get_raw_input_data_request’
input.c:734:5: error: ‘union generic_reply’ has no member named ‘get_raw_input_data_reply’
input.c:734:1: error: ‘REQ_get_raw_input_data’ undeclared (first use in this function)
input.c:736:12: error: dereferencing pointer to incomplete type
input.c:737:12: error: dereferencing pointer to incomplete type
input.c:738:12: error: dereferencing pointer to incomplete type
input.c:739:12: error: dereferencing pointer to incomplete type
input.c:745:29: error: dereferencing pointer to incomplete type
input.c:749:27: error: dereferencing pointer to incomplete type
input.c: In function ‘GetRawInputBuffer’:
input.c:778:5: error: ‘union generic_request’ has no member named ‘get_raw_input_buffer_request’
input.c:778:5: error: ‘union generic_reply’ has no member named ‘get_raw_input_buffer_reply’
input.c:778:1: error: ‘REQ_get_raw_input_buffer’ undeclared (first use in this function)
input.c:780:12: error: dereferencing pointer to incomplete type
input.c:781:12: error: dereferencing pointer to incomplete type
input.c:787:29: error: dereferencing pointer to incomplete type
input.c:791:27: error: dereferencing pointer to incomplete type
input.c: In function ‘GetRawInputDeviceInfoW’:
input.c:870:5: error: ‘union generic_request’ has no member named ‘get_raw_input_device_info_request’
input.c:870:5: error: ‘union generic_reply’ has no member named ‘get_raw_input_device_info_reply’
input.c:870:1: error: ‘REQ_get_raw_input_device_info’ undeclared (first use in this function)
input.c:872:12: error: dereferencing pointer to incomplete type
input.c:873:12: error: dereferencing pointer to incomplete type
input.c:874:12: error: dereferencing pointer to incomplete type
input.c:880:29: error: dereferencing pointer to incomplete type
input.c:884:27: error: dereferencing pointer to incomplete type
input.c: In function ‘GetRegisteredRawInputDevices’:
input.c:913:5: error: ‘union generic_request’ has no member named ‘get_registered_raw_input_devices_request’
input.c:913:5: error: ‘union generic_reply’ has no member named ‘get_registered_raw_input_devices_reply’
input.c:913:1: error: ‘REQ_get_registered_raw_input_devices’ undeclared (first use in this function)
input.c:915:12: error: dereferencing pointer to incomplete type
input.c:921:35: error: dereferencing pointer to incomplete type
input.c:925:27: error: dereferencing pointer to incomplete type
make[1]: *** [input.o] Error 1
make[1]: Leaving directory `/home/j/Downloads/1.5.11-raw3-awesomium-gw2/dlls/user32'
make: *** [dlls/user32] Error 2
As for not using -dx9single, the first and foremost reason for that is that if you try to type without it it will crash the game, besides it's only a 2-3 fps difference on linux anyway.

Can someone help me with my compiling problems? (I'd post on bugzilla but password reset is broken and the admin's don't check their mail)
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

Edit: My bad, apparently the raw3 patch requires ./tools/make_requests before it will work properly.

I'll report back on my results.

ReEdit: And now I'm getting version mismatch:

Code: Select all

wine client error:0: version mismatch 433/431.
Your wine binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
And yes I tried killing old wine processes.
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

Well I was missing some symlinks - got it copied over and now trading post/gem store still isn't working (grr, that patch was supposed to fix it, I'ts possible gem store is down too now. Alternatively, I may have DLd the wrong patch)

And my mouse problem with raw3 still exists (Every other time it locks the mouse at the borders of the screen)
ThE_TemPLaR
Level 1
Level 1
Posts: 9
Joined: Tue May 05, 2009 4:43 am

Re: Guild Wars 2 for wine - what is needed?

Post by ThE_TemPLaR »

So, I was able to compile Wine with the right patches, and I'm able to use the mouse and see the trading post but I'm unable to sell anything.
It keeps loading indefinitely when I sell...

Anyone have any idea ? The awesomium log just keep repeating "WSALookupServiceBegin failed with: 8"
wilroz
Newbie
Newbie
Posts: 1
Joined: Sat Sep 01, 2012 8:35 am

Re: Guild Wars 2 for wine - what is needed?

Post by wilroz »

ThE_TemPLaR wrote:So, I was able to compile Wine with the right patches, and I'm able to use the mouse and see the trading post but I'm unable to sell anything.
It keeps loading indefinitely when I sell...
That might not be caused by wine, actually. A lot of people seem to have problems with the trading post.
marvalis
Newbie
Newbie
Posts: 4
Joined: Sun Aug 26, 2012 8:06 am

Re: Guild Wars 2 for wine - what is needed?

Post by marvalis »

I am running GW2 on wine with a radeon HD 4830 with the default ubuntu propretary drivers.
The game is really, really slow. It only uses my cpu (not the gpu I think) and I think that is why I am having so many issues.

The game is playable solo but when there are multiple effects triggering I get instant fps lag.

Any advice/help would be very much appreciated, I am getting desperate. I could try downloading and installing the latestdrivers from ATI, but I have had really bad experiences with that in the past (including having to reinstall ubuntu and many hours waisted).
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

Made it to orr and 80 without touching windows!

Unfortunately, wine 1.5.11 (I recompiled for trade post patch) keeps getting handle underruns with pulseaudio... These completely freeze the program for 1 second every 2 or 3 seconds until you kill it. Not acceptable.
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

http://www.youtube.com/watch?v=7joFPC_WgNI

Demonstrating a reproduceable mouse bug and rendering bug - I can't get into bugzilla and the admin email isn't responding so if someone else could report these that would be nice (The rendering bug is the same one as in GW1 here)
lensor
Level 2
Level 2
Posts: 13
Joined: Thu Mar 22, 2012 4:00 pm

Re: Guild Wars 2 for wine - what is needed?

Post by lensor »

OK, this might be a silly question, but where is the trade post patch? I have heard from several sources that it is available, but have not found the actual thing/a description. :?
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

As posted on the test cases, and in the bug lists (Seriously, did you look?)

http://bugs.winehq.org/show_bug.cgi?id=27168#c41
lensor
Level 2
Level 2
Posts: 13
Joined: Thu Mar 22, 2012 4:00 pm

Re: Guild Wars 2 for wine - what is needed?

Post by lensor »

:shock: Apparently I had found it during my looking but was so sure it could not be the one everyone was talking about due to the discussion (it seemed so much like a work-in-progress to me, with no link to the final version) and the time frame (thought the patch would be newer than from last year). :oops:
It might be a bit beyond me at this time to really understand all of that though, or at least well enough to implement it. I have seen some of the tips you've written though, so will do my very best. Thank you. :)
mikkelkromann
Level 2
Level 2
Posts: 12
Joined: Tue Nov 01, 2011 3:10 am

Re: Guild Wars 2 for wine - what is needed?

Post by mikkelkromann »

Ah - SOLVED! Got rid of a very annoying foggy effect, where almost anything in my vicinity was foggy. In wine regedit.exe I set

HKEY_CURRENTUSER / Software / Wine / Direct3D / UseGLSL

to "Enable" which made my view clear and crisp, although graphical performance became a bit more "abrubt" (no drop in reported FPS, but it definitely felt like a degredation).
I have built a 32 bit Wine 1.5.11 with raw3.patch on Ubuntu 12.04 (64 bit), I have Nvidia GTX560 and Nvidia proprietary driver version 295.49 and AMD Phenom IIx4 965.
I run wine Gw2.exe -dx9single
If someone would like some more detailed output from me, please give some hints on what parameters to pass to wine and GW2

Have to agree with Lensor - patches and workarounds are a bit hard to identify exactly from this forum when being a bit newbie.
IMHO it would be nice if we were a bit better to post more exact instructions or links to those (I tried to do so above).
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

You're supposed to look at the bug list but very well:

http://bugs.winehq.org/show_bug.cgi?id=27168#c41
http://bugs.winehq.org/show_bug.cgi?id=27168#c41

After patching run

./tools/make_requests
./configure --prefix="~/winebuild"
make
make install

Also, you should use a separate wine prefix, that way the glsl thing wouldn't have happened...
ThE_TemPLaR
Level 1
Level 1
Posts: 9
Joined: Tue May 05, 2009 4:43 am

Re: Guild Wars 2 for wine - what is needed?

Post by ThE_TemPLaR »

wilroz wrote:
ThE_TemPLaR wrote:So, I was able to compile Wine with the right patches, and I'm able to use the mouse and see the trading post but I'm unable to sell anything.
It keeps loading indefinitely when I sell...
That might not be caused by wine, actually. A lot of people seem to have problems with the trading post.
Indeed, I've been able to trade both ways without problems. The problems I witnessed were due to network lag.

That said, I modified the wine 1.5.11 SRPMS and made i386 RPMS, useable with Fedora 17 x86_64, with the patches already included. Does anyone know where I could upload them ?
marvalis
Newbie
Newbie
Posts: 4
Joined: Sun Aug 26, 2012 8:06 am

Re: Guild Wars 2 for wine - what is needed?

Post by marvalis »

J V wrote:./configure --prefix="~/winebuild"
make
make install
Does that mean I can install wine into a different prefix while keeping my 1.4 stable version?

I ran into some problems explained here:
http://appdb.winehq.org/objectManager.p ... &iId=26558

How can I run Wine from the build directory without doing sudo make install?

Thanks a ton!
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

Issues I've seen to date:
  • Installer doesn't work
    Workaround: Using launcher exe directly.
  • Launcher is black and typing in game causes freeze
    Workaround: Running with -dx9single.
  • Updating crashes, restarts at 0%
    Workaround: It's at 0% of the remaining download, just keep restarting it and it will get there in the end.
  • Rawinput bug
    Rawinput patch only works partially, every other mouse move the camera locks when pointer hits side of screen possibly due to window focus? (I note that it locks every time when running in a virtual desktop)
  • Trading post is hard to read
    Trading post works with patch but fonts are hard to read (Numbers are almost illegible) Does anyone know how to fix this? It seems like a simple problem to be fixed with a regedit or something.
  • Texture corruption/poly dissapearance with distance
    Could someone please post a link to my video demonstrating this bug on the bug page as I can't get into bugzilla to do it myself!
  • Shadows/Reflections not being handled by graphics card
    More than doubles my framerate to disable these options while the others are being offloaded as they should be, needs investigation.
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

The guys at PoL have built a GW2 wine with the raw and trade patches, I'll be switching to that as they're based on 1.5.12 and mine was 1.5.11

It's a lot better than compiling yourself, and you just change your extension to .tar.bz2 if you want to use it manually
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

In flame temple tombs and spider nest cavern (North diessa plateau) all the models appear to be "Sliced" horizontally and so there are thin black lines on everything (Even my character) does anyone else get this? (And on windows?)
JaqFrost
Newbie
Newbie
Posts: 3
Joined: Tue Sep 04, 2012 5:42 pm

Re: Guild Wars 2 for wine - what is needed?

Post by JaqFrost »

I'm noticing the sliced lines as well especially in Rata Sum with wine 1.5.12 but no signs of the sliced lines under windows. As for the partially disfunctional rawinput I managed to remedy that for my setup. After I disabled virtual desktop along with regediting [HKCU\Software\Wine\X11 Driver] UseXVidMode=Y I no longer have every other mouselook get stopped by the window borders.

I was using virtual desktop to stop my dual monitor from stretching the game across both displays in Twinview then read about this UseXVidMode to remedy the dual screen stretch rather. I also had to let the window manager control the windows again with winecfg for the keyboard input to be recognized ingame with the switch.
SnakeAes
Newbie
Newbie
Posts: 1
Joined: Tue Sep 04, 2012 6:39 pm

Re: Guild Wars 2 for wine - what is needed?

Post by SnakeAes »

Hey guys, I'm new to Mac and Wine, but not new to PC or tech in general. A friend of mine runs a Mac and has been asking me to help him install GW2 on his Macbook (no idea if it will even be up-to-par graphically, but all he cares about is trying - he'll crank graphics down to minimum if he has to). Being fairly savvy with PCs I figured it couldn't be that difficult, but I am encountering a few hiccups.

Sorry if any of this has already been addressed earlier in the thread.

I have Wine installed as well as all the necessary prerequisite stuff like MacPorts and XCode. It looks like Guild Wars 2 is properly installed as I can ls the Program Files/Guild Wars 2 folder and it shows the gw2.exe file.

When I run:
$ wine gw2.exe

It launches XQuartz with the patcher, but it hangs at 0/0 and eventually just goes black.

What's my issue and how can I fix it?
Locked