WZ2100 prerequirements

Here you may talk about Warzone's Gameplay, Strategy & Tactics
Post Reply
Radamat
Greenhorn
Posts: 6
Joined: 25 Dec 2014, 21:04

WZ2100 prerequirements

Post by Radamat »

I have reinstalled WZ a dozen of times. It bothers me to 'sudo apt-get' all that libs. For the first times it war realy problematic to find out how to get theora, physicsfs, xrandr.
So I wrote down all my commandline commands into script file.

here is the content of that file.

Code: Select all

sudo apt-get install --yes xz-utils
sudo apt-get install --yes g++
sudo apt-get install --yes libqt4-dev libsdl-dev libtheora-dev libfribidi-dev
sudo apt-get install --yes libopenal-dev libvorbis-dev libxrandr-dev libfontconfig-dev
sudo apt-get install --yes wget cmake wkhtmltopdf
wget http://icculus.org/physfs/downloads/physfs-2.0.3.tar.bz2
tar xjf physfs-2.0.3.tar.bz2
cd physfs-2.0.3
mkdir build
cd build
cmake ..
make
sudo make install
cd ../..
cd warzone2100-3.1.1
./configure
make
sudo make install
It was tested under fresh installation of Ubuntu 10.04 with already (with all those commands) installed wz2100 3.1.1
no errors were noticed during test

to use it copy-paste code into 'warzone2100-prereqs.sh' for example
then execute 'chmod +x warzone2100-prereqs.sh' in commandline to make file executable
then './warzone2100-prereqs.sh' to run it
or you may try
'sudo su bash ./warzone2100-prereqs.sh'

file is distributed under GPL, you may do anything you want with it.
Excuse me for my english.
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: WZ2100 prerequirements

Post by vexed »

Hmm...
http://developer.wz2100.net/wiki/CompileGuideLinux
Perhaps someone wants to update that ?
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: WZ2100 prerequirements

Post by NoQ »

First of all, you need to learn about apt-get build-dep. Then,

Code: Select all

wget http://icculus.org/physfs/downloads/physfs-2.0.3.tar.bz2
tar xjf physfs-2.0.3.tar.bz2
cd physfs-2.0.3
mkdir build
cd build
cmake ..
make
sudo make install
You're crazy. Please don't advice people to break their system. If you're trying to avoid the broken v2.02 this way, at least build a .deb package file instead, so that people could at least uninstall it cleanly.

Same goes for warzone2100 itself, except that you don't need to install it at all, as it runs well from the build folder.
Radamat
Greenhorn
Posts: 6
Joined: 25 Dec 2014, 21:04

Re: WZ2100 prerequirements

Post by Radamat »

vexen, surely no.
Thanks. I'll look how to build .deb packages and will read about apt-get build-dep.
Shame to me that I don't thank that compilation guide is already wroten somewhere.
Post Reply