[Jeu] Daimonin MMORPG

[Jeu] Daimonin MMORPG.

Version : 2.0

1) Répertoire de travail.

pi@raspberrypi ~ $ mkdir -p JEUX/DAIMONIN
pi@raspberrypi ~ $ cd JEUX/DAIMONIN/

2) Installation de paquetage.

pi@raspberrypi ~/JEUX/DAIMONIN $ sudo apt-get install flex autoconf automake libsdl-sound1.2-dev libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev  libsdl-net1.2-dev libphysfs-dev libcurl4-openssl-dev

3) Téléchargement du code source.

pi@raspberrypi ~/JEUX/DAIMONIN $ wget https://sourceforge.net/code-snapshots/svn/d/da/daimonin/code/daimonin-code-8181-trunk.zip
pi@raspberrypi ~/JEUX/DAIMONIN $ curl https://www.daimonin.org/downloads/sa/downfile/id/6/ > daimonin_mapmaker-20150314.zip

4) Décompression de l’archive du code source du client.

pi@raspberrypi ~/JEUX/DAIMONIN $ unzip daimonin-code-8181-trunk.zip
pi@raspberrypi ~/JEUX/DAIMONIN $ cd daimonin-code-8181-trunk/client/make/linux

5) Configuration de la compilation.

pi@raspberrypi ~/JEUX/DAIMONIN/daimonin-code-8181-trunk/client/make/linux $ autoconf 
pi@raspberrypi ~/JEUX/DAIMONIN/daimonin-code-8181-trunk/client/make/linux $ ./bootstrap 
pi@raspberrypi ~/JEUX/DAIMONIN/daimonin-code-8181-trunk/client/make/linux $ ./configure 

6) Compilation.

pi@raspberrypi ~/JEUX/DAIMONIN/daimonin-code-8181-trunk/client/make/linux $ make

7) Installation.

pi@raspberrypi ~/JEUX/DAIMONIN/daimonin-code-8181-trunk/client/make/linux $ make install
pi@raspberrypi ~/JEUX/DAIMONIN/daimonin-code-8181-trunk/client/make/linux $ cd ../../../..

7) Décompression de l’archive du code source du serveur.

pi@raspberrypi ~/JEUX/DAIMONIN $ unzip daimonin_mapmaker-20150314.zip
pi@raspberrypi ~/JEUX/DAIMONIN $ cd daimonin_mapmaker/editor/

8) Rassemblement des ressources graphiques.

pi@raspberrypi ~/JEUX/DAIMONIN/daimonin_mapmaker/editor $ java -jar DaimoninEditor.jar 

9) Rassemblement des ressources graphiques.

- [File][Options...]
	- Archetypes. /home/pi/JEUX/DAIMONIN/daimonin-code-8181-trunk/arch
        - Maps. /home/pi/JEUX/DAIMONIN/daimonin-code-8181-trunk/maps
	- [Apply]
	- [Ok]
	- Load Configuration from: archetype directory
- [Apply]
- [Ok]
- [File][Quit]

Relancer l’éditeur

- [Ressources][Collect Arches]
- [Fichier][Quit]

10) Configuration de la compilation du serveur.

pi@raspberrypi ~/JEUX/DAIMONIN/daimonin_mapmaker/editor $ cd ../../daimonin-code-8181-trunk/server/make/linux/
pi@raspberrypi ~/JEUX/DAIMONIN/daimonin-code-8181-trunk/server/make/linux $ ./configure 

11) Compilation.

pi@raspberrypi ~/JEUX/DAIMONIN/daimonin-code-8181-trunk/server/make/linux $ make

12) Installation.

pi@raspberrypi ~/JEUX/DAIMONIN/daimonin-code-8181-trunk/server/make/linux $ make install
pi@raspberrypi ~/JEUX/DAIMONIN/daimonin-code-8181-trunk/server/make/linux $ cd ../..

13) Copie des ressources graphiques.

pi@raspberrypi ~/JEUX/DAIMONIN/daimonin-code-8181-trunk/server $ rm lib/*
pi@raspberrypi ~/JEUX/DAIMONIN/daimonin-code-8181-trunk/server $ cp -r ../arch/* ./lib/

14) Lancement du serveur.

pi@raspberrypi ~/JEUX/DAIMONIN/daimonin-code-8181-trunk/server $ ./daimonin_server

15) Lancement du client.

pi@raspberrypi ~/JEUX/DAIMONIN/daimonin-code-8181-trunk/server $ cd ~/daimonin/
pi@raspberrypi ~/daimonin $ ./daimonin --local --server=0

16) Lien.

http://www.daimonin.org/