 Playing MotoGT on GNU/Linux
=============================

To run the game on GNU/Linux there tow options:
 * first try running one of the precompiled binaries: ./MotoGT-32.bin or ./MotoGT-64.bin,. In order to run them you need to have a runtime version of sfml 1.5 or higher. Install it with your distribution's package manager.
 * compile your own binary (read next section) and then run with "./MotoGT.bin".

If you need more help, write to zaskar_84@yahoo.com.ar


 Compilling
============

You need:
   the c++ gcc compiler (g++)
   devel version of SFML library 1.5 or newer (http://www.smfl-dev.org)
   libpng headers (http://www.libpng.org)

To check if you have the compiler, just type "g++" in a terminal. If you see something like "g++: no input files", its ok. If it's not there use your distribution's package manager to install it.

If you can't compile and see a lot of errors, may be you need to install devel version of sfml and other libs (libpng and zlib may also be required). If you see just a single error with something about "SetRelativoToListener", you have a version of sfml that is too old for this game, so you need to update it. The easy way is to use your distribution package manager (important: install the dev/devel version). The other way is to download source code and do it manually, and it's not too hard, just download the correct sdk package, and do "make && sudo make install", but you may need more dependences (mesa, openal, sndfile, ...).


For example, for building the 64bits binary file in Ubuntu 9.10 I had to:
 * install stuf from package manager (synaptic, or apt-get):
    * g++
    * libgl1-mesa-dev
    * libglu1-mesa-dev
    * libxrandr-dev
    * libfreetype6-dev
    * libopenal-dev (agregar los repositorios universe)
    * libsndfile-dev (o libsndfile1-dev)
    * libpng12-dev
 * install sfml manually (may be on newer Ubuntus you can just install libsmfl-dev from synaptics)
    * download sfml sdk 1.6 and extract
    * run "make" and "sudo make install" commands on the extracted directory
 * run "make" command on MotoGT directory

If you cannot compile the game and you decide to write me, you can run this
   make &> compile.txt
and attach the generated file compile.txt. That may help me figuring out the problem.
