Installation Instructions

From Hero of Allacrost

Jump to: navigation, search
(Visual Studio (VS) 2005)
(Windows)
 
Line 34: Line 34:
== Windows ==
== Windows ==
-
Download the Windows version of our latest build from our [http://sourceforge.net/project/showfiles.php?group_id=115378 Sourceforge] page. It should unzip into a folder called {{Filename|Allacrost}}. Go into the folder and double-click {{Filename|Allacrost.exe}} to play.
+
Download and execute the Windows installer of our latest build from our [http://sourceforge.net/project/showfiles.php?group_id=115378 Sourceforge] page.
-
 
+
-
Alternatively, you can download the [http://www.allacrost.org/staff/user/winter_knight/allacrost_demo_win32_installer_0.2.1.exe Allacrost auto-installer].
+
== Building and Installing from Source ==
== Building and Installing from Source ==
Line 51: Line 49:
=== Windows ===
=== Windows ===
-
==== Visual Studio (VS) 2005 ====
+
==== Code::Blocks and MinGW ====
 +
 
 +
This is written for SVN, and will not work for Demo 0.2.2 or earlier.
 +
 
 +
You will need the Code::Blocks IDE set up with a working MinGW installation.  The version of MinGW that comes bundled with the IDE may or may not work, but 3.4.5 or later should work fine.
 +
 
 +
You will need the most recent Allacrost [http://www.allacrost.org/staff/user/winter_knight/allacrost-win32-depends-mingw-20090607.zip dependency archive]. The last known svn version to compile with this archive is svn 1743, which is current as of February 2010.
 +
 
 +
Check out the current SVN trunk ([http://allacrost.sourceforge.net/wiki/index.php/Subversion_Repository instructions]).  Unzip the dependency file into the "demo" directory, so that it now contains an "allacrost-win32-depends" directory in addition to dat, doc, img, mus, src, et cetera.
 +
 
 +
Open "allacrost.workspace" in Code::Blocks, make sure the target is set to "Debug Win32" or "Release Win32," and build the Allacrost project.  Find something to occupy your time, as the initial build will take a while.  Once this is finished, assuming there are no errors you should be able to run the program.  Note that the Map Editor project is not yet ready and will fail to build, even though the editor builds properly on Linux.
 +
 
 +
==== Visual Studio (VS) 2005/2008 ====
 +
 
 +
'''The Visual Studio projects are currently not working.  Please post in our forums if you would like to help us get the project building under Visual Studio 2005 or 2008.'''
Load the Allacrost VS Project file, Allacrost.vcproj. It is in the root directory of the source archive.
Load the Allacrost VS Project file, Allacrost.vcproj. It is in the root directory of the source archive.
Line 65: Line 77:
==== MinGW (from Linux) ====
==== MinGW (from Linux) ====
-
These are instructions for cross-compiling Allacrost for Windows from Linux. This requires svn 1340 or later. Earlier svn versions, as well as latest stable (0.2.1), have minor incompatibilities, and mingw has at least one bug that needs to be worked around. You will need mingw installed on a Linux machine. In Debian or Ubuntu, this is as simple as "aptitude install mingw32".
+
These are instructions for cross-compiling Allacrost for Windows from Linux. You will need mingw installed on a Linux machine. In Debian or Ubuntu, this is as simple as "aptitude install mingw32".
-
Download the Allacrost dependencies from http://www.allacrost.org/staff/user/winter_knight/allacrost-win32-depends-mingw.zip. Unzip this file into your home directory. Now change to the root directory of your Allacrost source archive (ie ~/svn/allacrost/demo/). Execute the following:
+
You will need an Allacrost dependency archive. For [http://www.allacrost.org/staff/user/winter_knight/allacrost-win32-depends-mingw-20081104.zip latest stable, Demo 0.2.2], or [http://www.allacrost.org/staff/user/winter_knight/allacrost-win32-depends-mingw-20090607.zip latest svn]. The last known svn version to compile with this archive is svn 1743.
-
cp ~/allacrost-win32-depends/Makefiles/allacrost-Makefile ./Makefile
+
-
touch Makefile
+
-
make
+
-
If you unzipped the allacrost-win32-depends-mingw.zip file into a directory other than ~, you will need to modify the LDFLAGS and INCLUDES directories in the Makefile appropriately. If, due to future changes to the allacrost project, this Makefile no longer works, you can find instructions for recreating it in ~/allacrost-win32-depends/HOWTO.
+
Unzip your dependency file into your home directory. Now change to the root directory of your Allacrost source archive (ie ~/svn/allacrost/demo/). Execute the following:
 +
autoreconf -i
 +
./configure
 +
~/allacrost-win32-depends/Makefiles/make.sh

Latest revision as of 03:30, 22 February 2010

Personal tools