Quake : Texture

Quake : Texture.

1/ Répertoire de travail.

pi@doompi:~ $ cd JEUX/QUAKE/Outil/
pi@doompi:~/JEUX/QUAKE/Outil $

2/ Téléchargement du code source.

pi@doompi:~/JEUX/QUAKE/Outil $ git clone https://github.com/bunder/qpakman.git
pi@doompi:~/JEUX/QUAKE/Outil $ cd qpakman/

3/ Configuration de la compilation.

pi@doompi:~/JEUX/QUAKE/Outil/qpakman $ cmake .

4/ Compilation.

pi@doompi:~/JEUX/QUAKE/Outil/qpakman $ make

5/ Installation.

pi@doompi:~/JEUX/QUAKE/Outil/qpakman $ sudo cp qpakman /usr/local/bin/

6/ Extraction des textures.

pi@doompi:~/JEUX/QUAKE/Outil/qpakman $ cd ~/.quakeforge/id1/textures/
pi@doompi:~/.quakeforge/id1/textures $ qpakman -extract quake101.wad

7/ Conversion des images.

pi@doompi:~/.quakeforge/id1/textures $ for f in *.png;do echo $f && convert $f `basename $f .png`.tga; done
pi@doompi:~/.quakeforge/id1/textures $ for f in *.png;do echo $f && convert $f `basename $f .png`.jpg; done
pi@doompi:~/.quakeforge/id1/textures $ mkdir quake
pi@doompi:~/.quakeforge/id1/textures $ mv * quake

8/ Lien.

https://github.com/bunder/qpakman

Comments are closed, but trackbacks and pingbacks are open.