I) Installation de Exult : 1) Répertoire de travail :
pi@raspberrypi ~ $ mkdir -p JEUX/EXULT
pi@raspberrypi ~ $ cd JEUX/EXULT/
pi@raspberrypi ~/JEUX/EXULT $
2) Installation des paquetages de développement :
pi@raspberrypi ~/JEUX/EXULT $ sudo apt-get install libgladeui-dev libglade2-devglade byacc
3) Téléchargement du code source :
pi@raspberrypi ~/JEUX/EXULT $ wget http://downloads.sourceforge.net/project/exult/exult-all-versions/1.4.9rc1/exult-1.4.9rc1.tar.gz
4) Décompression de l'archive :
pi@raspberrypi ~/JEUX/EXULT $ tar xvfz exult-1.4.9rc1.tar.gz
5) Configuration de la compilation :
pi@raspberrypi ~/JEUX/EXULT $ cd exult-1.4.9rc1/
pi@raspberrypi ~/JEUX/EXULT/exult-1.4.9rc1 $ ./configure --enable-exult-studio-support --enable-compiler --enable-data --enable-mods --enable-exult-studio --enable-gimp-plugin
6) Compilation :
pi@raspberrypi ~/JEUX/EXULT/exult-1.4.9rc1 $ make
Erreur :
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./../headers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DXWIN -O2 -Wno-long-long -DEXULT_DATADIR=\"/usr/local/share/exult\" -g -O2 -MT Flat.lo -MD -MP -MF .deps/Flat.Tpo -c Flat.cc -o Flat.o
In file included from databuf.h:27:0,
from U7file.h:26,
from Flat.h:25,
from Flat.cc:26:
U7obj.h:144:2: error: ‘ptrdiff_t’ does not name a type
Solution : Ouvrir :
files/U7obj.h
Chercher :
#include <cstring>
Ajouter, après :
#include <stddef.h>
Lien : http://stackoverflow.com/questions/9837555/installing-opencv2-1-on-ubuntu-gives-error 7) Installation :
pi@raspberrypi ~/JEUX/EXULT/exult-1.4.9rc1 $ sudo make install
pi@raspberrypi ~/JEUX/EXULT/exult-1.4.9rc1 $ cd
10) Lien : http://exult.sourceforge.net/ II) Installation du jeu original : 1) Répertoire de travail :
pi@raspberrypi ~ $ mkdir -p JEUX/EXULT/ULTIMA7
pi@raspberrypi ~ $ cd JEUX/EXULT/ULTIMA7/
pi@raspberrypi ~/JEUX/EXULT/ULTIMA7 $
2) Téléchargement du jeu :
pi@raspberrypi ~/JEUX/EXULT/ULTIMA7 $ wget https://miniordi.hacktech.dev/jeux/U7p1VF.tar.gz
3) Décompression de l'archive :
pi@raspberrypi ~/JEUX/EXULT/ULTIMA7 $ tar xvfz U7p1VF.tar.gz
pi@raspberrypi ~/JEUX/EXULT/ULTIMA7 $ cd
4) Installation : Mettre les répertoires et les fichiers en minuscule :
pi@raspberrypi ~ $ cp -r JEUX/EXULT/ULTIMA7/U7p1VF/* ~/.exult/blackgate/
pi@raspberrypi ~ $ cd .exult/blackgate/
pi@raspberrypi ~/.exult/blackgate $ mv GAMEDAT/ gamedat
pi@raspberrypi ~/.exult/blackgate $ mv STATIC/ static
pi@raspberrypi ~/.exult/blackgate $ cd gamedat/
pi@raspberrypi ~/.exult/blackgate/gamedat $ for f in * ; do mv -v $f `echo $f | tr '[A-Z]' '[a-z]'`; done
pi@raspberrypi ~/.exult/blackgate/gamedat $ cd ..
pi@raspberrypi ~/.exult/blackgate $ cd static/
pi@raspberrypi ~/.exult/blackgate/static $ for f in * ; do mv -v $f `echo $f | tr '[A-Z]' '[a-z]'`; done
pi@raspberrypi ~/.exult/blackgate/gamedat $ cd
pi@raspberrypi ~ $
5) Fichier de configuration : Ouvrir :
~/.exult.cfg
Remplacer tout par :
<config>
<disk>
<data_path>
/home/pi/.exult
</data_path>
<music_path>
/home/pi/.exult/music
</music_path>
<game>
<blackgate>
<path>
/home/pi/.exult/blackgate
</path>
<title>
blackgate
</title>
<gamedat_path>
/home/pi/.exult/blackgate/gamedat
</gamedat_path>
<savegame_path>
/home/pi/.exult/savegame
</savegame_path>
<waves>
sqsfxbg.flx
</waves>
<keys>
(default)
</keys>
</blackgate>
</game>
<save_compression_level>
1
</save_compression_level>
</disk>
<video>
<scale>
2
</scale>
<scale_method>
Point
</scale_method>
<fullscreen>
no
</fullscreen>
<disable_fades>
no
</disable_fades>
<fps>
5
</fps>
<display>
<width>
800
</width>
<height>
480
</height>
</display>
<game>
<width>
320
</width>
<height>
200
</height>
<border>
<red>
0
</red>
<green>
0
</green>
<blue>
0
</blue>
</border>
</game>
<fill_mode>
Aspect Correct Centre
</fill_mode>
<fill_scaler>
Bilinear
</fill_scaler>
</video>
<gameplay>
<right_click_closes_gumps>
yes
</right_click_closes_gumps>
<gumps_dont_pause_game>
no
</gumps_dont_pause_game>
<bg_paperdolls>
yes
</bg_paperdolls>
<mouse3rd>
no
</mouse3rd>
<fastmouse>
no
</fastmouse>
<double_click_closes_gumps>
no
</double_click_closes_gumps>
<combat>
<difficulty>
0
</difficulty>
<mode>
original
</mode>
<show_hits>
no
</show_hits>
</combat>
<step_tile_delta>
12
</step_tile_delta>
<allow_double_right_move>
yes
</allow_double_right_move>
<formation>
yes
</formation>
<skip_splash>
yes
</skip_splash>
<skip_intro>
yes
</skip_intro>
<cheat>
no
</cheat>
<textbackground>
-1
</textbackground>
<facestats>
0
</facestats>
<smooth_scrolling>
0
</smooth_scrolling>
</gameplay>
<audio>
<disablepause>
yes
</disablepause>
<enabled>
yes
</enabled>
<midi>
<reverb>
<enabled>
no
</enabled>
<level>
0
</level>
</reverb>
<chorus>
<enabled>
no
</enabled>
<level>
0
</level>
</chorus>
<volume_curve>
1.0000
</volume_curve>
<convert>
gm
</convert>
<enabled>
yes
</enabled>
<use_oggs>
yes
</use_oggs>
<driver>
Disabled
</driver>
<looping>
yes
</looping>
</midi>
<speech>
<enabled>
yes
</enabled>
</speech>
<effects>
<enabled>
yes
</enabled>
</effects>
</audio>
</config>
6) Lancement du jeu :
pi@raspberrypi ~ $ exult
7) Capture d'écran :
8) Lien :
http://www.abandonware-france.org/ltf_abandon/ltf_jeu.php?id=58