Source code guide
You can find the source code for each game release from the SourceForge files page. Alternatively, you may use the following command to check out the latest source code snapshot from the Subversion repository:svn co https://fretsonfire.svn.sourceforge.net/svnroot/fretsonfire fretsonfireExtract the source code and copy the data directory from the game distribution to the extracted directory. To run the game, enter the src directory and type python FretsOnFire.py. Currently we offer precompiled binaries for Windows, Linux x86 and Intel Mac OS X.
Requirements
The game source code has the following dependencies:- Python 2.3 or newer (The game is written in the Python programming language)
- PyGame (PyGame provides access to video and audio hardware, among other things)
- PyOpenGL (Provides OpenGL functions for Python)
- Amanith Framework (The SVG graphics of the game are drawn with this OpenGL-based vector graphics library)
- PyAmanith (Makes Amanith usable from Python)
- Numeric (Matrix math routines)
- Python Imaging Library (Image manipulation routines)
- [Included] Illusoft Collada module (The 3D models of the game are in the Collada format)
- [Included] MXM Python Midi Package (The song notes are stored in MIDI files)
- [Included] Cerealizer (Used for saving things into files)
- [Optional] Psyco specializing compiler (Used for speed optimization)
- [Optional] GLEW OpenGL extension wrangler (Used for render-to-texture support)
- [Optional] PyOgg (Used for streaming OGG files from the disk)
- py2exe (Used to make the EXE file on Windows)
- cx_Freeze (Used to make the binary file on Linux)
- Epydoc (Used to generate the source code reference documentation)
Guide to building the game on Mac OS X and and associated files by Tero Pihlajakoski.