Test Drive Unlimited

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Vanack Sabbadium
Level 1
Level 1
Posts: 6
Joined: Sat Sep 26, 2009 3:47 am

Test Drive Unlimited

Post by Vanack Sabbadium »

Hi everybody.
I was able to run Test Drive Unlimited, but the gamepad doesn't work.
If i press a button during the intro, it skips that and goes to the main menù, but when i try to remap the buttons, i get this error:

Code: Select all

fixme:dinput:joy_polldev joystick cannot handle type 4 event (code 4)
I searched in this forum and i tried these things:

- I changed the permissions to /dev/input/event? (chmod 777)
- I installed xserver-xorg-input-joystick
- I am able to calibrate the gamepad on Ubuntu AND i am able to use that on Tomb Raider: Anniversary (it works perfectly)

What more can i do? Could it be a bug of the game itself?
Thanks!
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Test Drive Unlimited

Post by vitamin »

Vanack Sabbadium wrote:i get this error:
fixme:dinput:joy_polldev joystick cannot handle type 4 event (code 4)
Ignore this error. Event type 4 is EV_MSC - something Wine doesn't use/need.

What the real problem you are having? Also what Wine version?
Vanack Sabbadium
Level 1
Level 1
Posts: 6
Joined: Sat Sep 26, 2009 3:47 am

Post by Vanack Sabbadium »

Oh yeah, sorry, i forgot to mention the real problem.
I have 1.1.29 version of Wine, and the problem is that the gamepad doesn't work!
It seems that it's recognized, but i can't remap the buttons and the axis and so it doesn't work ingame.

I repeat, it works perfectly in Tomb Raider Anniversary...
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Vanack Sabbadium wrote:I have 1.1.29 version of Wine, and the problem is that the gamepad doesn't work!
Upgrade to wine-1.1.30. There were few fixes in that code.
Vanack Sabbadium
Level 1
Level 1
Posts: 6
Joined: Sat Sep 26, 2009 3:47 am

Post by Vanack Sabbadium »

I've been able to configure the axis, so i can accelerate, brake and turn... But i've not been able to configure the buttons. When i try to remap the buttons, it says "please press a button at time"...
Vanack Sabbadium
Level 1
Level 1
Posts: 6
Joined: Sat Sep 26, 2009 3:47 am

Post by Vanack Sabbadium »

OMG!
I solved the problem...

Trying some possible solution, i ran:

WINEDEBUG=+dinput wine TestDriveUnlimited.exe 2>&1 | grep joydev_enum_device

I did that to find the name of the gamepad, but when i was in the game, i was able to configure the buttons and the axis!
If i simply run TestDriveUnlimited.exe, i can't configure the buttons, but with that line, i can!

So the best solution is:

- Run WINEDEBUG=+dinput wine TestDriveUnlimited.exe 2>&1 | grep joydev_enum_device
- Configure and remap the buttons and the axis
- Exit the game
- Run the executable TestDriveUnlimited.exe

I know it's strange, but it works!
Can anyone put [SOLVED] at the beginning of the title of the topic, please?
Thank you, Vitamin.
Locked