What do I need to play the game in Ubuntu 7.10?

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
legolas
New user
Posts: 3
Joined: 08 Mar 2008, 19:14

What do I need to play the game in Ubuntu 7.10?

Post by legolas »

Hi
Thank you for reading my post
I saw that installation file is only 16 MB and it is very small for a Realtime strategy, Is there some other packages or data files that I should install in order to play this game?

Thanks
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: What do I need to play the game in Ubuntu 7.10?

Post by Buginator »

legolas wrote: Hi
Thank you for reading my post
I saw that installation file is only 16 MB and it is very small for a Realtime strategy, Is there some other packages or data files that I should install in order to play this game?

Thanks
Don't use the one in the Ubuntu repo, unless they updated it.  The one they had is very old, and broken.

I suggest you compile it yourself.

I think the size is around 30-40MB or so now.
and it ends here.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: What do I need to play the game in Ubuntu 7.10?

Post by DevUrandom »

legolas wrote: Hi
Thank you for reading my post
I saw that installation file is only 16 MB and it is very small for a Realtime strategy, Is there some other packages or data files that I should install in order to play this game?

Thanks
Version 2.0.10 is ~15MB, yes that is correct.
2.1_beta1 is ~30MB, but there is not yet a Debian (and thus of course no Ubuntu) package available yet.

Just, like Buginator said: Take care you do not use and Ubuntu 2.1.0~svn package, that one is broken and outdated and does not work and it is old.
legolas
New user
Posts: 3
Joined: 08 Mar 2008, 19:14

Re: What do I need to play the game in Ubuntu 7.10?

Post by legolas »

Thank you for reply.
Is it good to download and build http://svn.gna.org/daily/warzone-snapshot.tar.gz ?
Do I need some kind of data and mission files ?

thanks.
User avatar
Verminus
Trained
Trained
Posts: 121
Joined: 18 Feb 2008, 19:13
Location: Peterborough, England

Re: What do I need to play the game in Ubuntu 7.10?

Post by Verminus »

no the svn snapshot will have everything you need. apart from the dependencies (ie: QuesoGLC, which isn't  in the Ubuntu repo either).

a compile guide can be found in the wiki here http://wiki.wz2100.net/Compile_Guide
legolas
New user
Posts: 3
Joined: 08 Mar 2008, 19:14

Re: What do I need to play the game in Ubuntu 7.10?

Post by legolas »

Thank you very much.
I complete that wiki page instructions and now I am looking to find how i should start the game.
however I have found a file named:wscript and I execute it using ./wscript but it stops with the following error:

Code: Select all

 
Traceback (most recent call last):
  File "./wscript", line 16, in <module>
    import Utils
ImportError: No module named Utils

am i executing a correct file?
What is this error about?


Thanks.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: What do I need to play the game in Ubuntu 7.10?

Post by DevUrandom »

wscript is the waf build script, not a warzone starter...
Run ./src/warzone2100 instead.
nevlis
New user
Posts: 1
Joined: 10 Mar 2008, 22:21

Re: What do I need to play the game in Ubuntu 7.10?

Post by nevlis »

I am trying to install under Ubuntu 7.1 also... but I'm having trouble running ./configure for QuesoGLC. I've tried 0.6.5 and 0.7.0 and they both have the same problem. It stalls after trying to find the OpenGL Util Toolkit, which I have installed, and have reinstalled. I tried the workaround on the wiki (the LDFLAGS pointer), but that doesnt work either. I've only been using Ubuntu for a few weeks so I'm sorry that I don't know any more useful information than that. Please let me know what I should do.

Thanks in advance.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: What do I need to play the game in Ubuntu 7.10?

Post by DevUrandom »

We definitely need more information...
I.e. which ./configure fails? QuesoGLC's or Warzone's? What does ./configure exactly output? Can you attach the config.log file?
User avatar
Verminus
Trained
Trained
Posts: 121
Joined: 18 Feb 2008, 19:13
Location: Peterborough, England

Re: What do I need to play the game in Ubuntu 7.10?

Post by Verminus »

I think he means the ./configure script for QuesoGLC.

I also run Unbuntu 7.10 and even though Synaptic says I do have the libglut3, libglut3-dev, GLUT3 and GLUT3-dev packages (all of which have been replaced by freeglut3 and freeglut3-dev respectively) but Queso's ./configure script says I cant find the GLUT library so wont build the example programs and tests, (not that I'm that bothered really) but it will still build the actual QuesoGLC libs.
Last edited by Verminus on 11 Mar 2008, 12:12, edited 1 time in total.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: What do I need to play the game in Ubuntu 7.10?

Post by DevUrandom »

--disable-executables (in >=quesoglc-0.7.0) prevents building the tests and examples.
chuck
New user
Posts: 2
Joined: 25 Mar 2008, 00:20

Re: What do I need to play the game in Ubuntu 7.10?

Post by chuck »

Hi there!

Nice to see such an active and helpful team here.

I'm running Ubuntu 7.10 64bit, stumbled across your game and found out the Ubuntu version is broken. So I checked out http://svn.gna.org/svn/warzone/trunk (r4326) as recommended somewhere here on the board and compiled it, without major problems.

After 'sudo make install', I'm not able to start a campaign running /usr/local/bin/warzone2100:

Code: Select all

warning : Sequence display is currently disabled (sequences/cam1/c001.rpl)
warning : seq_StartFullScreenVideo: unable to initialise sequence sequences/cam1/c001.rpl
Saved dump file to '/tmp/warzone2100.gdmp'
Segmentation fault (core dumped)
So I  ran the binary in the trunk/src dir, but now facing the problem I had in the first place: I cannot load the saved games, because wz segfaults. (By the way I still get those warnings, but the game does not crash when I start a new campaign.)

I'd be thankful for any advice.
Thanks!
Last edited by chuck on 25 Mar 2008, 00:46, edited 1 time in total.
Ursa
Trained
Trained
Posts: 66
Joined: 16 Jul 2007, 18:36

Re: What do I need to play the game in Ubuntu 7.10?

Post by Ursa »

Honestly it's really hard to get all the dependencies taken care of unless you're using the unstable Ubuntu (Hardy) because you need a newer Libc6 library than they provide.

I wish I knew how to put a fully compiled version in a .deb file, I could just give it to you... but I don't
ratarf
Trained
Trained
Posts: 154
Joined: 29 Nov 2006, 09:45

Re: What do I need to play the game in Ubuntu 7.10?

Post by ratarf »

I had some time yesterday night, so I downloaded ubuntu 7.10, put it on a cd, installed it on my older laptop. After some struggle I got my wireless network to work. Then I followed the linux compile guide from the wiki. It went a lot smoother than I expected, the guide really helped me.
So finally warzone compiled and ran just fine. Now I want to play around with the code. Any IDE recommendations?
chuck
New user
Posts: 2
Joined: 25 Mar 2008, 00:20

Re: What do I need to play the game in Ubuntu 7.10?

Post by chuck »

Ursa wrote: Honestly it's really hard to get all the dependencies taken care of unless you're using the unstable Ubuntu (Hardy) because you need a newer Libc6 library than they provide.
So I upgraded Ubuntu to 8.04, make clean quesoglc-0.7.1, ./configured, made and made install it. Then made clean warzone, ./autogen.shed, ./configured, made and made install. With unfortunately the same results as before. Except that additional warning (which appears, when I'm quitting to restart and load, so I guess it doesn't matter):

Code: Select all

warning : eventReset: 3 contexts still allocated at reset
Building a package for Ubuntu 7.10 won't help unless you link the libraries staticly, since Ubuntu uses other versions, am I right? If I got the game running, I could try doing that...

Compiling under Ubuntu is absolutely no problem as long as you roughly can guess which -dev packages you need to apt-get. I was able to figure that out even before finding that guide.
ratarf wrote:Any IDE recommendations?
Give Eclipse a shot. I know it's big and fat, but it has some nice features.
Last edited by chuck on 25 Mar 2008, 19:40, edited 1 time in total.