Gamepads not working

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Malla
Level 1
Level 1
Posts: 8
Joined: Sun Oct 26, 2008 9:35 am

Gamepads not working

Post by Malla »

Hi everyone,

when I try playing Atomic Bomberman with my gamepads, an ingame error message pops up saying:
"clue:'graf_print: coords off screen, x=320,y=170,w=322,h=20' internal error"

When there is no gamepad plugged in, I can play the game using my keyboard, it works perfectly. I don't know what's going on. I was able to play the game with multiple gamepads some months ago. Since I haven't changed anything at my PC/gamepads, I assume this issue was introduced in some of the newer wine versions.

I'm using Ubuntu 8.04, gamepads are MS Sidewinder (USB) and Logitech Cordless Rumblepad 2 (USB). They work fine with other games or emulators on the same machine.

This is my logfile.

best regards
Malla
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Gamepads not working

Post by vitamin »

Malla wrote:when I try playing Atomic Bomberman with my gamepads, an ingame error message pops up saying:
"clue:'graf_print: coords off screen, x=320,y=170,w=322,h=20' internal error"

This is my logfile.
I don't see anything related to joystick in your log, only mouse.

If the game used to work before and doesn't now - please open a bug report in bugzilla. Then perform regression testing as described here: http://wiki.winehq.org/RegressionTesting
Malla
Level 1
Level 1
Posts: 8
Joined: Sun Oct 26, 2008 9:35 am

Post by Malla »

Ok, I finally found some time to do the regression testing. It seems this bug was introduced in wine-1.1.15-127-g466b682:

Code: Select all

466b682dc6ebb51afe9b632efc964d0a7e158e96 is first bad commit
commit 466b682dc6ebb51afe9b632efc964d0a7e158e96
Author: Rob Shearman <[email protected]>
Date:   Wed Feb 18 20:32:27 2009 +0000

    winejoystick.drv: Use CP_UNIXCP instead of CP_ACP when converting a string that comes 
from the OS.

:040000 040000 4cd652648a4df01b5c61c64dca684a69c97b816b 
dc9f1d78b80d602c8c4994f1976bb98107f6cdec M	dlls
In the AppDB you will find a link to a patch for Atomic Bomberman, that fixes the bug (in windows and wine).

Since everything is working fine now, it probably isn't worth to open a bug report in bugzilla - at least as long as there aren't any other games affected by it.

kind regards
Malla
James McKenzie

Gamepads not working

Post by James McKenzie »

Malla wrote:
Ok, I finally found some time to do the regression testing. It seems this bug was introduced in wine-1.1.15-127-g466b682:


Code:
466b682dc6ebb51afe9b632efc964d0a7e158e96 is first bad commit
commit 466b682dc6ebb51afe9b632efc964d0a7e158e96
Author: Rob Shearman <[email protected]>
Date: Wed Feb 18 20:32:27 2009 +0000

winejoystick.drv: Use CP_UNIXCP instead of CP_ACP when converting a string that comes
from the OS.

:040000 040000 4cd652648a4df01b5c61c64dca684a69c97b816b
dc9f1d78b80d602c8c4994f1976bb98107f6cdec M dlls



In the AppDB (http://appdb.winehq.org/objectManager.p ... n&iId=4774) you will find a link to a patch for Atomic Bomberman, that fixes the bug (in windows and wine).

Since everything is working fine now, it probably isn't worth to open a bug report in bugzilla - at least as long as there aren't any other games affected by it.


Create a Bugzilla account and VOTE for the bug. This lets the
developers know that there is one more person affected by this problem
and may actually confirm the bug. If there is no bug, create one.
Developers do NOT work off of code in the Applications Database.

James McKenzie
whatbug
Level 3
Level 3
Posts: 67
Joined: Sun Mar 14, 2010 4:49 am

Re: Gamepads not working

Post by whatbug »

I have the same problem with Atomic Bomberman and latest wine (1.6):

Code: Select all

"clue:'graf_print: coords off screen, x=320,y=170,w=322,h=20' internal error" 
First, I used wine 1.4 and updated the version afterwards. It didn't help. Even with wine 1.6 Bomberman doesn't run as long as a joypad is plugged.

I can't find the mentioned patch. I also don't understand how you guys fixed the problem.

Please help.
whatbug
Level 3
Level 3
Posts: 67
Joined: Sun Mar 14, 2010 4:49 am

Re: Gamepads not working

Post by whatbug »

To anybody suffering the same problem: This is a rare bomberman-bug. The fix is located here. Still don't believe there did exist a wine-bugfix for this anway (as mentioned in this threat before).
Locked