Solarus : Jeu d’aventure en 2d

Solarus : Jeu d’aventure en 2d.

Version 2.0

I/ Installation des ressources du jeu.

1/ Configuration de la mémoire graphique.

➜  ~ sudo raspi-config

[7 Advanced Options]
[A3 Memory Split]
How much memory should the GPU have? : 128
[< Ok >]
[< Finish >]

2/ Téléchargement.

➜  ~ mkdir -p JEUX/SOLARUS
➜  ~ cd JEUX/SOLARUS 
➜  SOLARUS git clone https://github.com/solarus-games/zsdx.git
Cloning into 'zsdx'...
...
Checking connectivity... done.
➜  SOLARUS 

3/ Changement vers la version stable.

➜  SOLARUS cd zsdx 
➜  zsdx git:(dev) git checkout tags/zsdx-1.11.0
Note: checking out 'tags/zsdx-1.11.0'.
...
HEAD is now at a24f3e2... Merge branch 'release-1.11.0'
➜  zsdx git:(a24f3e2) git checkout -b zsdx-1.11.0
Switched to a new branch 'zsdx-1.11.0'
➜  zsdx git:(zsdx-1.11.0) 
➜  zsdx git:(zsdx-1.11.0) cd

4/ Configuration de la compilation.

➜  zsdx git:(zsdx-1.11.0) cmake .
-- The C compiler identification is GNU 4.9.2
...
-- Build files have been written to: /home/pi/JEUX/SOLARUS/zsdx
➜  zsdx git:(zsdx-1.11.0) 

5/ Compilation.

➜  zsdx git:(zsdx-1.11.0) make -j3
Scanning dependencies of target zsdx_command
...
[100%] Built target zsdx_data
➜  zsdx git:(zsdx-1.11.0) 

II/ Installation du moteur de jeu.

1/ Installation des paquets de développement.

➜  ~ sudo apt-get install libsdl2-mixer-dev libsdl2-net-dev libsdl2-image-dev  libsdl2-gfx-dev  libsdl2-dev  libsdl2-net-dev  libsdl2-ttf-dev libmodplug-dev qtbase5-dev qttools5-dev qttools5-dev-tools

2/ Répertoire de travail.

➜  ~ mkdir -p JEUX/SOLARUS
➜  ~ cd JEUX/SOLARUS 

3/ Téléchargement du code source.

➜  SOLARUS git clone https://github.com/solarus-games/solarus.git
Cloning into 'solarus'...
...
Checking connectivity... done.
➜  SOLARUS 

4/ Changement vers la version stable.

➜  SOLARUS cd solarus 
➜  solarus git:(dev) git checkout tags/v1.5.3
Note: checking out 'tags/v1.5.3'.
...
HEAD is now at cc30297... Merge branch 'release-1.5.3'
➜  solarus git:(cc30297) git checkout -b v1.5.3
Switched to a new branch 'v1.5.3'
➜  solarus git:(v1.5.3) 

5/ Configuration de la compilation.

➜  solarus git:(v1.5.3) mkdir build
➜  solarus git:(v1.5.3) cd build 
➜  build git:(v1.5.3) cmake ..
-- The C compiler identification is GNU 4.9.2
...
-- Build files have been written to: /home/pi/JEUX/SOLARUS/solarus/build
➜  build git:(v1.5.3) ✗ 

6/ Compilation.

➜  build git:(v1.5.3) make -j3
Scanning dependencies of target solarus
[  0%] Building CXX object CMakeFiles/solarus.dir/src/entities/AnimatedTilePattern.cpp.o
...
[100%] Linking CXX executable solarus
[100%] Built target solarus_gui_exe
➜  build git:(v1.5.3)  

7/ Installation.

➜  build git:(v1.5.3) sudo make install
[ 81%] Built target solarus
...
-- Installing: /usr/local/share/man/man6/solarus-run.6
➜  build git:(v1.5.3) 
➜  build git:(v1.5.3) sudo /sbin/ldconfig

8/ Lancement du jeu.

➜  build git:(v1.5.3) cd 
➜  ~ cd JEUX/SOLARUS/zsdx 
➜  ~ cd JEUX/SOLARUS/zsdx export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/arm-linux-gnueabihf/
➜  zsdx git:(zsdx-1.11.0) solarus-run .

9/ Liens.

http://www.solarus-games.org/
https://github.com/solarus-games/solarus
https://miniordi.hacktech.dev/zelda-mystery-solarus-dx/

III/ Installation de l’éditeur.

1/ Téléchargement.

➜  ~ cd JEUX/SOLARUS 
➜  SOLARUS git clone https://github.com/solarus-games/solarus-quest-editor.git
Cloning into 'solarus-quest-editor'...
...
Checking out files: 100% (839/839), done.
➜  SOLARUS

2/ Changement vers la version stable.

➜  SOLARUS cd solarus-quest-editor 
➜  solarus-quest-editor git:(dev) git checkout tags/v1.5.3
Note: checking out 'tags/v1.5.3'.
...
HEAD is now at c511d47... Merge branch 'release-1.5.3'
➜  solarus-quest-editor git:(c511d47) git checkout -b v1.5.3
Switched to a new branch 'v1.5.3'
➜  solarus-quest-editor git:(v1.5.3) 

3/ Configuration de la compilation.

➜  solarus-quest-editor git:(v1.5.3) mkdir build
➜  solarus-quest-editor git:(v1.5.3) cd build 
➜  build git:(v1.5.3) cmake ..
-- The C compiler identification is GNU 4.9.2
...
-- Build files have been written to: /home/pi/JEUX/SOLARUS/solarus-quest-editor/build
➜  build git:(v1.5.3) 

4/ Compilation.

➜  build git:(v1.5.3) make -j3
Scanning dependencies of target solarus-quest-editor_automoc
[  1%] Automatic moc for target solarus-quest-editor
...
[100%] Linking CXX executable solarus-quest-editor
[100%] Built target solarus-quest-editor
➜  build git:(v1.5.3) 

4/ Installation.

➜  build git:(v1.5.3) sudo make install

5/ Lancement.

➜  build git:(v1.5.3) cd ../../zsdx 
➜  zsdx git:(zsdx-1.11.0) solarus-quest-editor .