Installation : Zandronum 3.1-alpha / Eureka 1.27b / WadC 3 / Oblige 7.70
Matériel : Raspberry Pi 3 Model B v1.2 2015
Distribution de travail : Raspbian 2019-04-08 Stretch
Lien :
https://miniordi.hacktech.dev/installation-du-moteur-de-jeu-doom-zandronum/
I/ Installation du moteur du jeu Doom : Zandronum.
1/ Mise-à-jour du système d’exploitation.
pi@raspberrypi:~ $ sudo apt-get update && sudo apt-get upgrade
2/ Installation des paquets de développement.
pi@raspberrypi:~ $ sudo apt-get install libsdl-sound1.2-dev libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev pi@raspberrypi:~ $ sudo apt-get install libgtk2.0-dev libfluidsynth-dev libmpg123-dev libsndfile1-dev libgme-dev libglew-dev libssl-dev
3/ Activation de OpenGL.
pi@raspberrypi:~ $ sudo raspi-config
- 6 Advanced Options Configure advanced settings - A2 GL Driver Enable/disable experimental desktop GL driver - G3 GL (Full KMS) OpenGL desktop driver with full KMS
4/ Installation des outils de base.
pi@raspberrypi:~ $ sudo apt-get install mc screen htop links vim build-essential cmake
5/ Création des répertoires de travail.
pi@raspberrypi:~ $ mkdir -p GAME/DOOM/Engine pi@raspberrypi:~ $ mkdir -p GAME/DOOM/Game pi@raspberrypi:~ $ cd GAME/DOOM/Engine/ pi@raspberrypi:~/GAME/DOOM/Engine $
6/ Copier les fichiers ‘wad’ dans le répertoire : /home/pi/GAME/DOOM/Game/
7/ Téléchargement du code source.
pi@raspberrypi:~/GAME/DOOM/Engine $ git clone https://github.com/ptitSeb/zandronum.git
pi@raspberrypi:~/GAME/DOOM/Engine $ cd zandronum/
pi@raspberrypi:~/GAME/DOOM/Engine/zandronum $
8/ Configuration de la compilation.
pi@raspberrypi:~/GAME/DOOM/Engine/zandronum $ cmake .
9/ Compilation.
pi@raspberrypi:~/GAME/DOOM/Engine/zandronum $ make
10/ Installation.
pi@raspberrypi:~/GAME/DOOM/Engine/zandronum $ cp zandronum ~/GAME/DOOM/Game/
pi@raspberrypi:~/GAME/DOOM/Engine/zandronum $ cp zandronum.pk3 ~/GAME/DOOM/Game/
pi@raspberrypi:~/GAME/DOOM/Engine/zandronum $ cp skulltag_actors.pk3 ~/GAME/DOOM/Game/
pi@raspberrypi:~/GAME/DOOM/Engine/zandronum $ cd ~/GAME/DOOM/Game/
pi@raspberrypi:~/GAME/DOOM/Game $
11/ Lancement de Zandronum.
pi@raspberrypi:~/GAME/DOOM/Game $ ./zandronum
II/ Installation de l’éditeur de niveau Doom : Eureka.
1/ Téléchargement du pre source de la librairie FLTK.
pi@raspberrypi:~/GAME/DOOM/Editor $ wget https://www.fltk.org/pub/fltk/1.3.5/fltk-1.3.5-source.tar.gz
2/ Décompression de l’archive.
pi@raspberrypi:~/GAME/DOOM/Editor $ tar xvfz fltk-1.3.5-source.tar.gz
pi@raspberrypi:~/GAME/DOOM/Editor $ cd fltk-1.3.5/ pi@raspberrypi:~/GAME/DOOM/Editor/fltk-1.3.5 $
3/ Configuration de la compilation.
pi@raspberrypi:~/GAME/DOOM/Editor/fltk-1.3.5 $ ./configure
4/ Compilation.
pi@raspberrypi:~/GAME/DOOM/Editor/fltk-1.3.5 $ make
5/ Installation.
pi@raspberrypi:~/GAME/DOOM/Editor/fltk-1.3.5 $ sudo make install pi@raspberrypi:~/GAME/DOOM/Editor/fltk-1.3.5 $ sudo /sbin/ldconfig
pi@raspberrypi:~/GAME/DOOM/Editor/fltk-1.3.5 $ cd ..
6/ Téléchargement de l’archive du pre source de Eureka.
pi@raspberrypi:~/GAME/DOOM/Editor $ wget https://sourceforge.net/projects/eureka-editor/files/Eureka/1.27/eureka-1.27b-source.tar.gz
7/ Décompression de l’archive.
pi@raspberrypi:~/GAME/DOOM/Editor $ tar xvfz eureka-1.27b-source.tar.gz
pi@raspberrypi:~/GAME/DOOM/Editor $ cd eureka-1.27b-source/ pi@raspberrypi:~/GAME/DOOM/Editor/eureka-1.27b-source $
8/ Modification de Makefile.
Ouvrir :
Makefile
Chercher :
LIBS ?=
Remplacer par :
LIBS ?= -L/usr/local/lib -lfltk_images -lfltk_gl -lfltk \ -lX11 -lXext -lXft -lfontconfig -lXinerama -lXrender -lXfixes -lXcursor\ -lpng -ljpeg -lGL -lz -lm -ldl
9/ Compilation.
pi@raspberrypi:~/GAME/DOOM/Editor/eureka-1.27b-source $ make
10/ Installation.
pi@raspberrypi:~/GAME/DOOM/Editor/eureka-1.27b-source $ sudo make install
11/ Lancement.
pi@raspberrypi:~/GAME/DOOM/Editor/eureka-1.27b-source $ cd ~/GAME/DOOM/Game/ pi@raspberrypi:~/GAME/DOOM/Game $ eureka
III/ Installation de l’édtieur de niveau Doom : WadC.
Lien :
https://miniordi.hacktech.dev/editeur-de-niveau-pour-doom-wadc/
1/ Pré-requis.
Java : 1.8.0_65
2/ Installation des outils de développement.
pi@raspberrypi:~ $ sudo apt-get install maven
pi@raspberrypi:~ $ cd GAME/DOOM/Editor/ pi@raspberrypi:~/GAME/DOOM/Editor $
3/ Installation du pre source.
pi@raspberrypi:~/GAME/DOOM/Editor $ git clone https://github.com/jmtd/wadc.git
pi@raspberrypi:~/GAME/DOOM/Editor $ cd wadc/ pi@raspberrypi:~/GAME/DOOM/Editor/wadc $
4/ Compilation.
pi@raspberrypi:~/GAME/DOOM/Editor/wadc $ mvn clean install
5/ Lancement.
pi@raspberrypi:~/GAME/DOOM/Editor/wadc $ java -cp target/wadc-3.0.jar
IV/ Installation de générateur de niveau : Oblige.
Lien :
https://miniordi.hacktech.dev/generateur-de-niveau-pour-doom-oblige-2/
1/ Création du répertoire de travail.
pi@raspberrypi:~ $ mkdir -p GAME/DOOM/Generator pi@raspberrypi:~ $ cd GAME/DOOM/Generator/ pi@raspberrypi:~/GAME/DOOM/Generator $
2/ Téléchargement de l’archive du code source.
pi@raspberrypi:~/GAME/DOOM/Generator $ wget https://sourceforge.net/projects/oblige/files/Oblige/7.70/oblige-770-source.zip
3/ Décompression de l’archive.
pi@raspberrypi:~/GAME/DOOM/Generator $ unzip oblige-770-source.zip
pi@raspberrypi:~/GAME/DOOM/Generator $ cd Oblige-7.70-source/ pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source $
4/ Installation de la bibliothèque ‘fltk’.
– Création du répertoire de travail :
pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source $ mkdir lib_linux pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source $ cd lib_linux/ pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source/lib_linux $
– Téléchargement du code source :
pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source/lib_linux $ wget http://fltk.org/pub/fltk/1.3.0/fltk-1.3.0-source.tar.gz
– Décompression de l’archive :
pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source/lib_linux $ tar xvfz fltk-1.3.0-source.tar.gz
pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source/lib_linux $ cd fltk-1.3.0 pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source/lib_linux/fltk-1.3.0 $
– Configuration de la compilation :
pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source/lib_linux/fltk-1.3.0 $ ./configure --quiet --disable-shared --disable-gl --disable-localjpeg --disable-localzlib --disable-localpng
– Compilation :
pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source/lib_linux/fltk-1.3.0 $ make
– Installation :
pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source/lib_linux/fltk-1.3.0 $ sudo make install pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source/lib_linux/fltk-1.3.0 $ sudo /sbin/ldconfig
pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source/lib_linux/fltk-1.3.0 $ cd ../.. pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source $
5/ Compilation.
pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source $ make
6/ Installation.
pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source $ sudo make install
7/ Lancement.
pi@raspberrypi:~/GAME/DOOM/Generator/Oblige-7.70-source $ ./Oblige
V/ Installation de générateur de niveau : Restfull-doom
Lien :
http://jeulibre.hacktech.dev/restful-doom/
1/ Création du répertoire de travail.
pi@raspberrypi:~ $ mkdir -p GAME/DOOM/API pi@raspberrypi:~ $ cd GAME/DOOM/API/ pi@raspberrypi:~/GAME/DOOM/API $
2/ Téléchargement du code source.
pi@raspberrypi:~/GAME/DOOM/API $ git clone https://github.com/jeff-1amstudios/restful-doom.git
3/ Configuration et installation.
pi@raspberrypi:~/GAME/DOOM/API $ cd restful-doom/ pi@raspberrypi:~/GAME/DOOM/API/restful-doom $ ./configure-and-build.sh
4/ Configuration de Doom.
pi@raspberrypi:~/GAME/DOOM/API/restful-doom $ src/restful-doom-setup
5/ Lancement de Doom.
pi@raspberrypi:~/GAME/DOOM/API/restful-doom $ src/restful-doom -iwad ../../Game/doom1.wad -apiport 6666
6/ Exécution d’une requête API : Changement de niveau.
pi@raspberrypi:~/GAME/DOOM/API/restful-doom $ curl -s -X PATCH localhost:6666/api/world -d '{"map": 1,"episode":1}' { "episode": 1, "map": 1, "lights": "on" }
Comments are closed, but trackbacks and pingbacks are open.