|
RunningUnderGNULinux
How to run FoFiX under GNU/Linux
IntroductionThe following provides instructions to get FoFiX running on (hopefully) any (modern?) GNU/Linux distribution. Comments and suggestions are always welcome. Note: In all places where the python interpreter is called, python can be replaced by a specific version e.g. python2.5. Remember that if you do it once, you'll have to do it everywhere. Getting FoFiXYou can either get the latest stable release in the form of an archive or get the source from our Subversion server. If you choose the first possibility, head to our download page and get and extract the source archive. If you choose the second option, you are required to have the svn client to do the following:
It is highly recommended that when you use the unstable version (when you become an Alpha tester), you keep a separate FoFiX folder containing a full install of the latest stable release - as the Alpha versions' new features and bugfixes might cause other issues affecting playability. Alternatively, be familiar with your svn clients method of rolling back to previous revisions so you can downgrade to a working revision if the latest one breaks on you e.g. at the commandline, you may use svn up -r<revision_number> to rollback to the specified version. Generic instructionsThe following gives instructions that should work on most GNU/Linux distributions. If there are specific instructions for your distribution, you may want to have a look at that section instead of this one. Install dependenciesYou need to install these packages:
Optionally, if you are in 32bit you can also install Psyco. Getting and installing pygame 1.9.xThe following downloads and builds the latest pygame release. Note that the last step needs to be done as root (e.g. using sudo) if you choose to install pygame (system-wide). wget http://www.pygame.org/ftp/pygame-1.9.1release.tar.gz tar xvf pygame-1.9.1release.tar.gz cd pygame-1.9.1release/ python setup.py Optional Voice Support
Detailed instructions still to come. Optional PitchBendingRequirementsIn order to build John Stumpo's pitchbend module you first need to install...
Compiling
Links to your songs and themesYou may very well use symbolic links to point to your songs and themes. That prevents you from having to copy your files over and over. Here are two examples: ln -s ~/games/FoFiX/data/songs/ ~/games/fofix-3.120~rc1/data/songs ln -s ~/games/FoFiX/data/themes/RB2\ Spanish ~/games/fofix-3.120~rc1/data/themes/RB2\ Spanish Running the game
Note: If you are using custom built but not installed libraries, use the PYTHONPATH environment variable e.g. PYTHONPATH=~/pygame-1.9.1release/build/lib.linux-x86_64-2.5:~/pyaudio/build/lib.linux-x86_64-2.5 python FoFiX.py Distribution-specific instructionsIf your distribution is not listed here and you got FoFiX to work, please create a wishlist item on our issues tracker to share the required procedure. Debian or UbuntuExecute the following as root to install the dependencies: apt-get install python-pygame python-opengl python-numpy python-imaging \ python-ogg python-pyvorbis python-pysqlite2 python-xml python2.5-dev \ gstreamer-plugin-ffmpeg python-gst0.10 Notes:
See the generic instructions above for getting and executing FoFiX. ArchlinuxGet and install the latest PKGBUILD from this page. OpenSUSEGet and install the latest RPM from this page. |