Page 1 of 1

Karts move backwards!

PostPosted: 08 Apr 2011, 14:16
by lelkoun
I installed 0.7.1 RC 1. I probably have set something wrong - this happens always when I want to play:

http://www.youtube.com/watch?v=pzpOIFbfEFU

What should I do to fix it?

Re: Karts move backwards!

PostPosted: 08 Apr 2011, 14:28
by Arthur
First we need some additional information. Do you have any additional controllers plugged in, besides the keyboard? Could you please post the file ~/.config/supertuxkart/input.xml so we can see what your key bindings are?

Re: Karts move backwards!

PostPosted: 08 Apr 2011, 14:33
by 3dwarehouse
You can also check your keys by going to the supertuxkart settings.

Re: Karts move backwards!

PostPosted: 08 Apr 2011, 15:36
by lelkoun
I use only the keyboard, nothing else.

{l Code}: {l Select All Code}
<input version="1">

<keyboard>

    <action name="steerLeft" id="37" event="1" character="0" />
    <action name="steerRight" id="39" event="1" character="0" />
    <action name="accel" id="38" event="1" character="0" />
    <action name="brake" id="40" event="1" character="0" />
    <action name="nitro" id="190" event="1" character="46" />
    <action name="drift" id="189" event="1" character="45" />
    <action name="rescue" id="13" event="1" character="13" />
    <action name="fire" id="163" event="1" character="0" />
    <action name="lookBack" id="161" event="1" character="0" />
    <action name="menuUp" id="38" event="1" character="0" />
    <action name="menuDown" id="40" event="1" character="0" />
    <action name="menuLeft" id="37" event="1" character="0" />
    <action name="menuRight" id="39" event="1" character="0" />
    <action name="menuSelect" id="13" event="1" character="0" />
    <action name="menuCancel" id="8" event="1" character="0" />
</keyboard>


<gamepad name ="ST LIS3LV02DL Accelerometer" enabled="true">

    <action name="steerLeft" id="0" event="2" character="0" direction="0" />
    <action name="steerRight" id="0" event="2" character="0" direction="1" />
    <action name="accel" id="1" event="2" character="0" direction="0" />
    <action name="brake" id="1" event="2" character="0" direction="1" />
    <action name="nitro" id="1" event="3" character="0" />
    <action name="drift" id="2" event="3" character="0" />
    <action name="rescue" id="3" event="3" character="0" />
    <action name="fire" id="0" event="3" character="0" />
    <action name="lookBack" id="4" event="3" character="0" />
    <action name="menuUp" id="1" event="2" character="0" direction="0" />
    <action name="menuDown" id="1" event="2" character="0" direction="1" />
    <action name="menuLeft" id="0" event="2" character="0" direction="0" />
    <action name="menuRight" id="0" event="2" character="0" direction="1" />
    <action name="menuSelect" id="0" event="3" character="0" />
    <action name="menuCancel" id="3" event="3" character="0" />
</gamepad>


</input>


I deleted the dir (.config/supertuxkart), but the karts still move backwards. (When the race starts, I get penalized for some reason.)

BTW, why cannot I open files config.xml and highscore.xml in gedit? It says something about wrong encoding.

Re: Karts move backwards!

PostPosted: 08 Apr 2011, 15:46
by 3dwarehouse
You use the 8 key and 0 key to drive? 8 is the accelerate. and 0 is the brake.
And you have another device on that list.

Re: Karts move backwards!

PostPosted: 08 Apr 2011, 15:48
by Arthur
Your setup looks fine. But what happens if you disable the gamepad? Still the same problem?

You need to set Unicode (UTF-32) as encoding.

Re: Karts move backwards!

PostPosted: 08 Apr 2011, 15:55
by lelkoun
Arthur {l Wrote}:Your setup looks fine. But what happens if you disable the gamepad? Still the same problem?


Now it works fine. Thanks!