There are two ways to install the program and the game data. You can either download a package from the website, or you can obtain the source code and compile it yourself.

System Requirements

Before you can run the game, you must have working OpenGL libraries. These are usually installed by the driver package for your videocard.

As for system specifications, I get around 40fps on an AMD Athlon 1.4Ghz, 512Mb PC133 SDRAM, ATI Radeon 9700 Pro.

Using packages

You can find the latest version in the downloads section of the website:
http://ingar.satgnu.net/osirion

Windows

Download the windows package:
osirion-win32-latest.zip
This package contains the win32 version of the server and the client.

Dowload the game data package:
osirion-data-latest.zip

Unzip the executables package into an approriate directory. Unzip the gama data package into this directory. For example, if you unzipped the data and the executables into D:\Osirion then there should be a directory D:\Osirion\data\base containing the game data.

Open the game directory in explorer and click on osirion.exe to start the client.

Linux

Download the linux packages:
osirion-linux-latest.zip
This package contains the linux 32 and 64 bit versions of the client and the server.

Extract the package, a new subdirectory will be created. The actual directory name will depend on the version number. Enter the new subdirectory.

tar jxvf osirion-latest.tar.bz2
cd osirion-0.1_258-linux

Dowload the game data package:
osirion-data-latest.zip

Unzip it:

unzip ../osirion-data-latest.zip

To run the 32 bit client:

./osirion.x86

To run the 64 bit client:

./osirion.x86_64
Building from source code

To build The Osirion Project from source code you will need to have the following libraries and development packages installed on your system.

Requirements

To build the client or the dedicated server:

To build the client:

You will also need a recent version of gcc, GNU make, automake and libtool. In theory, the source should compile on any POSIX-compatible platform supported by SDL.

Obtaining the source code

You can get the osirion project source code from the subversion repository:
svn://intranifty.no-ip.org/osirion

On linux, you can use the Subversion command line client tool. The following command will create a new subdirectory osirion and download the source code into it.

svn co svn://intranifty.no-ip.org/osirion osirion

On windows, you can use the Turtoisesvn SubVersion client to access the SVN repositories. You can download it here:
http://tortoisesvn.tigris.org

You can also download the source package from the website:
osirion-src-latest.tar.bz2

Bullet physics support

Experimental support for the Bullet Physics Library is under development. You can download the source code here:
http://code.google.com/p/bullet/downloads/list

To download and install the library:

wget http://bullet.googlecode.com/files/bullet-2.75-rc3.tgz
tar zxvf bullet-2.75-rc3.tgz
cd bullet-2.75-rc3
./autogen.sh
./configure --prefix=/usr/local
make
sudo make install
sudo install --mode=644 src/BulletDynamics/Dynamics/btActionInterface.h /usr/local/include/bullet/BulletDynamics/Dynamics

The osirion configure script will automaticly detect the bullet library in /usr/local. If you use a different prefix, like /opt/bullet, you will have to call the osirion configure script using the --with-bullet=/opt/bullet option.

Compiling the source code

Enter the new directory and configure the source code:

cd osirion
autoreconf -fi
./configure

If you do not need the client and want to build the dedicated server only you can pass the --without-client option to configure:

./configure --without-client

If configure finds ncurses or pdcurses, the dedicated server will use this library and a have a curses console. To disable curses detection, pass the --without-curses option to configure.

Important: make install is not supported. Results are unpredictable.

Compile the source code:

make

The binaries will be build in the src subdirectory of the main distribution.

Obtaining the game data

The game data should be located in the data subdirectory of the main distribution. You can use the game data package from the website or get it from the osirion-data subversion repository:
svn://intranifty.no-ip.org/osirion-data

Run the following command from within the main distribution directory to download the game data into the data subdirectory:

svn checkout svn://intranifty.no-ip.org/osirion-data data
Executing

The client and the dedicated server will look for game data in the data subdirectory of the current working directory. Since the binaries are build in the src you will have to copy them with the src/ prefix.

To start the client:

src/osirion

To start the dedicated server:

src/osiriond

If you are using windows, the binaries will be called osirion.exe and osiriond.exe.

Updating

If you downloaded and compiled the game and the game data fomr the subversion repository, there is no need to re-download the entire distribution when there are updates available. You can update your local copy and rebuild it.

Update the source code:

cd osirion
make clean
svn update

Update the game data:

cd data
svn update
cd ..

Rebuild the binaries:

autoreconf
./configure
make
GtkRadiant 1.5.0 support files (optional)

You can skip this section if you do not intent to create to create models with gtkradiant 1.5. Note that these files probably won't work with other versions. You can find precompiled gtkradiant 1.5.0 binaries for linux on my gtkradiant page:
http://ingar.satgnu.net/gtkradiant

These instructions assume gtkradiant is installed in the directory /usr/local/games/gtkradiant-1.5.0. If it is installed in a different directory on your system, edit these instructions accordingly.

Copy the support files to the gtkradiant folder:

cd data
cd gtkradiant
cp -vr * /usr/local/games/gtkradiant-1.5.0

Open the file /usr/local/games/gtkradiant-1.5.0/games/osirion.game in your favourite editor. Look for a line that begins with:

enginepath_linux="

Make sure it points to your osirion data directory. For example, if you checked out the source code in /home/yourname/osirion, then the data will be in /home/yourname/osirion/data and the line should look like this:

enginepath_linux="/home/yourname/osirion/data"

Save the changes.

Source data (optional)

The .xcf and .svg source files used to create the game data can also be downloaded. Note that you do not need these files to play the game or to create .map models. You only have to download them them if you want to create new game graphics.

To download the source data from the subversion repository:

svn checkout svn://intranifty.no-ip.org/osirion-data-src data-src
Organization of the distribution
/doc 	Documentation

	index.html		Documentation content
	installation.html	Installation instructions (this file)

/src 	C++ source code

	/audio			audio library
	/auxiliary		auxiliary functions
	/client			osirion client
	/core			game-independent core library
	/dedicated		osiriond dedicated server
	/filesystem		filesystem library
	/game			game-specific functions 
		/base		base game module
		/example	example game module
		/intro		intro game module
	/math			mathematical classes and functions
	/sys			low-level system functions
	/render			render library
	/ui			user interface widget library

/data	Data files

	/base			game data files
		/bitmaps	essential bitmaps
		/ini		game world description files
		/maps		game world models
		/scripts	gtkradiant shader files
		/textures	game world textures

	/gtkradiant		gtkradiant support files