Skip to content
stubb edited this page Apr 4, 2013 · 3 revisions

This page is meant as a quick reference for anyone who wants to create a Unknown Horizons distribution on windows.

Obvious Requisites:

  • git

Needed Downloads

  1. Download [python 2.7 32Bit] (http://www.python.org/download/)
    • Add python to your path
  2. Get [pyyaml for python 2.7] (http://pyyaml.org/wiki/PyYAML)
  3. Get [pil for python 2.7] (http://www.pythonware.com/products/pil/)
  4. [NSIS installer] (http://nsis.sourceforge.net/Download)
  5. Download [Gettext] (http://gnuwin32.sourceforge.net/packages/gettext.htm)
    • Add gettext to your path (e.g. C:\Program Files (x86)\GnuWin32\bin)

Download/install fife

  1. Install fife using scons: https://github.com/fifengine/fifengine/wiki/Building-on-windows
    • Remember you need to install fife properly to your system using install_engine.bat

Setup Unknown Horizons

  1. Checkout Unknown Horizons from git (yea, you know how to do that ;))
  2. Create a folder depends/ in the Unknown horizons folder (next to content/, run_uh.py etc.)

Create the installer

  1. go into the development/ folder (!)
  2. edit create_windows_installer.sh and adjust all paths and specifically RELEASE_VERSION to your liking (git bash, cygwin or similar required)
  3. Run create_windows_installer.sh
  4. Find your installer in ../../build/build_DATE/
Clone this wiki locally