[Official] WINE info thread

"
discomfitor wrote:
long time no see, it's me again. work has kept me busy, but I'm back for a bit.

I have the game working fine with a small wine hack, and I am working with GGG to (hopefully) have it fixed on the game side so that everyone will not have to use patched wine in order to play.

depending on the time taken to resolve this either I will post the patch in a day or two or there will be a game patch which resolves it. please be patient!


Great. I was thinking of pm:ing you as you had a solution to the previous problems, so it is nice to see that you have one :)
www.theamazonbasin.com
Hi

great that you are working on it. Even better if GGG listens to you:)

Post the patch here anyway, i'd like to know what you did. (or send it via PM).
For Sale: Parachute! Used once, never opened, little stained.
having spoken with GGG, I feel confident that an upcoming game patch will fix this issue.

the problem is caused by PoE attempting to call SetPixelFormat() on the root window during device initialization in its startup, and it is the same as this bug. since the error detection written by GGG is superior to that of the game in the bug, a simple error dialog shows up instead of a crash.

for those of you bold enough to try, the hack linked through that bug can be modified slightly to work with current versions of WINE.
"
discomfitor wrote:
having spoken with GGG, I feel confident that an upcoming game patch will fix this issue.

the problem is caused by PoE attempting to call SetPixelFormat() on the root window during device initialization in its startup, and it is the same as this bug. since the error detection written by GGG is superior to that of the game in the bug, a simple error dialog shows up instead of a crash.

for those of you bold enough to try, the hack linked through that bug can be modified slightly to work with current versions of WINE.


Great to hear! Thanks so much!
"
discomfitor wrote:
for those of you bold enough to try, the hack linked through that bug can be modified slightly to work with current versions of WINE.


Has anyone had any success with this? If so, would you mind giving a step by step guide on how you did it? That would be great :)
Well it works, if you compile wine yourself.

However, due to the nature of wine (install and uninstall) i'd suggest to wait until poe patch comes.

wineHQ says they will fix the problem after 1.4 is officially released, which should be March-April.

Now to patch it manually, you need the source code of wine. Then edit "/dlls/winex11.drv/opengl.c".
You'll find the relevant bits of code around line 1633.

Where you need to change in this 'if statemet':
"
if(get_glxdrawable(physDev) == root_window)
{
ERR("Invalid operation on root_window\n");
return FALSE;"
}
"
to this:

"
if(get_glxdrawable(physDev) == root_window)
{
physDev->current_pf = iPixelFormat;
FIXME("cannot set pixel format on root window\n");
return TRUE;
}
"

and then save the file and install wine.


PS. I tried this on 1.4 rc2 source, but it should work on stable 1.3 as well.

PPS. My ubuntu laptop does not have good graphic card, therefore i got only 10fps and that is not enough to play. So i do not know if there are any other problems with the PoE on wine.
For Sale: Parachute! Used once, never opened, little stained.
Last edited by gorkhawn on Feb 13, 2012, 4:11:46 AM
"
gorkhawn wrote:
Well it works, if you compile wine yourself.

However, due to the nature of wine (install and uninstall) i'd suggest to wait until poe patch comes.

wineHQ says they will fix the problem after 1.4 is officially released, which should be March-April.

Now to patch it manually, you need the source code of wine. Then edit "/dlls/winex11.drv/opengl.c".
You'll find the relevant bits of code around line 1633.

Where you need to change in this 'if statemet':
"
if(get_glxdrawable(physDev) == root_window)
{
ERR("Invalid operation on root_window\n");
return FALSE;"
}
"
to this:

"
if(get_glxdrawable(physDev) == root_window)
{
physDev->current_pf = iPixelFormat;
FIXME("cannot set pixel format on root window\n");
return TRUE;
}
"

and then save the file and install wine.


PS. I tried this on 1.4 rc2 source, but it should work on stable 1.3 as well.

PPS. My ubuntu laptop does not have good graphic card, therefore i got only 10fps and that is not enough to play. So i do not know if there are any other problems with the PoE on wine.


Perfect! Thank you so much! You, sir, are my hero. :)
"
gorkhawn wrote:
and then save the file and install wine.

technically, as long as you are building for the same arch as your binary, you can just build and install this one dll, replacing the existing one.
new patch is here, and still doesn't work. could you provide that patched library for those not comfortable enough to build wine themself pretty please?
Last edited by thexspr on Feb 14, 2012, 6:56:35 AM
"
thexspr wrote:
new patch is here, and still doesn't work. could you provide that patched library for those not comfortable enough to build wine themself pretty please?

+1
www.theamazonbasin.com

Report Forum Post

Report Account:

Report Type

Additional Info