[LXLE] Installation de Crossfire.
Distribution de travail : LXLE 18.04
I/ Installation du serveur Crossfire.
1/ Création du répertoire de travail.
util01@station01:~$ mkdir -p JEUX/CROSSFIRE
util01@station01:~$ cd JEUX/CROSSFIRE/
util01@station01:~/JEUX/CROSSFIRE$
2/ Génération de l’archive du code source.
https://sourceforge.net/p/crossfire/code/HEAD/tree/
3/ Téléchargement de l’archive.
util01@station01:~/JEUX/CROSSFIRE$ wget https://sourceforge.net/code-snapshots/svn/c/cr/crossfire/code/crossfire-code-r21201.zip
4/ Décompression de l’archive.
util01@station01:~/JEUX/CROSSFIRE$ unzip crossfire-code-r21201.zip
util01@station01:~/JEUX/CROSSFIRE$ cd crossfire-code-r21201/
5/ Création du répertoire du serveur.
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201$ sudo mkdir -p /usr/games/crossfire/share/crossfire
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201$ sudo chown -R util01:util01 /usr/games/crossfire/
6/ Configuration du serveur.
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201$ ln -s /home/util01/JEUX/CROSSFIRE/crossfire-code-r21201/maps/trunk/ /usr/games/crossfire/share/crossfire/maps
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201$ cd server/trunk/lib/
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201/server/trunk/lib$ ln -s ../../../arch/trunk/ arch
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201/server/trunk/lib$ cd ..
7/ Configuration de la compilation.
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201/server/trunk$ sh autogen.sh
8/ Compilation.
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201/server/trunk$ make
9/ Installation.
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201/server/trunk$ sudo make install
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201/server/trunk$ cd
util01@station01:~$
10/ Lancement du serveur.
util01@station01:~$ cd /usr/games/crossfire/bin/
util01@station01:/usr/games/crossfire/bin$ ./crossfire-server &
11/ Lien.
http://wiki.cross-fire.org/dokuwiki/doku.php/server:server_compiling
II/ Installation du client Crossfire.
1/ Création du répertoire de compilation.
util01@station01:~$ cd JEUX/CROSSFIRE/crossfire-code-r21201/client/trunk/
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201/client/trunk$
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201/client/trunk$ mkdir build && cd build/
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201/client/trunk/build$ cmake ..
2/ Compilation.
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201/client/trunk/build$ make
3/ Installation.
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201/client/trunk/build$ sudo make install
4/ Lancement du client Crossfire.
util01@station01:~/JEUX/CROSSFIRE/crossfire-code-r21201/client/trunk/build$ cd
util01@station01:~$ crossfire-client-gtk2
5/ Lien.
http://wiki.cross-fire.org/dokuwiki/doku.php/client:client_compiling
Comments are closed, but trackbacks and pingbacks are open.