Install from Mercurial on Windows

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 get the latest source from mercurial to develop or test parpg on Windows systems.

Contents

Supported Windows versions

  • We officially support Windows XP (32bit), Window Vista (32 & 64bit) and Windows 7 (32 & 64bit)
  • Older Windows versions like Windows 98, Windows ME are not officially supported
  • Exotic Windows versions with low market penetration like Windows XP (64bit) or Windows Server 2008 are not officially supported either

Install Prerequisites

  1. Download and install ActivePython 2.7 (32bit): http://www.activestate.com/activepython/downloads/thank-you?dl=http://downloads.activestate.com/ActivePython/releases/2.7.2.5/ActivePython-2.7.2.5-win32-x86.msi
  2. Grab the latest release of PyYAML for Python 2.7 and install it: http://pyyaml.org/download/pyyaml/PyYAML-3.10.win32-py2.7.exe
  3. Get and install bGrease: https://github.com/Beliaar/bGrease

Python-related notes

This section is just relevant to users who are not using ActivePython 2.7 as recommended by us:

  • You should get at least Python 2.6
  • If you're using the standard CPython distribution, add your Python directory to the Windows PATH. A video tutorial how to do that can be found here: http://showmedo.com/videotutorials/video?name=960000&fromSeriesID=96
  • Make sure that you run a 32bit Python distribution; our engine of choice FIFE doesn't support 64bit Python distributions on Windows systems at this point
  • Even install a 32bit Python distribution if you're running a 64bit Windows OS; this has been tested and works fine on all supported Windows versions

Install Mercurial client

If you don't already have a mercurial client you can download TortoiseHg.

Mercurial extensions

You will need to install and/or activate the following mercurial extensions before cloning a repository:

Install Subversion Client

You also will need a subversion(SVN) client to be able to clone the repository containing the data files. If you don't have an SVN client installed yet, download and install TortoiseSVN.

Download and install FIFE trunk

PARPG uses the FIFEngine. You will need to get fife from svn with at least revision 3853. For instructions on how to install fife check one of these:

Clone the PARPG repository

There are 2 ways of cloning the repository, either by using the GUI from TortoiseHG or by using the command line

GUI

  1. Create a directory where you want to store the files
  2. Right-Click on this directory and then move the mouse cursor to TortoiseHG and select Clone
  3. Type http://hg.assembla.com/parpg-core into the "Source" field. Leave the other options as they are.
  4. Click on the "Clone" Button
  5. Especially for the app repository this may take a while.
  6. Now you are ready to test/develop parpg.

Command line

  1. CD to the directory that you want to contain the parpg directory
  2. Type the following command:
    Hg clone  http://hg.assembla.com/parpg-core
    A directory will automatically be created.
  1. Now you are ready to test/develop parpg.

Run PARPG

You can run PARPG by calling parpg.py inside the bin folder from the command line.

Personal tools