This is the document presenting the Frequently-Ask-Questions about Super Tux Kart (also called STK) :

Contents

How can I install STK ?

For GNU/Linux, there's 4 possible methods to get this game :


  • Get a package version from your distro

You can do

apt-get install supertuxkart

or

aptitude install supertuxkart

or for Fedora

yum install supertuxkart

or for Gentoo

emerge supertuxkart

or for UHU

get it at http://uhu.linux.hu/

For SuSE Linux / openSUSE, you can add the games:/action repository and then install supertuxkart using your favourite tool (YaST, rug, zen-installer, zypper, smart)

There are 2 known repositories:
*http://ftp-1.gwdg.de/pub/opensuse/repositories/games:/action/ then browse to your Linux Version.
*http://download.opensuse.org/repositories/games:/arcade/.

SuperTuxKart is built for SuSE i586 and x86_64. For a manual download, have a look at http://software.opensuse.org/search?baseproject=games:arcade&p=1&q=supertuxkart

  • Install the binary version

Download the binary tarball from the STK Download area

tar -xjvf supertuxkart_bin_x86_linux.tar.bz2
cd supertuxkart-0.2

and to run STK:

run_game.sh


  • Install from the sources

Download the source tarball from the STK Download area

tar -xjvf supertuxkart-0.2.tar.bz2
cd supertuxkart-0.2
./autogen.sh && ./configure && make
sudo make install

and if it's OK, you can run STK:

supertuxkart


  • Install from SVN
svn co https://supertuxkart.svn.sourceforge.net/svnroot/supertuxkart/trunk/supertuxkart
cd supertuxkart
./autogen.sh && ./configure && make
sudo make install

and if it's OK, you can run STK:

supertuxkart


For Ubuntu Edgy Eft there is a guide contributed by Damien:

install following packages:

 apt-get install libsdl1.2-dev libopenal-dev libalut-dev libmikmod2-dev plib1.8.4-dev
 libglu1-mesa-dev subversion autoconf automake1.9 g++ gcc

do a:

$ svn co https://supertuxkart.svn.sourceforge.net/svnroot/supertuxkart/trunk/supertuxkart

then:

$ cd trunk

$ ./autogen.sh && ./configure && make

and if all went well:

$ src/supertuxkart


tested with g++ 3.3 and 4.1 , both succeeded.

What are the dependencies of STK ?

The current dependencies for the SVN STK are :

I have no sound or music in STK

There can be several reasons for this - obviously first check that your sound works with other applications, and make sure that no other application is using sound at the same time (which can be a problem with linux).

Recently, a bug on OpenSUSE 10.2 on ppc was discovered: to fix this, comment out the first line of /etc/openalrc:

;;(define devices '(alsa native)) 

I compiled STK myself, but it crashes at the start !

Version 1.8.4 of plib contains a bug which causes loading of the kart models to fail on windows (at least with Visual C++ compiler). This error was apparently fixed in the latest 1.8.5 release. If you prefer using 1.8.4, either download the custom version from our download page, or modify plib in order to work correctly. In PLIB_ROOT/src/ssg/ssgLoadAC.cxx replace:

     loader_fd = fopen ( filename, "ra" ) ;

with

     loader_fd = fopen ( filename, "r" ) ;

This should fix the crash.

The 0.4 windows executable doesn't run on my machine

First of all make sure that you installed the Visual Studio and OpenAL redistributables, which are included in the 0.4 installer. If you still get an error message indicating that the program could not be started, please download and install the latest version of the Visual Studio redistributables from http://www.microsoft.com/downloads/thankyou.aspx?familyId=200b2fd9-ae1a-4a14-984d-389c36f85647

The 0.5 release crashes if I move the cursor over some of the cups

You have installed 0.5 on top of a previous release. Some of the data files have changed, and the left over data files can cause a crash. You have to either remove this previous installation, or install 0.5 in a different directory.

I get "FATAL: ssgInit called without a valid OpenGL context."

This message is usually caused by problems with your opengl version or your graphics driver (esp. on Linux). If you are compiling SuperTuxKart yourself, make sure that you are using the right include files (which match the opengl library you are linking); and using proprietary video drivers seems to remove this error message as well.

I found a bug, how should I contact you ?

First, look at the STK Bugs page and submit a new one if it is not a duplicate.

I want to help! what can I do ?

  • Decide how you want to help; making tracks/karts or music/sound effects, programming, improving the website, testing for bugs... just pick what you like best, or that you think that needs most help.
  • Look into our TODO list to know what we need help with, thought you might find out of other issues through the mailing list. However, if you want to improve something not the the TODO list, go ahead! also, if you have done any private improvements already, we usually integrate them with the rest of the game if asked.
  • Contact the STK developer team through the mailing list's e-mail, or if you aren't too patient you can try your luck and try to find a developer on IRC (irc.freenode.net #tuxkart). Please tell us how you want to help.
  • There are some task specific things to know:
    • If you want to help with programming or test the game, you will need to create a building environment for STK; you can get the sources from SVN.
    • If you want to help with visual art or audio art, you will need to check the Tools page.
    • And no matter what you want to do, check the Developer's documentation for more task specific information.

Since using OpenAL I get frequent crashes, how can I fix it ?

This error apparently happens with versions prior to r858. The error code from alutInit wasn't handled correctly, causing the usage of invalid pointers when playing music. Later versions should handle this problem better. A work around might be to make sure that alut can be initialised correctly, e.g. making sure that no other application uses sound (e.g. just having xmms sitting in the background can cause this problem).

I get the compiler error message "error: void value not ignored as it ought to be"

Apparently some versions of alut contain a wrong (old??) declaration of alutInit. One known example is the RPM package openal-devel-20050801 for Suse. Please update alut and openal (it might be necessary to install this from the sources).

I'm getting rescued on top of the road without any reason !

Apparently, GCC 4.2.x decided it doesn't likes STK, so when STK is compiled with it in some tracks (like the star track) you will get rescued as if you were falling off the road. Try using the official binary for your system or compile the game with another version of GCC.

Thanks to hussam in the IRC channel for this.


Last modified June 6, 2008 6:54 am / Skin by Kevin Hughes, modified for STK. SourceForge.net Logo