Install Techdemo 1 on Linux

From Post-Apocalyptic RPG wiki

Jump to: navigation, search

Download.png This article covers setup instructions!

Setup articles explain how to download and intall a stable or unstable version of PARPG on a specific platform.

This article describes how to download and setup up the stable Techdemo 1 release on Linux-based systems.

Contents

Supported Linux distributions

Fixme.png Please help FIXME!

Install Prerequisites

  1. Install the latest release of the Python 2.6.x or 2.7.x branch. Python versions earlier than 2.6 and Py3k will NOT work. On most distros Python 2.6 should be the norm. To check which version of Python is running on your system open up a console and type:
    python --version
  2. Install the PyYAML library. Instructions for installing PyYAML in linux can be found on the PyYAML wiki. Just download the sources, extract them and run as root:
    python setup.py install
    If you are using a debian based system you can grab it from your repositories with the following command:
    sudo apt-get install python-yaml
    Alternatively, the easy_setup.py script can be used to automatically install PyYAML:
    python easy_install.py pyyaml

Build FIFE

  1. Install the dependencies listed here: http://wiki.fifengine.de/Build_dependencies
  2. Download the FIFE source package from https://sourceforge.net/projects/parpg/files/techdemo1/fife_r3236_src.tar.gz/download and unpack the archive to a location of your choice (called <FIFE> from now on)
  3. CD into <FIFE> and run:
    scons ext && scons
  4. You can optionally install FIFE using the command
    sudo scons install-python
    If you choose not to install FIFE, you may have to manually configure PARPG to find your FIFE build (see below)

Download PARPG

  1. Download the PARPG source package from https://sourceforge.net/projects/parpg/files/techdemo1/parpg_td1_r522_src.tar.gz/download and unpack the archive to a location of your choice (called <PARPG> from now on);
  2. If you chose not to install FIFE in a standard location, you may need to configure PARPG to find the FIFE binaries. To do this, create a blank config.py text file in <PARPG>/game/ and put the following lines in it:
    fife_path = '<FIFE>/engine/python'
    where <FIFE> is the location where you built FIFE.

PARPG is written completely in Python, so there is no need to build the sources.

Run PARPG

Run
cd <PARPG> && ./run.py
replacing <PARPG> with the location where you unpacked the PARPG source package.
Personal tools