Updated the documentation. There is still a few flaws.
[supertux.git] / INSTALL
1
2 - Install instructions for SuperTux -
3 http://super-tux.sf.net/
4
5 Last update: April 26, 2004
6
7 REQUIREMENTS
8 ------------
9
10   CONTROLS
11   --------
12     The game can be played with either a the keyboard or a joystick.
13
14   SDL
15   ---
16     "Super Tux" was programed using the "Simple Direct Media" layer
17     libraries by Sam Lantinga.  This means that the game can
18     theoretically run under any environment that the SDL libraries support.
19
20     (As of this program's release, this includes: Linux X11/DGA,
21     Win32 WinDIB/DirectX, BeOS BWindow, and Solaris X11, as well
22     as unofficually supported: Linux SVGAlib, IRIX 6.x X11,
23     FreeBSD 3.x X11, and MacOS.)
24
25     The Simple DirectMedia Layer is required to compile this game.
26
27     You can download the SDL libraries from:
28       http://www.libsdl.org/
29
30   SDL_image
31   ---------
32     SDL_image is also required.  (It is used to load the PNG format images
33     that come with Super Tux!)
34
35   SDL_mixer
36   ---------
37     Sound and music are available, but are not required (see below).
38     You will need the "SDL_mixer" library compiled and installed if
39     you want sound.
40
41   OpenGL implementation (optional)
42   ---------------------
43     Mesa should be installed in order to compile, but it is painly
44     slow when running, so we advise you to install your videocard
45     drivers (of course, it has to be an accelerated videocard).
46     For linux, nvidia vendor is the only one that makes decent drivers.
47     But the ATI drivers should run with the same performance, since
48     it only uses accelerated 2d, not 3d.
49     Anyway, you can use the SDL frontend and you most likely won't
50     notice any difference.
51
52
53 INSTALLING UNDER LINUX/UNIX
54 ---------------------------
55   -----------------------------------------------------------------
56   Note: Read this entire section before you start issuing commands!
57   -----------------------------------------------------------------
58
59   SuperTux uses a script that checks for dependency and disables
60   features, in case they are not found.
61   The script is the configure and you can specify a few stuff
62   like the directory to which you want to install SuperTux,
63   by giving the argument --prefix=/usr/local (ie). For more
64   informations, type './configure --help'.
65   (Note: SuperTux does not need to be installed in the system,
66   you can run it from its own directory.)
67
68   If there isn't any configure script (ie. in case, you got it
69   via cvs), just run the autogen.sh script.
70
71   To compile it, a 'make' is enough.
72   Type 'make install' (as root) to copy it into the system.
73   (default directory is /usr/local, see above how to change
74   this.)
75
76   So, in short, just type:
77   sh autogen.sh (in case there isn't any configure file already)
78   sh configure
79   make
80
81   And in case you want to copy SuperTux to the system:
82   make install (as root)
83
84
85 ICON FILE
86 ---------
87   A 32x32, XPM-format icon file is available if you wish to use
88   an icon for a menu entry for this game.
89
90   The file is "icon.xpm", and can be found at  the data/images/
91   directory.