INSTALL 2.9 KB

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