Install SVN trunk 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 download and setup up the stable Techdemo 1 release on Windows systems.

Contents

Supported Windows versions

  • We offically 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://downloads.activestate.com/ActivePython/releases/2.7.1.3/ActivePython-2.7.1.3-win32-x86.msi
  2. Grab the latest release of PyYAML for Python 2.7 and install it: http://pyyaml.org/download/pyyaml/PyYAML-3.09.win32-py2.7.exe

Python-related notes

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

  • Only Python 2.7 will work for the SVN trunk version of PARPG; Python 2.6 and Python 3.x are not supported
  • If you're using the standard CPython 2.7 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 2.7 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 Subversion Client

If you don't have an SVN client installed yet, download and install TortoiseSVN.

Checkout FIFE SVN trunk

  1. Create a new folder for the game engine (called <FIFE> from now on) and enter (change directory to) it. Important: you should avoid non-ASCII characters in the FIFE directory path as the FIFE build process is known to be prone to errors caused by unconventional characters in the directory path.
  2. Download the latest FIFE version by checking out the content of http://fife.svn.cvsdude.com/engine/trunk/ into <FIFE> using your chosen SVN client

Install FIFE Win32 devkit

  1. Get the latest version of FIFE Win32 DevKit. The DevKit is a complete package to build FIFE from source on Win32 systems. It contains needed build tools (mingw, scons, swig), all dependencies as precompiled static and dynamic libraries and their corresponding headers. You can grab the latest version here:
    a) Zip archive version: http://sourceforge.net/projects/fife/files/active/sdks/FIFE_Development_Kit_Nov2010.zip/download
    b) Installer version: http://sourceforge.net/projects/fife/files/active/sdks/FIFE_Development_Kit_Nov2010.exe/download
  2. Unpack / install the Win32 DevKit to <FIFE>\build\win32

Build FIFE SVN trunk

  1. Enter <FIFE>\build\win32\build_environments\scons\ and run:
    install_engine.bat
    FIFE will now be built using the mingw compiler that comes with the DevKit. Other compilers and IDEs are supported as well (Code::Blocks, MSVC2005, MSVC2008) but the build process for them is not explained in the detail here. If you would like to build FIFE with a different compiler, check out the build guides at the FIFE wiki: http://wiki.fifengine.de/Guides_%26_tutorials#Win32
  2. Wait until the console window that has popped up after you ran install_engine.bat has closed again. FIFE should have been successfully compiled now

Checkout PARPG SVN trunk

  1. Create a new folder for PARPG (we'll refer to this folder as <PARPG> from now on) and CD into it
  2. Check out the latest version from http://parpg-svn.cvsdude.com/parpg/trunk/ into <PARPG> using your SVN client
  3. Enter <FIFE>\build\win32\binaries\mingw and run
    oalinst.exe
    if you're running PARPG for the first time. This will install OpenAL drivers to ensure that the sound is working fine

Run PARPG

CD into the <PARPG> directory and run the batch script parpg.bat by doubleclicking on it. It should run fine on your system in case you're using ActivePython. If you're using a different Python distribution, you might have to manually add the Python directory to PATH.

Personal tools