3.1.3 has been released!

The projects speaking tube.
Add your two cents if you want to.
gypakk
Trained
Trained
Posts: 60
Joined: 07 Nov 2007, 20:16
Location: 11° east, 49°30' north

Re: 3.1.3 has been released!

Post by gypakk »

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...
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: 3.1.3 has been released!

Post by cybersphinx »

gypakk wrote:unpacked it and entered "./autogen.sh && ./configure && make".
The tarball should work without running "./autogen.sh".
We want information... information... information.
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: 3.1.3 has been released!

Post by vexed »

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.
gypakk
Trained
Trained
Posts: 60
Joined: 07 Nov 2007, 20:16
Location: 11° east, 49°30' north

Re: 3.1.3 has been released!

Post by gypakk »

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

Re: 3.1.3 has been released!

Post by Berg »

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

Its been behind since forever!
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: 3.1.3 has been released!

Post by vexed »

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.
gypakk
Trained
Trained
Posts: 60
Joined: 07 Nov 2007, 20:16
Location: 11° east, 49°30' north

Re: 3.1.3 has been released!

Post by gypakk »

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.
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: 3.1.3 has been released!

Post by vexed »

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.
gypakk
Trained
Trained
Posts: 60
Joined: 07 Nov 2007, 20:16
Location: 11° east, 49°30' north

Re: 3.1.3 has been released!

Post by gypakk »

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.
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: 3.1.3 has been released!

Post by vexed »

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.
gypakk
Trained
Trained
Posts: 60
Joined: 07 Nov 2007, 20:16
Location: 11° east, 49°30' north

Re: 3.1.3 has been released!

Post by gypakk »

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.
User avatar
Tzeentch
Trained
Trained
Posts: 300
Joined: 14 Oct 2012, 14:24

Re: 3.1.3 has been released!

Post by Tzeentch »

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 316 times
Attachments
warzone2100-2.zip
another dump!
(3.83 KiB) Downloaded 288 times
warzone2100.zip
one dump
(3.83 KiB) Downloaded 291 times
Last edited by Tzeentch on 04 Apr 2016, 14:22, edited 1 time in total.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: 3.1.3 has been released!

Post by NoQ »

Zip, as far as i remember.
User avatar
Tzeentch
Trained
Trained
Posts: 300
Joined: 14 Oct 2012, 14:24

Re: 3.1.3 has been released!

Post by Tzeentch »

edited and uploaded to previous comment, of any use?
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: 3.1.3 has been released!

Post by vexed »

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.
Post Reply