3.1.3 has been released!

The projects speaking tube.
Add your two cents if you want to.

Re: 3.1.3 has been released!

Postby gypakk » 07 Feb 2016, 22:20

stiv wrote:In it, you could include more information. Something like:


Hi stiv, thanks for quick reply!
You are right, I could have included some more information. The "compile guide" I was referring to is located here:
http://developer.wz2100.net/wiki/CompileGuideLinux

It seems to be outdated...

What I tried:
Installed a fresh Ubuntu 15.10 Desktop (64 bit). Then got all necessary packages mentioned in the compile guide. After that, I downloaded Warzone 3.1.3 from here:
https://github.com/Warzone2100/warzone2 ... /3.1.3.zip
unpacked it and entered "./autogen.sh && ./configure && make".

This does not work (see error message above). It seems that you need to download the sources via git commands.

--> So I installed git package (not mentioned in compile guide). Then used this commend for download:
git clone https://github.com/Warzone2100/warzone2100 -b 3.1.3 --single-branch
(Not sure if this is right but seems to work somehow...)

Then went into the WZ directory and started "./autogen.sh && ./configure && make". -> no Error now! :-)

Meanwhile I've realized that user Staff wrote something about "git fetch origin --tags; git checkout 3.1.3" in his initial post. That I had already tried. But it did not work of course, because there wasn't any git configuration.
Still not certainly sure if this was the reason for the whole problem...
gypakk
Trained
Trained
 
Posts: 60
Joined: 07 Nov 2007, 20:16
Location: 11° east, 49°30' north

Re: 3.1.3 has been released!

Postby cybersphinx » 07 Feb 2016, 22:33

gypakk wrote:unpacked it and entered "./autogen.sh && ./configure && make".

The tarball should work without running "./autogen.sh".
We want information... information... information.
cybersphinx
Inactive
Inactive
 
Posts: 1671
Joined: 01 Sep 2006, 19:17

Re: 3.1.3 has been released!

Postby vexed » 08 Feb 2016, 05:11

gypakk wrote:What I tried:
Installed a fresh Ubuntu 15.10 Desktop (64 bit). Then got all necessary packages mentioned in the compile guide. After that, I downloaded Warzone 3.1.3 from here:
https://github.com/Warzone2100/warzone2 ... /3.1.3.zip
unpacked it and entered "./autogen.sh && ./configure && make".

No, that won't work, we generate some things when we create the tarball. That is why we specify that you get files from SourceForge.

This does not work (see error message above). It seems that you need to download the sources via git commands.

--> So I installed git package (not mentioned in compile guide). Then used this commend for download:
git clone https://github.com/Warzone2100/warzone2100 -b 3.1.3 --single-branch
(Not sure if this is right but seems to work somehow...)

Well, you could do that, a bit ugly IMO, but, hey, if that works for you... fine. :)

Meanwhile I've realized that user Staff wrote something about "git fetch origin --tags; git checkout 3.1.3" in his initial post. That I had already tried. But it did not work of course, because there wasn't any git configuration.
Still not certainly sure if this was the reason for the whole problem...

Once you clone the repo, there isn't any extra git specific configuration needed.
In this case, you just downloaded the wrong thing from the wrong place.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
User avatar
vexed
Inactive
Inactive
 
Posts: 2411
Joined: 27 Jul 2010, 02:07

Re: 3.1.3 has been released!

Postby gypakk » 08 Feb 2016, 15:17

Hi vexed, thank you for this elaborate explanation!

vexed wrote:No, that won't work, we generate some things when we create the tarball. That is why we specify that you get files from SourceForge.
(...)
In this case, you just downloaded the wrong thing from the wrong place.


Yes, that was my mistake. The Linux Compile Guide offers two options:
- Getting The Source From A Tarball
- Getting The Source From Git
I decided to do the latter, and did it in a wrong way.

Thanks for all your help!!

Maybe next Ubuntu Version (April 2016) could have Warzone 3.1.3 in Debian repository? It still seems to be 3.1.1 at Debian.
What would be necessary to update Debian repository?
gypakk
Trained
Trained
 
Posts: 60
Joined: 07 Nov 2007, 20:16
Location: 11° east, 49°30' north

Re: 3.1.3 has been released!

Postby Berg » 08 Feb 2016, 22:46

Don't hold your breath on Ubuntu repo's catching up to warzone2100 release.

Its been behind since forever!
User avatar
Berg
Regular
Regular
 
Posts: 1882
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: 3.1.3 has been released!

Postby vexed » 09 Feb 2016, 06:21

gypakk wrote:...
Maybe next Ubuntu Version (April 2016) could have Warzone 3.1.3 in Debian repository? It still seems to be 3.1.1 at Debian.
What would be necessary to update Debian repository?


We have 0 control over distros & maintainers.
You would have to e-mail them and ask them to update it, or however that works on each distro.

I added this note:

For LINUX people (that don't want to compile it themselves) use http://www.playdeb.net/app/Warzone2100 since that usually has the latest version available, and maintainers & distros are very slow on updating the game!
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
User avatar
vexed
Inactive
Inactive
 
Posts: 2411
Joined: 27 Jul 2010, 02:07

Re: 3.1.3 has been released!

Postby gypakk » 15 Feb 2016, 19:47

vexed wrote:You would have to e-mail them and ask them to update it, or however that works on each distro.


Good idea, will do that!

vexed wrote:For LINUX people (that don't want to compile it themselves) use http://www.playdeb.net/app/Warzone2100 since that usually has the latest version available, and maintainers & distros are very slow on updating the game!


Excellent!!
Downloaded the game from PlayDeb. It works fine.
The only thing is, that the interface is in German. When I try switching to English_UK or en_US it promptly returns to German. Seems to be a German-only version at PlayDeb.

EDIT

Found a work-around: starting wz from command line.

LANG=en_US warzone2100

However... seems to be a bug somehow... I think.
gypakk
Trained
Trained
 
Posts: 60
Joined: 07 Nov 2007, 20:16
Location: 11° east, 49°30' north

Re: 3.1.3 has been released!

Postby vexed » 17 Feb 2016, 06:13

It uses system locale AFAIK.
You can also change it in the config file for language.

I didn't have the time to check PlayDeb, can someone else verify if it is stuck to German?
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
User avatar
vexed
Inactive
Inactive
 
Posts: 2411
Joined: 27 Jul 2010, 02:07

Re: 3.1.3 has been released!

Postby gypakk » 17 Feb 2016, 12:03

vexed wrote:It uses system locale AFAIK.
You can also change it in the config file for language.
I didn't have the time to check PlayDeb, can someone else verify if it is stuck to German?


Hello vexed, I stand corrected. It is not stuck in German. You are right, it is stuck in System Language -- which is German in my case.

My work-around is this:
I opened the file /usr/share/applications/warzone2100.desktop in an editor and changed the "Exec=" line to:

Code: Select all
Exec=bash -c "LANG=en_US warzone2100"


Works fine but it's just a work-around.
gypakk
Trained
Trained
 
Posts: 60
Joined: 07 Nov 2007, 20:16
Location: 11° east, 49°30' north

Re: 3.1.3 has been released!

Postby vexed » 19 Feb 2016, 05:06

Ahh, OK, but, you should still be able to set that in the config file, then you wouldn't have to start WZ with that all the time.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
User avatar
vexed
Inactive
Inactive
 
Posts: 2411
Joined: 27 Jul 2010, 02:07

Re: 3.1.3 has been released!

Postby gypakk » 22 Feb 2016, 20:22

vexed wrote:Ahh, OK, but, you should still be able to set that in the config file, then you wouldn't have to start WZ with that all the time.


Right, I can change that language line in config file, but this does not have any effect on the game. And... each program run resets this language entry in the config file.
gypakk
Trained
Trained
 
Posts: 60
Joined: 07 Nov 2007, 20:16
Location: 11° east, 49°30' north

Re: 3.1.3 has been released!

Postby Tzeentch » 04 Apr 2016, 03:46

odd I seem to be having a problem... I'm experimenting with compiling options ( I know what they are doing ) even when I follow exactly as the guide states I get a core dump on process launch.

Code: Select all
uname -a
Linux ss-laptop 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:48:15 UTC 2016 i686 i686 i686 GNU/Linux
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
sudo apt-get build-dep warzone2100
./autogen.sh
./configure --disable-debug CFLAGS="-O2 -gstabs -g -g3" CXXFLAGS="-O2 -gstabs -g -g3"
make -j8
./src/warzone2100
info    |02:30:07: [realmain:1167] Using /home/ss/.warzone2100-3.1/3.1.3/logs/WZlog-0404_023007.txt debug file
No function contains program counter for selected frame.
No function contains program counter for selected frame.
Saved dump file to '/home/ss/.warzone2100-3.1/3.1.3/logs/warzone2100.gdmp-8FHtK2'
If you create a bugreport regarding this crash, please include this file.
Segmentation fault (core dumped)

I wanted to compare tests on compile flags... I wanted to observe how this will work for example. See attached file
Code: Select all
./configure --enable-debug=no CFLAGS="-fomit-frame-pointer -Os" CXXFLAGS="-fomit-frame-pointer -Os"


warzone2100-all-dumps.zip
all dumps, please look at
(26.75 KiB) Downloaded 89 times
Attachments
warzone2100-2.zip
another dump!
(3.83 KiB) Downloaded 82 times
warzone2100.zip
one dump
(3.83 KiB) Downloaded 82 times
Last edited by Tzeentch on 04 Apr 2016, 14:22, edited 1 time in total.
More or less grey
User avatar
Tzeentch
Trained
Trained
 
Posts: 237
Joined: 14 Oct 2012, 14:24

Re: 3.1.3 has been released!

Postby NoQ » 04 Apr 2016, 09:39

Zip, as far as i remember.
User avatar
NoQ
Special
Special
 
Posts: 6102
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: 3.1.3 has been released!

Postby Tzeentch » 05 Apr 2016, 00:53

edited and uploaded to previous comment, of any use?
More or less grey
User avatar
Tzeentch
Trained
Trained
 
Posts: 237
Joined: 14 Oct 2012, 14:24

Re: 3.1.3 has been released!

Postby vexed » 05 Apr 2016, 03:28

Those crash dumps point to sdl & your 945 drivers.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
User avatar
vexed
Inactive
Inactive
 
Posts: 2411
Joined: 27 Jul 2010, 02:07

PreviousNext

Return to News and announcements