Install SVN trunk on Windows

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

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)
 * 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) If you're using standard CPython 2.7 instead of ActivePython, you'll have to add your Python direction to PATH, otherwhise the Windows command line interface won't find your python.exe which will cause problems when you'll be trying to build FIFE. For details how to add your Python directory to PATH, see here: http://showmedo.com/videotutorials/video?name=960000&fromSeriesID=96
 * 2) Create a new folder for the game engine (called  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.
 * 3) Download the latest FIFE version by checking out the content of http://fife.svn.cvsdude.com/engine/trunk/ into  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:
 * 2) * Zip archive version: http://sourceforge.net/projects/fife/files/active/sdks/FIFE_Development_Kit_Nov2010.zip/download;
 * 3) * Installer version: http://sourceforge.net/projects/fife/files/active/sdks/FIFE_Development_Kit_Nov2010.exe/download;
 * 4) Unpack / install the Win32 DevKit to \build\win32;

Build FIFE SVN trunk

 * 1) Enter \build\win32\build_environments\scons\ and run:   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  from now on) and CD into it;
 * 2) Check out the latest version from http://parpg-svn.cvsdude.com/parpg/trunk/ into  using your SVN client;
 * 3) Enter \build\win32\binaries\mingw and run   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  directory and run the Python script run.py by doubleclicking on it. It should be automatically associated with the Python interpreter of your system in case you're using ActivePython. If you're using a different Python distribution you might need to manually associate Python scripts with the interpreter on your system.