Game: UFO:AI can't enter the battle

Hi! I have got this problem. I have installed UFO:AI from Packman repositories using Yast2 (packages: ufoai, ufoai-data, ufoai-maps, ufoai-music, ufoai-kate-extension). The game work corectly till firs mission. When I send soldiers in aircraft for mision and press “enter the battlefield” the game go to main menu and there is no possibility to continue (when I press contiune it enters the game just before I pressed “enter the battle”). I am using openSUSE 11.1 on computer Nvidia Quadro FX 370 with correctly installed nofree drivers.
Have anyone had this probllem and know how to solve it? I really want to try this game and I would be grateful for help.

Sorry for puting this thread in a bad sub-forum. I kindly ask to move this subject to Games Sub-Forum

Request accepted,Moved to Games

Andy

> Hi! I have got this problem. I have installed UFO:AI from Packman
> repositories using Yast2 (packages: ufoai, ufoai-data, ufoai-maps,
> ufoai-music, ufoai-kate-extension). The game work corectly till firs
> mission. When I send soldiers in aircraft for mision and press “enter
> the battlefield” the game go to main menu and there is no possibility to
> continue (when I press contiune it enters the game just before I pressed
> “enter the battle”). I am using openSUSE 11.1 on computer Nvidia Quadro
> FX 370 with correctly installed nofree drivers.
> Have anyone had this probllem and know how to solve it? I really want
> to try this game and I would be grateful for help.

We have a games sub-forum?

Hi! I have got this problem. I have installed UFO:AI from Packman repositories using Yast2 (packages: ufoai, ufoai-data, ufoai-maps, ufoai-music, ufoai-kate-extension). The game work corectly till firs mission. When I send soldiers in aircraft for mision and press “enter the battlefield” the game go to main menu and there is no possibility to continue (when I press contiune it enters the game just before I pressed “enter the battle”). I am using openSUSE 11.1 on computer Nvidia Quadro FX 370 with correctly installed nofree drivers.
Have anyone had this probllem and know how to solve it? I really want to try this game and I would be grateful for help.

There is something wrong with the package in the Packman repository. A friend of mine had the same problem but he found a solution. Luckily it’s very simple: just open a terminal and type:


su
cp /usr/share/games/ufoai/data/game.so /home/<USERNAME>/.ufoai/2.2.1/base/game.so

You have to replace <USERNAME> with your own username.

Good luck!:slight_smile:

In directory /usr/share/games/ufoai/ there is only “base” folder (there is no “data” folder) . So I can not copy file game.so. Can You send this file to me on my email or help in other way (I send you my email adress in privat message)?

All right I found “game.so” file in /usr/lib/ufoai directory. I have copyied it to /home/[myname]/.ufoai/2.2.1/base
Now the game work just fine. Thank you for your help.

maksonT adjusted his/her AFDB on Friday 24 Jul 2009 11:56 to write:

>
> All right I found “game.so” file in /usr/lib/ufoai directory. I have
> copyied it to /home/[myname]/.ufoai/2.2.1/base
> Now the game work just fine. Thank you for your help.
>
>

Maybe a link instead of a straight copy would have been better, if the game
is updated and that file is in the update then you will still be using the
original from your /home dir and not the one in the /usr/lib dir.

HTH


Mark
Caveat emptor
Nullus in verba
Nil illegitimi carborundum

Maybe a link instead of a straight copy would have been better, if the game
is updated and that file is in the update then you will still be using the
original from your /home dir and not the one in the /usr/lib dir.
You’re totally right baskitcaise. When I first tried to make a hardlink I ended up with:

 Invalid cross-device link

Because my / dir is on a different partition as my home directories. You can solve this by making a symbolic link, just add -s to the ln command.
So in your case maksonT enter this command in terminal:


su
ln -s /usr/lib/ufoai/data/game.so /home/<USERNAME>/.ufoai/2.2.1/base/game.so

Hope you can beat those aliens!:slight_smile:

Actually the proper command in my case would be:
ln -s /usr/lib/ufoai/game.so /home/<USERNAME>/.ufoai/2.2.1/base/game.so (of course as a root). So in firs place I deleted the game.so copy which I made before and next I make this command. The game work just fine so it will stay in this way.
Now I can secure the Earth and kill all aliens. Thank you for your help.

I suspected something about a file or link being missing. After reading this (seeming) misplaced thread, I tried my own way and it works like a charm, for the first time after installation!

‘su’ not necessary, because you create a softlink in your own home directory.

‘~’ will usually indicate home folder, which is true for SuSE distro’s anyway.

Using ‘ln’ is the more graceful way of solving this problem (instead of copying the file), just in case an updated file someday replaces the original game.so file.

Use a terminal, and type at the prompt:
cd ~
cd .ufoai/2.2.1/base/
ln -s /usr/lib/ufoai/data/game.so

Have fun!