OpenAlchemist !

Documentation

How to compile OpenAlchemist on Windows

Get DirectX 9 SDK

You need the DirectX 9 SDK to compile OpenAlchemist. Get it from the Microsoft website.

Get ClanLib

ClanLib is the framework which OpenAlchemist uses. You first need to get it and install it.

Get the sources

  1. First, get the sources from the downloads page or from the SVN repository.
  2. Then, open the file OpenAlchemist.vcproj with Visual Studio (I personnaly use Visual Studio 2008).
  3. Go to "Project > OpenAlchemist Propreties".
  4. Select the "Debug" configuration.
  5. In the dialog, go to "Configuration Propreties > C/C++". This should look like this:
    Screenshot of the Visual Studio Dialog.
  6. Changes the "Additionnal Include Directories", you should see this dialog:
    Screenshot of the Visual Studio Dialog
  7. Add the path where you have installed the Clanlib includes. For example, mine is C:\Clanlib\ClanLib-VC9Precompiled-static-mt-2.1.1\include.
  8. Now, go to "Configuration Propreties > Linker". This should look like this:
    Screenshot of the Visual Studio Dialog.
  9. Changes the "Additionnal Librairies Directories", you should see this dialog:
    Screenshot of the Visual Studio Dialog
  10. Add the path where you have installed the Clanlib libs and the DirectX SDK.
    For example, mines are:
    C:\Clanlib\all-2.0-external-libs-msvc90\lib
    C:\Clanlib\ClanLib-VC9Precompiled-static-mt-2.1.1\lib
    C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\Lib\x86
  11. Select the "Release" configuration.
  12. Changes includes and libs directories as before (go back to point 5).

Make the skin zip files

In the skins folder, you have to make a zip archive of each folder (aqua, brushed and vectoriel), but you have to managed that xml files (for example general.xml) are in the root folder inside the archive. The easier way to do it is to launch the makezips.py script. You need to install Python to use this script. Otherwise, if you are not compiling the SVN version, you can get the zip files from the standard OpenAlchemist downloads, and just paste them into the skins folder.

You win!

Now, you can build and execute the project!

Screenshot of the game