project-navigation
Personal tools

Author Topic: Can't go on missions - 2.3 @ Ubuntu 8.10  (Read 7266 times)

Offline romanovzky

  • Rookie
  • ***
  • Posts: 23
    • View Profile
Can't go on missions - 2.3 @ Ubuntu 8.10
« on: January 19, 2009, 12:38:46 am »
That's "just" it.

Can't go either enter a mission or do skirmish, seems like a bug of some sort (I do hear a "ping" when I try to do a skirmish).

When trying skirmish:
- I press Start, then I hear a "ping" and return to main-menu automatic.

On campaign:
- I send my dropship to the mission zone, press "Enter" and nothing happens. The dropship just stands there...

This happens in my two laptops (Toshiba satellite, with 3d card and stuff and in the little-tiny-micro asus eeepc).

I'm running Ubuntu 8.10, I've downloaded from both repositories of Hardy and Interprid (via synaptic).

2.2.x worked just fine... (on both computers).

I can't tell you much more... if you need more info just ask, I'll help.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Can't go on missions - 2.3 @ Ubuntu 8.10
« Reply #1 on: January 19, 2009, 02:10:50 pm »
The deb packages are broken. These packages aren't maintained by us and I couldn't speak to the one who does. Even maintainer info in the packages are wrong :(.

In details:
The problem is that the deb packages installs game.so and data to /usr/share/games/ufoai but the game is looking for them in /usr/share/ufoai IIRC.

-geever

Offline Valis

  • Rookie
  • ***
  • Posts: 77
    • View Profile
Re: Can't go on missions - 2.3 @ Ubuntu 8.10
« Reply #2 on: February 21, 2009, 10:08:31 am »
Had the same problem yesterday on openSuse 11.1 and copying the game.so worked fine :) [downloaded from packman repositories]

The game runs better on Linux than on windows. Great work guys!

Polyamid

  • Guest
Re: Can't go on missions - 2.3 @ Ubuntu 8.10
« Reply #3 on: February 23, 2009, 10:47:34 am »
I think i have the same Problem. I installed per Yast under Opensuse 11.1

The game start works an i can see the globalscape. The first mission came up and i used my landship to start the mission. After i arrived there i can click on "start mission" but the game opens the main menu !?
After that the landing ship is still in position but the mission has not started.

I tried to copy some data from /usr/share/games/ufoai to /usr/share/ufoai but it didn't work. Does anybody have an idea to fix it?
« Last Edit: February 23, 2009, 03:45:02 pm by Polyamid »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Can't go on missions - 2.3 @ Ubuntu 8.10
« Reply #4 on: February 23, 2009, 02:09:38 pm »
Also do it with /usr/lib/games/ufoai
however a symlink is enough..

-geever

Polyamid

  • Guest
Re: Can't go on missions - 2.3 @ Ubuntu 8.10
« Reply #5 on: February 23, 2009, 03:07:04 pm »
Also do it with /usr/lib/games/ufoai
however a symlink is enough..

-geever

There is no folder /usr/lib/games/ufoai. But I have the Folder /usr/lib/ufoai with ufoai and game.so in it. What shall I do with it?

gorgonz

  • Guest
Re: Can't go on missions - 2.3 @ Ubuntu 8.10
« Reply #6 on: February 23, 2009, 03:33:08 pm »
Have same problems and can't repair it in the described ways. Maybe it helps to put together, what a openSUSE 11.1 user finds - after installing from game repository

installed versions are:
- ufoai 2.2.1-7.8
- ufoai-maps 2.2.1-1.2
- ufoai-music 2.2.1-2.2

created directories are:
- /usr/share/games/ufoai, keeps base/*.pk3 files
- /usr/lib/ufoai, keeps games.o and ufoai

executable is /usr/games/ufoai

as described it did not help to
- copy /usr/share/games/ufoai to /usr/share/ufoai, then
- copy /usr/lib/ufoai to /usr/lib/games/ufoai, then
- copy /usr/lib/ufoai to /usr/share/ufoai
- copy /usr/lib/ufoai to /usr/share/ufoai/base

starting the game from konsole shows up some debug messages, that directly focus on the solutions, that were told already, here the important snippet:
Code: [Select]
Campaign 'QuickSave' saved.
------- Loading game.so -------
LoadLibrary failed (game.so)
failed to load game library
********************
ERROR: failed to load game library
where the hell game.so must be placed?

[updated] replaced ufoia ;-)
[updated] added debug snippet
« Last Edit: February 23, 2009, 04:08:29 pm by gorgonz »

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: Can't go on missions - 2.3 @ Ubuntu 8.10
« Reply #7 on: February 23, 2009, 03:39:03 pm »
I noticed sometimes you have "ufoai" and other times "ufoia" in that last post (switching the "i" and "a").  I don't know anything about that type of Linux, never used it, but if that's exactly how you typed it (into your computer, as a command) you may have a syntax error/issue.

gorgonz

  • Guest
Re: Can't go on missions - 2.3 @ Ubuntu 8.10
« Reply #8 on: February 23, 2009, 03:51:59 pm »
hi Destructavator,

it could have been a very simple solution (sincerely), but it was just a text error in my post :-(


gorgonz

  • Guest
Re: Can't go on missions - 2.2 @ openSUSE 11.1
« Reply #9 on: February 23, 2009, 05:07:59 pm »
just some additional info from konsole output:

- the directory /usr/share/games/ufoai seems to be ok, since the packfiles are found

Code: [Select]
---- filesystem initialization -----
Adding game dir: /usr/share/games/ufoai/base
Added packfile /usr/share/games/ufoai/base/0base.pk3 (5 files)
Added packfile /usr/share/games/ufoai/base/0maps.pk3 (461 files)
Added packfile /usr/share/games/ufoai/base/0media.pk3 (8 files)
Added packfile /usr/share/games/ufoai/base/0models.pk3 (1231 files)
Added packfile /usr/share/games/ufoai/base/0music.pk3 (35 files)   
Added packfile /usr/share/games/ufoai/base/0pics.pk3 (1577 files) 
Added packfile /usr/share/games/ufoai/base/0snd.pk3 (131 files)   
Added packfile /usr/share/games/ufoai/base/0ufos.pk3 (73 files)   

- some error with locale, still i don't think, that it is important
Code: [Select]
CL_LanguageInit()... language settings are stored in configuration: de_DE.UTF-8
Could not find locale with id 'de_DE.UTF-8'

Just by the way: is there an easy way to trace ufoai for fopen calls? Maybe one could find out easily then, where the file game.so is expected.

gorgonz

  • Guest
[SOLVED] Can't go on missions - 2.2 @ openSUSE 11.1
« Reply #10 on: February 23, 2009, 05:22:09 pm »
Finally found the right location:

The directory /usr/share/games/ufoai was ok all the time. You must copy the 2 files game.so and ufoai from folder /usr/lib/ufoai to /usr/share/games/ufoai/base

Polyamid

  • Guest
Re: Can't go on missions - 2.3 @ Ubuntu 8.10
« Reply #11 on: February 23, 2009, 06:31:12 pm »
YES it works, thx

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Can't go on missions - 2.3 @ Ubuntu 8.10
« Reply #12 on: February 23, 2009, 10:27:38 pm »
Run the game from command line
Code: [Select]
---- filesystem initialization -----
Adding game dir: /usr/share/games/ufoai/base
....

^ These are the (game) directories it is looking for files.

-geever

Brachyteles

  • Guest
Re: [SOLVED] Can't go on missions - 2.2 @ openSUSE 11.1
« Reply #13 on: March 12, 2009, 01:21:02 am »
Finally found the right location:

The directory /usr/share/games/ufoai was ok all the time. You must copy the 2 files game.so and ufoai from folder /usr/lib/ufoai to /usr/share/games/ufoai/base

Thanks. I was having the same problem.

For those with poor terminal-fu (such as myself):
sudo cp -s /usr/lib/games/ufoai/base/game.so   /usr/share/games/ufoai/base/
sudo cp -s /usr/lib/games/ufoai/base/0music.pk3   /usr/share/games/ufoai/base/

Those will make symbolic links to the appropriate files. Someone more knowledgeable correct me if I'm wrong, but symbolic links should keep pointing to any updated files as well, so you shouldn't have to copy the files again if they get updated in a later build.