HowToBuildAriannexp: Difference between revisions
No edit summary |
No edit summary |
||
| (20 intermediate revisions by 2 users not shown) | |||
| Line 6: | Line 6: | ||
The main point of ariannexp is to provide a framework to connect to a Marauroa server and to allow game creation using Python as the development language. |
The main point of ariannexp is to provide a framework to connect to a Marauroa server and to allow game creation using Python as the development language. |
||
=Requirements= |
|||
Before you even try to compile ariannexp please go and download |
Before you even try to compile ariannexp please go and download |
||
* SDL 1.2.x |
* SDL 1.2.x |
||
| Line 13: | Line 13: | ||
* Python 2.3 |
* Python 2.3 |
||
=How to compile in Linux= |
|||
It is very easy, just make sure that you are running the latest... :) |
It is very easy, just make sure that you are running the latest version of... :) <br> |
||
Only joking, just make sure that you are using GCC 3.x and automake 1.7 |
Only joking, just make sure that you are using GCC 3.x and automake 1.7 |
||
Just do: |
Just do: |
||
<pre> |
|||
sh autogen.sh |
sh autogen.sh |
||
./configure |
./configure |
||
make |
make |
||
</pre> |
|||
You should see no errors at all. |
You should see no errors at all. |
||
Then if everything went OK, you will have two main directories: |
Then if everything went OK, you will have two main directories: |
||
<pre> |
|||
./AIGladiator/AIGladiator |
./AIGladiator/AIGladiator |
||
This is a test client for connecting to gladiators and fighting ( for you ). |
This is a test client for connecting to gladiators and fighting ( for you ). |
||
It does nothing and is not interactive. |
It does nothing and is not interactive. |
||
./libFramework/pyarianne |
./libFramework/pyarianne |
||
This directory contains the module needed to develop your own python clients. |
This directory contains the module needed to develop your own python clients. |
||
Have a look at test.py and execute it by doing |
Have a look at test.py and execute it by doing |
||
python test.py |
python test.py |
||
</pre> |
|||
Latest revision as of 15:02, 1 February 2005
First of all, ariannexp is *NOT* a game, it is a library for developing clients of multiplayer games. Check http://arianne.sourceforge.net for the actual games.
ariannexp is a complete implementation of the network protocol described in Marauroa, in standard ISO C++, and fully tested with test cases. It uses SDL, SDL_net, cppUnit, Python and SWIG.
The main point of ariannexp is to provide a framework to connect to a Marauroa server and to allow game creation using Python as the development language.
Requirements
Before you even try to compile ariannexp please go and download
- SDL 1.2.x
- SDL_net 1.2.x
- SWIG 1.13.21
- Python 2.3
How to compile in Linux
It is very easy, just make sure that you are running the latest version of... :)
Only joking, just make sure that you are using GCC 3.x and automake 1.7
Just do:
sh autogen.sh ./configure make
You should see no errors at all. Then if everything went OK, you will have two main directories:
./AIGladiator/AIGladiator This is a test client for connecting to gladiators and fighting ( for you ). It does nothing and is not interactive. ./libFramework/pyarianne This directory contains the module needed to develop your own python clients. Have a look at test.py and execute it by doing python test.py