Ubuntu version 3.1.5

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket

Ubuntu version 3.1.5

Postby Elliott H » 08 Apr 2018, 12:27

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!
Elliott H
New user
 
Posts: 2
Joined: 08 Apr 2018, 12:21

Ubuntu version 3.1.5

Postby Elliott H » 08 Apr 2018, 13:09

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!
Elliott H
New user
 
Posts: 2
Joined: 08 Apr 2018, 12:21

Re: Ubuntu version 3.1.5

Postby Berg » 09 Apr 2018, 02:13

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
User avatar
Berg
Regular
Regular
 
Posts: 1990
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Ubuntu version 3.1.5

Postby andrvaut » 09 Apr 2018, 12:13

Still have to apply this patch:
https://github.com/Warzone2100/warzone2100/commit/32646de31df19d12c7070d2993accc726d85b11e

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.
vaut ΣΑ [GN], ru streamer.
Tournaments channel: https://www.youtube.com/channel/UCzusNa-54ydodtSz2TdHFww
User avatar
andrvaut
Trained
Trained
 
Posts: 89
Joined: 02 Jan 2016, 12:44

Re: Ubuntu version 3.1.5

Postby Berg » 09 Apr 2018, 12:31

andrvaut wrote:Still have to apply this patch:
https://github.com/Warzone2100/warzone2 ... 726d85b11e

The source code I supplied is a finished release
User avatar
Berg
Regular
Regular
 
Posts: 1990
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Ubuntu version 3.1.5

Postby andrvaut » 09 Apr 2018, 12:51

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.
vaut ΣΑ [GN], ru streamer.
Tournaments channel: https://www.youtube.com/channel/UCzusNa-54ydodtSz2TdHFww
User avatar
andrvaut
Trained
Trained
 
Posts: 89
Joined: 02 Jan 2016, 12:44


Return to Technical Help / Troubleshooting