Page 1 of 1

Ubuntu version 3.1.5

Posted: 08 Apr 2018, 12:27
by Elliott H
Hi!
I installed this game on my ubuntu system and my mac to play a game together,
however once I created a game on Ubuntu, my mac version could not see the game.
I think this is because we have different versions.
So, is it possible to "downgrade" my Ubuntu version to 3.1.5 so we can play together?
Also how to do so?
Thanks!

Ubuntu version 3.1.5

Posted: 08 Apr 2018, 13:09
by Elliott H
Hi,
I recently installed this game on my Ubuntu system to play with my friend who has the mac version 3.1.5

I hosted a game but he could not find it even by IP address.
I think this is because we have different versions of the game...

So is it possible to make my Ubuntu version 3.1.5?
And if so how to do so?
Thanks!

Re: Ubuntu version 3.1.5

Posted: 09 Apr 2018, 02:13
by Berg
Hi
To run 3.1.5 on your ubuntu system install these libs

Code: Select all

sudo apt-get install --yes build-essential automake xz-utils g++ libqt4-dev libsdl-dev libtheora-dev libfribidi-dev libopenal-dev libvorbis-dev libxrandr-dev libfontconfig-dev wget cmake wkhtmltopdf libglew-dev libphysfs-dev 
Then download the source https://sourceforge.net/projects/warzon ... z/download
open the archive and place the folder to a place you desire
open a terminal inside the top folder of warzone2100-3.1.5
enter the commands

Code: Select all

./autogen.sh && ./configure && make
Have fun
PS: the compile guide http://developer.wz2100.net/wiki/Compil ... version=80

Re: Ubuntu version 3.1.5

Posted: 09 Apr 2018, 12:13
by andrvaut
Still have to apply this patch:
https://github.com/Warzone2100/warzone2 ... 726d85b11e

I highly recommend using -O2 optimization when build. Without it, the subsidence of productivity is almost double.

Code: Select all

./autogen.sh && ./configure   CXXFLAGS="-O2" && make
Without it, the game is slowly.

Re: Ubuntu version 3.1.5

Posted: 09 Apr 2018, 12:31
by Berg
andrvaut wrote:Still have to apply this patch:
https://github.com/Warzone2100/warzone2 ... 726d85b11e
The source code I supplied is a finished release

Re: Ubuntu version 3.1.5

Posted: 09 Apr 2018, 12:51
by andrvaut
This release is this commit:
https://github.com/Warzone2100/warzone2 ... 74d8b8b07c
If I understand correctly, it is published on sourceforge.net.
But with the new version of gcc it does not compile without this patch.