Installation Instructions

From Hero of Allacrost

(Difference between revisions)
Jump to: navigation, search
(Better description for installing from source. Direct link to sourceforge download page.)
(Windows)
Line 52: Line 52:
=== Windows ===
=== Windows ===
 +
 +
== Visual Studio (VS) 2005 ==
 +
 +
Load the Allacrost VS Project file, Allacrost.vcproj. It is in the root directory of the source archive.
 +
Download include and lib from http://www.allacrost.org/staff/libs/win/
 +
Download libintl from http://gnuwin32.sourceforge.net/packages/libintl.htm (choose for developer), and add them to include and lib.
 +
Unzip include, lib, and libintl into a directory of your choice. Set include and lib dirs in VS 2005 appropriately.
 +
If you have this error message "cant't link to jpegd.lib", try copy jpeg.lib and rename it as jpegd.lib. Or, you can compile a release version instead of a debug version.
 +
 +
At last, you have to copy all dll files to your project directory. (you can find those in allacrost windows demo directory, download from sourceforge)
 +
 +
This does not include the map editor, you have to install QT for compiling that.

Revision as of 00:36, 20 March 2008

This page explains how to install the game Hero of Allacrost. The installation process is dependent on which operating system your computer is using.


Contents

BSD

FreeBSD

Install Hero of Allacrost from ports collection:

cd /usr/ports/games/allacrost
make install clean

NetBSD

OpenBSD

GNU/Linux

Debian

To use the Debian package, please perform the following steps.

  1. Add one of the following entries in your /etc/apt/sources.list, depending on which version of Debian you are running:
    • Debian Etch (stable):
      deb http://debian.ettin.org/allacrost etch-backports main
    • Debian Lenny/Sid (testing/unstable):
      deb http://debian.ettin.org/allacrost unstable main
  2. The repository is signed, and packages can be checked using this gpg key. To enable the verification, you can simply run this command:
    wget http://debian.ettin.org/key.gpg -O - | sudo apt-key add -
  3. Finally, execute the following command. After the installation is complete, you can start the game by typing allacrost at the command line.
    apt-get update && apt-get install allacrost-demo


OS X

Download the OS X version of our latest build from our Sourceforge page. Unzip the file and mount the dmg. Drag the .app bundle to your Applications directory. Unmount the dmg, and double-click on Allacrost to play.

Windows

Download the Windows version of our latest build from our Sourceforge page. It should unzip into a folder called Allacrost. Go into the folder and double-click Allacrost.exe to play.

Building and Installing from Source

Installing from source means you will have to compile the game yourself. But first, you'll need the Allacrost code. Either get the tarball from our Sourceforge page, or check it out from our Subversion Repository.

GNU/Linux

If you are compiling from source for the first time, you will first have to execute the following command from inside the allacrost/ directory:

autoreconf -i

After that run:

./configure && make

followed by an optional

make install

OS X

From the Terminal you may follow the same commands as listed for Linux.

Windows

Visual Studio (VS) 2005

Load the Allacrost VS Project file, Allacrost.vcproj. It is in the root directory of the source archive. Download include and lib from http://www.allacrost.org/staff/libs/win/ Download libintl from http://gnuwin32.sourceforge.net/packages/libintl.htm (choose for developer), and add them to include and lib. Unzip include, lib, and libintl into a directory of your choice. Set include and lib dirs in VS 2005 appropriately. If you have this error message "cant't link to jpegd.lib", try copy jpeg.lib and rename it as jpegd.lib. Or, you can compile a release version instead of a debug version.

At last, you have to copy all dll files to your project directory. (you can find those in allacrost windows demo directory, download from sourceforge)

This does not include the map editor, you have to install QT for compiling that.

Personal tools