Installation de Quake 1

Installation de Quake 1.

1) Répertoire de travail :

pi@hexendoom ~ $ mkdir -p JEUX/QUAKE
pi@hexendoom ~ $ cd JEUX/QUAKE/

2) Téléchargement du code source :

pi@hexendoom ~/JEUX/QUAKE $ wget pickle.gp2x.de/glquake-src.zip

3) Décompression de l’archive :

pi@hexendoom ~/JEUX/QUAKE $ unzip glquake-src.zip

4) Compilation :

pi@hexendoom ~/JEUX/QUAKE $ make BUILD=RPI

Erreur :

/opt/vc/include/interface/vmcs_host/vcgencmd.h:33:27: fatal error: vchost_config.h: Aucun fichier ou dossier de ce type

Ouvir :

Makefile

Chercher :

else ifeq ($(BUILD),RPI)
CFLAGS += -I$(PREFIX)/include -I$(PREFIX)/include/SDL -DRPI -DUSE_GLES1 -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/GLES -I/opt/vc/include/EGL

Remplacer par :

else ifeq ($(BUILD),RPI)
CFLAGS += -I$(PREFIX)/include -I$(PREFIX)/include/SDL -DRPI -DUSE_GLES1 -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/GLES -I/opt/vc/include/EGL -I/opt/vc/include/interface/vmcs_host/linux

5) Vérification :

pi@hexendoom ~/JEUX/QUAKE $ ls -l glquake
-rwxr-xr-x 1 pi pi 1168836 janv.  6 19:46 glquake

6) Copie des ressources .pak :

pi@hexendoom ~/JEUX/QUAKE $ mkdir id1

Copier les .pak dans id1/

pi@hexendoom ~/JEUX/QUAKE $ ls -l id1/*.pak
-rwxr-xr-x 1 pi pi 18276119 janv.  6 19:49 id1/pak0.pak
-rwxr-xr-x 1 pi pi 34257856 janv.  6 19:49 id1/pak1.pak

7) Lancer Quake1 :

pi@hexendoom ~/JEUX/QUAKE $ ./glquake -nomtex -game id1

2 Responses

  1. James Hastings-Trew
    James Hastings-Trew 20 février 2014 at 19h12 | |

    After compilation, I get this error:
    WinQuake/sdl/snd_sdl.c:4:27: fatal error: SDL_byteorder.h: No such file or directory
    compilation terminated.

    1. Framboisier
      Framboisier 21 février 2014 at 0h12 | |

      Do you have installed all sdl graphics librairies :

      $ sudo apt-get install libsdl-sound1.2-dev libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev
      

Leave a Reply

You must be logged in to post a comment.