INSTALL WARZONE 2100 | FROM GIT | UNSTABLE BRANCH | ALLENLINUX

| WELCOME TO INSTALATION OF WARZONE2100 |

| old manual | check main input | https://wz2100.net/ |

|COMPILING DEVELOPMENT UNSTABLE (STABLE 🙂 VERSION )

|you have to be patient |
|many libraries to download |
|check you have rendering and free or propietary drivers
|installed:
|JUST ONE OF THEM…|
|Install step by step, DO NOT FORGET ANY STEP |
|DO NOT COPY ENTERING NUMBERS, JUST COMMANDS |
| apt and aptitude commands are for DEBIAN and relatives |

ENJOY:

0.- git clone https://github.com/Warzone2100/warzone2100.git

0.1.- cd warzone2100/

1.- apt-get install libcrypto++-utils libcryptokit-ocaml-dev libcrypto++-dev libcrypto++-utils libcrypto++9 libssl-dev hg-fast-export cmake automake kernel-package fakeroot libncurses5-dev zlib1g-dev build-essential libfribidi-dev asciidoc wkhtmltopdf spl-sdl libsdl-dev flex bison libpng12-dev libsdl1.2-dev libopenal-dev libphysfs-dev libvorbis-dev libtheora-dev libglc-dev libglew1.6-dev libxrandr-dev zip unzip libqt4-opengl-dev libqt4-network libqjson-dev

1.1.- apt-get build-dep warzone2100
2.- hg clone -r stable-2.0 http://hg.icculus.org/icculus/physfs/
2.0.- cd physfs/
2.1.- mkdir build
2.2.- cd build/
2.3.- cmake ../
2.4.- make
2.5.- make install
3.- wget -c http://www.libsdl.org/tmp/release/SDL2-2.0.0.tar.gz
3.1.- cd SDL2-2.0.0/
3.2.- ./configure
3.3.- make
3.4.- make install
4.- cd ..
5.0.0.- ./autogen.sh

5.0.0.1.- DONWLOAD GLEW:
http://hivelocity.dl.sourceforge.net/project/glew/glew/1.10.0/glew-1.10.0.tgz

5.0.0.2.- UNPACKAGE & INSTALL:

tar -zxvf glew-1.10.0.tgz

apt-get build-dep glew

make

make install

DO NOT COPY THIS, FIRST READ

./configure –with-distributor=”YOUR LINUX DISTRIBUTION NAME, UPPERCASE, QUOTATION INCLUDED” | Example:

./configure –with-distributor=”TRISQUEL”

NOW YOU ALREADY KNOW YOUR LINUX DISTRO, JUST PUT THE COMMAND, IN MY CASE IS TRISQUEL, IN YOUR CASE MAY BE ITS THE SAME, OR UBUNTU, SLACKWARE, DEBIAN, WHATEVER…:

NOW YOU CAN COPY MODIFIYNG YOUR LINUX DISTRO:

5.1.1.- ./configure –with-distributor=”TRISQUEL”
5.1.2.- make
5.2.3.- make install

OPEN THE GAME

5.- ./src/warzone2100

SETTING THE RESOLUTION IN CASE OF SHORT WINDOW (inside game you can do it too by clicking easily)

./src/warzone2100 –resolution=800×600
./src/warzone2100 –resolution=1024×768
./src/warzone2100 –resolution=1280×768
./src/warzone2100 –resolution=1280×800

you can also try full screen

./src/warzone2100/ –fullscreen

|||||SOLVING-SDL_SetVideoMode failed |||||

| ABOUT SDL |SIMPLE DIRECTMEDIA LAYER TROUBLESHOOTING |

A.- THERE IS A PAINFUL WARZONE2100 BUG ACCORDING TO DIRECT MEDIA LAYER. IT´S IMPORTANT FOR YOU TO INSTALL MANY SDL LIBRARIES AS YOU CAN, EVEN IF YOU DONT NEEDED, INSTALL EVEN SDL LIRARIES FOR PERL AND MORE.

B.- IF YOU CAN NOT SOLVE THIS PAINFUL FOLLOWING ISSUE:

error |12:26:42: [screenInitialise] SDL_SetVideoMode failed (Could find matching GLX visual).

C.- TRY THIS:

c.1.- Install warzone2100 from repositories or synaptic:
c.2.- apt-get install warzone2100

C.3.- If you keep the pain in the ass, just delete warzone2100 from repositories
c.4.- apt-get remove –purge warzone2100
c.5.- aptitude remove –purge warzone2100

REMEMBER TO CLEAN YOUR SYSTEM USING UBUNTU-TWEAK OR BLEACHBIT | also | aptitude autoclean | aptitude clean | apt-get clean | apt-get autoclean | apt-get -f install |

D.- IF YOU CAN NOT SOLVE THIS BY EDITING GRAPHICS CONFIGURATION FROM WARZONE FILES THE ONLY THING YOU CAN DO IS:

D.1.-Delete the .warzone master file on root directory

D.2.- cd /root/
D.3.- ls -a
D.4.- rm -rf .warzone2100-master/

D.5.-Execute again the game without “./”

warzone2100

E.- IF YOU WANT TO RUN AND SOLVE SDL_fail WARZONE2100 AS NORMAL USER JUST DELETE THE SAME MASTER WARZONE FILE FROM /HOME/.YOUR-USER-NAME

E.1.- open a terminal
E.2.- rm -rf /home/USER/.warzone2100-master/

E.3.- Execute again the game without “./”

warzone2100

$001.- SOLVE THE BLACK SCREEN warzone2100 PROBLEM

alt + f2
warzone2100 –notexturecompression
‘write warzone2100+space+double dash+notexturecompression’

also remember to read carefully factory instructions:

http://developer.wz2100.net/wiki/CompileGuideLinux

https://allenlinux.wordpress.com
“with the same weapons to the enemy”
-Simón Bolívar-

Advertisements

About allenlinux

-Magister en Semiótica y Licenciado en Comunicacion social. Experto en periodismo informativo. Analista avanzado en GNU/Linux. -Fomento y promuevo el desarrollo integral de las naciones y particulares en materia de software libre, fotografía, semiótica y comunicación. Analista experto del discurso periodístico informativo.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s