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 for 32-bit windows
osirion-win32-latest.zip (32-bit)
This package should work on most windows systems.

Download for 64-bit windows
osirion-win64-latest.zip (64-bit)

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

Linux download:
osirion-linux-latest.zip(32- and 64-bit)
This package contains the linux version 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-linux-740

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.

Building the Bullet physics library

The engine uses the Bullet Physics Library for physics support. You can download the bullet source code here:

To download and install the library:

wget http://bullet.googlecode.com/files/bullet-2.77.tgz
tar zxvf bullet-2.77.tgz
cd bullet-2.77
./autogen.sh
./configure --prefix=/usr/local
make
sudo make install
Obtaining the source code

You can get the osirion project source code from the subversion repository:

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:

You can also download the source package from the website:

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 will automaticly detect the bullet library if itwass installed in /usr/local. If it was installed somewhere else you will have to pass the --with-bullet=directory option to configure.

For example, if you want to use the system-provided package on Arch linux, use --with-bullet=/usr.

./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:

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 start them with the src/ prefix.

To start the client:

src/osirion

If the client opens a new window and immediatly close it again, it probably could not find the game data and exited. Check your installation.

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
NetRadiant/GtkRadiant 1.5.0 support files (optional)

You can skip this section if you do not intent to create to create models with netradiant or gtkradiant 1.5. Note that these files probably won't work with other versions. You can find precompiled netradiant packages here:

These instructions assume gtkradiant is installed in the directory /usr/local/games/netradiant. 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/netradiant

Open the file /usr/local/games/netradiant/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 library

/data	Data files

	/base			game data files
		/bitmaps	essential bitmaps
		/ini		game world description files
		/maps		3D models (.map format)
		/materials	material definitions
		/models		3D models (ase and other formats)
		/textures	game world textures

	/gtkradiant		radiant support files