install

Download Install

If you can't read please download the document

Upload: gil-souza

Post on 06-Sep-2015

214 views

Category:

Documents


1 download

TRANSCRIPT

Building and installing Frets on Fire-------------------------------------Running the game----------------First, the following supporting Python libraries should be installed.- Python 2.4 or later- PyGame- PyOpenGL and a video card with recent OpenGL drivers- Python Imaging Library- numpy- Optional: psyco specializing compilerAfter this, the game can be started by running the src/FretsOnFire.py file. Forexample, in Linux and Mac OS X this can be done from the terminal with thefollowing commands:$ cd src$ python FretsOnFire.pyUpdating translations---------------------First, make sure you have installed the gettext-dev or equivalent package thatprovides the msgfmt tool. Then, run the following command: $ make translationsUpdating graphics files-----------------------Frets on Fire requires that all graphic files be provided in the PNG format. If you have changed any of the source SVG files, first make sure that Inkscapeis installed. Then, run the following command: $ make graphicsMaking an installation package------------------------------A redistributable installation package for the game can be created as follows.For Windows:1. Install Nullsoft's NSIS installation system. Note: Frets on Fire assumes that the NSIS tool can be found at c:/Program Files/NSIS/makeNSIS.exe. This can be overridden by passing the parameter MAKENSIS= to make in the following step. 2. Install py2exe.3. Run the following command$ make dist The installer will be created in the dist folder.For Mac OS X:1. Install py2app.2. Run the following command$ make dist The installation binary will be created in the dist/mac folder.Additionally, a generic source distribution package can be created as follows. 1. Run $ make sdist The package will be created in the dist folder.