Bad performance and/or lags with wrong thread problems in Metro 2033 (Unreal Tournament 3, Counter Strike: Source, Metro 2033, Call of Duty 4, Left 4 Dead, Left 4 Dead 2, Final Fantasy XIV, Half-Life 2)
This How to is written by Dr. Wes Snyder V. ~Insomnium
Couple of items to note: 1. Need 32bit PREFIX, I could not get 64bit PREFIX working even if patches. I used a 32bit virtual machine to build. You could also build in a chroot. Seewiki.winehq.org/WineOn64bit for more information.
2. Need to create a local git repository and use git to obtain the source files to make changes. See wiki.winehq.org/GitWine for more information.
3 Apply changes to source code. The two changes necessary for this to run are the GW2, Awesomium, patch: bugs.winehq.org/show_bug.cgi?id=27168#c41[comment 41 has the patch]. Download the patch, or copy paste into text editor, and save as awesomium.patch.
Apply patch to git location: patch -p1 < awesomium.patch
And change the following file /dlls/user32/winstation.c to