UFO:Alien Invasion

Technical support => Linux => Topic started by: romanovzky on July 15, 2009, 06:27:42 pm

Title: Linux Repositories (Ubuntu)
Post by: romanovzky on July 15, 2009, 06:27:42 pm
Dead?

I've added the repositories for ubuntu jaunty in two computers.

I've installed UFO 2.3 via repository in one of them. Some days later the repository ceased to appear in aptitude or synaptic.

What happened?

Anyone else has problems with rep?
Title: Re: Linux Repositories (Ubuntu)
Post by: geever on July 15, 2009, 07:19:00 pm
Dead?

I've added the repositories for ubuntu jaunty in two computers.

I've installed UFO 2.3 via repository in one of them. Some days later the repository ceased to appear in aptitude or synaptic.

What happened?

Anyone else has problems with rep?

Hi!

I'm alive.
We have no repository at all, never had AFAIK!

-geever
Title: Re: Linux Repositories (Ubuntu)
Post by: romanovzky on July 16, 2009, 07:04:53 pm
http://ufoai.sourceforge.net/?page=Download

This is what?
Title: Re: Linux Repositories (Ubuntu)
Post by: geever on July 16, 2009, 07:09:07 pm
http://ufoai.sourceforge.net/?page=Download

This is what?

Link to a contributors server who we haven't seen for ages. We don't have access to trylegaldownloads.de, sorry.

If you're on linux compiling is very easy. Grab the SVN and join beta-testing! ;)

-geever
Title: Re: Linux Repositories (Ubuntu)
Post by: leavelllusion on December 04, 2009, 06:30:56 pm
How can I grab SVN and download latest develop version?
Title: Re: Linux Repositories (Ubuntu)
Post by: Destructavator on December 04, 2009, 06:33:30 pm
How can I grab SVN and download latest develop version?

http://ufoai.ninex.info/wiki/index.php/Getting_the_source

and

http://ufoai.ninex.info/wiki/index.php/Debian
Title: Re: Linux Repositories (Ubuntu)
Post by: QkiZ on January 21, 2010, 10:59:32 pm
There are packages for Debian / Ubuntu:
http://www.spyrius.com/ufoai_debs/i386/
Title: Re: Linux Repositories (Ubuntu)
Post by: leyon on April 12, 2010, 03:59:32 am
Hi, just grabbed the 2.3 source off svn. I'm running Jaunty and there seems to be a problem running ./configure. I've got libsdl-image1.2-dev installed via Synaptic (where SDL_image resides, apparently) but the script is unable to locate it. It also cannot find the SDL_mixer libraries as well. Am I missing something here?
Title: Re: Linux Repositories (Ubuntu)
Post by: docwild on April 12, 2010, 04:36:27 am
Code: [Select]
sudo apt-get install make gcc subversion build-essential\
   libglib2.0-dev libgtk2.0-dev libgtkglext1-dev libgtksourceview2.0-dev\
   libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libvorbis-dev zlib1g-dev gettext libtheora-dev \
   libjpeg62-dev libpng12-dev libncurses5-dev libcurl3-dev libsdl-mixer1.2-dev \
   libxml2-dev libopenal-dev

will install the dependencies, libraries and software. Just copy and paste the whole lot into a terminal it will only install what isn't already on your system. ./configure should then work.

Follow the instructions here to make and install it (it'd probably be quicker to download the maps):

http://ufoai.ninex.info/wiki/index.php/Debian (http://ufoai.ninex.info/wiki/index.php/Debian)

After its finished, it wont take long to keep it updated. I cd into the build directory and I use this line:

Code: [Select]
svn up && make && make lang && make maps && make pk3 && make uforadiant && sudo make install && sudo make install_data
Which downloads modified source code and compiles only what's changed, if you've already done a full compile before. Modify the line for a lesser compile or you might be there for some time. Make sure you run it with the ./ufo script in the build directory ('./ufo' on command line in build)  rather than the executable in your path ('ufo' on a command line from anywhere). Hope this helps.






Title: Re: Linux Repositories (Ubuntu)
Post by: leyon on April 12, 2010, 06:39:03 am
That's the weird thing - I have the latest versions of all those packages. When I use that command it says everything is already installed but ./configure itself cannot find SDL_image, SDL_mixer and Mix_OpenAudio libraries.
Title: Re: Linux Repositories (Ubuntu)
Post by: docwild on April 12, 2010, 03:57:43 pm
That is strange. Could you post the output of configure? Plus the output of :

Code: [Select]
locate libsdl
locate libopenal
Title: Re: Linux Repositories (Ubuntu)
Post by: kir_b on April 12, 2010, 05:44:57 pm
Hey guys, thanks so much for all your efforts in bringing this game to fruition, I can't tell you how excited I am to dive in.

I've spent the night writing up an install for newbies like myself on Ubuntu forums. In doing this I've come accross a few repositories, before finally finding one for Ubuntu Karmic Koala. It has version 2.2.1-1. I'm not sure how good/reliable this one is, but I thought that while I'm here, I'll take the time to share it.

It's located at the playdeb.net (http://playdeb.net) website.

Here's (http://Here's) all the info, specially laid out for the newbie in mind.

If the link doesn't work, go to ubuntu forums's gaming and leisure section and do a search for "Installing UFO: Alien invasion - a how to"

Hopefully this helps someone.

Thanks again all.   ;D  Kirby
Title: Re: Linux Repositories (Ubuntu)
Post by: geever on April 12, 2010, 06:17:19 pm
I've spent the night writing up an install for newbies like myself on Ubuntu forums. In doing this I've come accross a few repositories, before finally finding one for Ubuntu Karmic Koala. It has version 2.2.1-1. I'm not sure how good/reliable this one is, but I thought that while I'm here, I'll take the time to share it.

It's located at the playdeb.net (http://playdeb.net) website.

The package on playdeb is/was broken. We've got many players asking for help setting it up.

And it is 2.2.1 the latest stable, which is old, very old...

-geever
Title: Re: Linux Repositories (Ubuntu)
Post by: leyon on April 13, 2010, 01:38:16 am
I managed to fix my problem thanks to the folks at IRC :D Apparently I was missing a particular dev version of one of my packages that the script to apt-get install missed for some reason.
Title: Re: Linux Repositories (Ubuntu)
Post by: kir_b on April 14, 2010, 03:04:53 am
The package on playdeb is/was broken. We've got many players asking for help setting it up.

And it is 2.2.1 the latest stable, which is old, very old...

-geever

I thought that I'd spend some time playing before I responded to the "is/was broken" part of your comment. Whatever was wrong appears to be fixed.

I'm happy to report that it does seem to be running fine. Also, I thought that I'd point out that the Synaptic package manager tells me that it is not version 2.2.1, but instead is version 2.2.1-1~getdeb2, which is quite different from the versions that are available from all the other repositories that I've tried (the best I could find was 2.1.1 versions, until this one).

If that is such an "old, very old" version, what does a newbie have to do to get a newer version included in a repository? I would love to be trying out the newer version, but the instructions for installing the svn version are a little above my head and I'm sure that is the same for most newbies.

I look forward to a response . Thanks again. Kirby

P.S. It looks great at this point. superb job guys (and girls).
Title: Re: Linux Repositories (Ubuntu)
Post by: leyon on April 16, 2010, 03:39:53 am
Well - the way I did it to get the 2.3 dev version, in order, was:

1-- Download subversion - you can do this via Synaptic / apt-get

2-- Copy paste the following line to download the source code (this is the game as it is written by the coders, not compiled into playable form yet). You can view it here (http://ufoai.ninex.info/wiki/index.php/Getting_the_source#Linux):

Code: [Select]
svn co https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk
3-- Copy paste the line below to get all the dependencies for the game. This is taken from this page (http://ufoai.ninex.info/wiki/index.php/Debian).
 
Code: [Select]
sudo apt-get install \
   libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libvorbis-dev zlib1g-dev gettext libtheora-dev \
   libjpeg62-dev libpng12-dev libncurses5-dev libcurl3-dev libsdl-mixer1.2-dev \
   libxml2-dev libopenal-dev

4-- Open a terminal to the directory where you downloaded the source, unpack and type ./configure. If you set things up right you should know. I got tripped up when some dependencies weren't installed (you need the dev package versions for everything)

5-- After that is done, type make. Wait for that to finish, then make lang.

6-- Download the pre-compiled maps via ./contrib/scripts/map-get/ instead of making it yourself, since it takes forever to do so. You need python for this. Get it here (http://www.python.org/download/linux/) if you don't have it.

7-- Run ./ufo after all that is done, and enjoy!

I'm not sure if I missed out anything so if you see something that needs fixing just point it out, fellas :)
Title: Re: Linux Repositories (Ubuntu)
Post by: docwild on April 16, 2010, 12:48:45 pm
There is one thing I would suggest adding to the wiki. Installing the build-essential package, most linux users have it as a matter of course but newbies tend to be unaware of it. It just sets up a system to allow compilation.
Title: Re: Linux Repositories (Ubuntu)
Post by: kir_b on August 27, 2010, 09:55:43 pm
Well - the way I did it to get the 2.3 dev version, in order, was:

1-- Download subversion - you can do this via Synaptic / apt-get

2-- Copy paste the following line to download the source code (this is the game as it is written by the coders, not compiled into playable form yet). You can view it here (http://ufoai.ninex.info/wiki/index.php/Getting_the_source#Linux):

Code: [Select]
svn co https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk
3-- Copy paste the line below to get all the dependencies for the game. This is taken from this page (http://ufoai.ninex.info/wiki/index.php/Debian).
 
Code: [Select]
sudo apt-get install \
   libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libvorbis-dev zlib1g-dev gettext libtheora-dev \
   libjpeg62-dev libpng12-dev libncurses5-dev libcurl3-dev libsdl-mixer1.2-dev \
   libxml2-dev libopenal-dev

4-- Open a terminal to the directory where you downloaded the source, unpack and type ./configure. If you set things up right you should know. I got tripped up when some dependencies weren't installed (you need the dev package versions for everything)

5-- After that is done, type make. Wait for that to finish, then make lang.

6-- Download the pre-compiled maps via ./contrib/scripts/map-get/ instead of making it yourself, since it takes forever to do so. You need python for this. Get it here (http://www.python.org/download/linux/) if you don't have it.

7-- Run ./ufo after all that is done, and enjoy!

I'm not sure if I missed out anything so if you see something that needs fixing just point it out, fellas :)

Hey guys, I've got a bit of problem here.

I've followed the above instructions and when I run the start up command, all I get is the intro movie, which loops. If i click the window the movie pauses...and that's as far as it goes.

I then followed the instructions on the wiki, which has the exact same result when I try to run the game.

I'm sure I have all the dependencies.

But the thing that is most disturbing for me, is that every time I open a terminal or the synaptic package manager, they use upwards of 50% of my cpu's resources! (I'm running an AMD64 4000+)

I'm more than happy to add further info if requested, as I really didn't want to overload this post with too much info.

Any suggestions would, of course be very appreciated.

Kirby

Edit: Sorry, I rebooted Ubuntu and everything returned to normal... Including UFOAI. It now runs...Yay!!! Time to start the testing. Sorry if any of you have spent anytime looking into this. What can I say...other than I'm a complete newb/boob. Sorry all and it looks great!!!