stk and gamepads; slow driving

stk and gamepads; slow driving

Postby mispelhage » 06 Mar 2011, 10:55

hello,

i love this game but needed to protect the keyboard of my laptop, so i bought some gamepads. In the setup I assigned a new keyboard-setup for each gamepad. With Qjoypad this should work. This worked fine in 0.6, but a problem occurred since 0.7: I can drive only at a speed of 110 using gamepads, this will be 200 using the keyboard.



What am i doing wrong?
mispelhage
 
Posts: 6
Joined: 06 Mar 2011, 10:49

Re: stk and gamepads; slow driving

Postby Auria » 06 Mar 2011, 16:52

Hi,

why are you mapping your gamepads to keyboard keys? You should be able to play directly with your gamepads
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: stk and gamepads; slow driving

Postby hiker » 07 Mar 2011, 00:09

mispelhage {l Wrote}:I can drive only at a speed of 110 using gamepads, this will be 200 using the keyboard.

Besides Auria's question: are you playing on the same difficulty level? On lower levels karts drive slower.

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: stk and gamepads; slow driving

Postby mispelhage » 15 Apr 2011, 13:49

sorry,

it took some time to try some different options. I run stk on Ubuntu, without a gamepad-driver installed (before i used to re-map keyboard-keys with Q-joypad). You're right; stk runs without it and the car is driving at normal speed. However; i cannot add another gamepad. The second gamepad is not noticed. I tried connecting without stk running and starting up with the two of them. I even tried restarting the computer to make it happen, but it doesn't.
Also, the logitech gamepad f310 is listed 360 x-box in the devices-list in stk. I tried to put the other gamepad on 'D' to add it to the devices list (at the back of the gamepad there is an button to select 'x' or 'D'). It doesn't work.

i don't know if this 'bug' is fixed in stk 7.1. Otherwise; who can help me on this?
mispelhage
 
Posts: 6
Joined: 06 Mar 2011, 10:49

Re: stk and gamepads; slow driving

Postby STKRudy85 » 15 Apr 2011, 14:08

Please you can check the button number ?
I think button 2 is a kind of recursive problem.

Acceleration isn't constant, isn't it ?
STK fan
User avatar
STKRudy85
 
Posts: 532
Joined: 23 Dec 2010, 03:00
Location: France

Re: stk and gamepads; slow driving

Postby Auria » 15 Apr 2011, 16:35

mispelhage {l Wrote}:sorry,

it took some time to try some different options. I run stk on Ubuntu, without a gamepad-driver installed (before i used to re-map keyboard-keys with Q-joypad). You're right; stk runs without it and the car is driving at normal speed. However; i cannot add another gamepad. The second gamepad is not noticed. I tried connecting without stk running and starting up with the two of them. I even tried restarting the computer to make it happen, but it doesn't.
Also, the logitech gamepad f310 is listed 360 x-box in the devices-list in stk. I tried to put the other gamepad on 'D' to add it to the devices list (at the back of the gamepad there is an button to select 'x' or 'D'). It doesn't work.

i don't know if this 'bug' is fixed in stk 7.1. Otherwise; who can help me on this?


Hi,

did you plug two identical gamepads? In this case the options screen will only show one entry.

As to one your logitech gamepad is listed as x-box, that's weird, I would guess a driver issue
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: stk and gamepads; slow driving

Postby mispelhage » 16 Apr 2011, 18:23

stkRudy85: slow driving has been solved by playing with one gamepad without a driver running.

Aria: Yes, indeed. I try to use two identical gamepads logitech F310. I expected them to be listed gamepad_1 and gamepad_2 or something alike. Also the second gamepad won't function when a press fire to add another driver. Sometimes a keyboard driver is added automatical. I don't use any drivers, because you said stk will function without them. Before i used Q-joypad to remap keyboard to gamepads. That worked fine in stk 0.6! I still don't understand why it doesn't work in stk 0.7...

I guess i should install the windows-driver delivered whit the gamepads???

greetings, Jeroen
mispelhage
 
Posts: 6
Joined: 06 Mar 2011, 10:49

Re: stk and gamepads; slow driving

Postby Auria » 16 Apr 2011, 19:46

Hmmm, it's normal you see only one entry in the options screen, because on this screen we display gamepad brands only. Since both are the same brand then you would see only one entry

it is NOT normal however that pressing fire does not work.
Can you try running STK from terminal with --gamepad-visualisation flag? Then press keys on both and see if we get them
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: stk and gamepads

Postby mispelhage » 17 Apr 2011, 08:22

hey aria,

I've never worked with the terminal running program's before. But it's eye-opening!
The command suggested (--gamepad-visualisation flag) is not known.
When I type the command ' supertuxkart -h' , the menu states no options concerning gamepads. Can you tell me which command to type?

greetings,
Jeroen
mispelhage
 
Posts: 6
Joined: 06 Mar 2011, 10:49

Re: stk and gamepads; slow driving

Postby Auria » 17 Apr 2011, 17:05

Hi,

can you give me the exact command you use, and the exact output it gives back?

Also, which OS do you use?
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: stk and gamepads; slow driving

Postby mispelhage » 17 Apr 2011, 19:22

operation system is Ubuntu 10.10 latest version, all updates.

ok, here it comes:

smispelhage@mispelhage-laptop:~$ supertuxkart --gamepad-visualisation flag
Irrlicht Engine version 1.7.2
Linux 2.6.35-28-generic #49-Ubuntu SMP Tue Mar 1 14:40:58 UTC 2011 i686
[FileManager] Data files will be fetched from: '/usr/share/games/supertuxkart/'
[IrrDriver] Creating NULL device
Irrlicht Engine version 1.7.2
Linux 2.6.35-28-generic #49-Ubuntu SMP Tue Mar 1 14:40:58 UTC 2011 i686
[IrrDriver] Trying OpenGL rendering.
[IrrDriver] Tring to create device with 32 bits
[TrackManager] Warning: track 'Volcano' is not supported by this binary, ignored.
[TrackManager] Warning: track 'artmuseum' is not supported by this binary, ignored.
Error while parsing KartProperties '/usr/share/games/supertuxkart//data/karts/0.7 Frankie/kart.xml':
Couldn't load kart properties '/usr/share/games/supertuxkart//data/karts/0.7 Frankie/kart.xml': no kart node.
[Irrlicht Error] Could not load texture:
[KartPropertiesManager] Warning: kart '0.7 Frankie' is not supported by this binary, ignored.
Invalid parameter: --gamepad-visualisation.

Usage: supertuxkart [OPTIONS]

Run SuperTuxKart, a racing game with go-kart that features the Tux and friends.

Options:
-N, --no-start-screen Immediatgely start race without showing a menu.
-t, --track NAME Start at track NAME (see --list-tracks).
--gp name Start the specified Grand Prix. --stk-config FILE use ./data/FILE instead of ./data/stk_config.xml
-l, --list-tracks Show available tracks.
-k, --numkarts NUM Number of karts on the racetrack.
--kart NAME Use kart number NAME (see --list-karts).
--list-karts Show available karts.
--laps N Define number of laps to N.
--mode N N=1 novice, N=2 driver, N=3 racer.
--item STYLE Use STYLE as your item style.
-f, --fullscreen Select fullscreen display.
-w, --windowed Windowed display (default).
-s, --screensize WxH Set the screen size (e.g. 320x200).
-v, --version Show version of SuperTuxKart.
--trackdir DIR A directory from which additional tracks are loaded.
--renderer NUM Choose the renderer. Valid renderers are: (Default: 0, OpenGL: 1, Direct3D9: 2,
Direct3D8: 3, Software: 4,
Burning's Software: 5, Null device: 6).
--server[=port] This is the server (running on the specified port).
--client=ip This is a client, connect to the specified ip address.
--port=n Port number to use.
--numclients=n Number of clients to wait for (server only).
--log=terminal Write messages to screen.
--log=file Write messages/warning to log files stdout.log/stderr.log.
-h, --help Show this help.

You can visit SuperTuxKart's homepage at http://supertuxkart.sourceforge.net

AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
AL lib: ALc.c:1420: alcDestroyContext(): deleting 1 Source(s)
AL lib: ALc.c:1818: alcCloseDevice(): deleting 24 Buffer(s)
mispelhage@mispelhage-laptop:~$
mispelhage
 
Posts: 6
Joined: 06 Mar 2011, 10:49

Re: stk and gamepads; slow driving

Postby Auria » 17 Apr 2011, 20:17

mispelhage, OK, you are using STK 0.7.0. Can you update to 0.7.1 ?
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: stk and gamepads; slow driving

Postby mispelhage » 12 May 2011, 19:27

ok,

i updated to o.7.b. I typed 'supertuxkart --gamepad-visualisation flag' in the terminal. I saw the 'flags' and watched while i pushed all buttons on both gamepads. One gamepad doesn't work at all. The other showed action on flag 1, and for some buttons on flag 2. Which is strange.

I'm going to try some more, by the way; how can you escape from the flags-thing. I did by shutting down since nothing else worked.

In the meantime, suggestions are welcome.

greetings, mispelhage
mispelhage
 
Posts: 6
Joined: 06 Mar 2011, 10:49

Re: stk and gamepads; slow driving

Postby Auria » 13 May 2011, 01:01

Hi,

sadly what you describe seems to be that your input drivers are confused, there's very little we can do about it

and I'm sorry about not being able to close this screen, indeed in fullscreen mode gamepad-visualisation can be problematic to exit, I'll fix that for next release
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Who is online

Users browsing this forum: Bing [Bot] and 1 guest