General > Discussion

Startup problems

(1/3) > >>

armadillo:
Hi there, I 'm a newbie so please bear with me.

I am running KDE on Debian Sarge with a 2.6.13-1-k7 kernel (AMD Athlon).

I just downloaded "ufoai-radiant-060206.run" from sourceforge.

I chmoded it to be executable and ran it as a normal user (not root).

It apparently installed OK and created directories "GtkRadiant-1.4" and ".radiant" in my home directory.

So far so good, now when I try running it I get the following command line message:

I/O warning : failed to load external entity "/home/armand/.radiant/1.4.0/global.pref

I have to point out that the file in question exists, why it fails to load is a mystery.

This is followed by the "Select Game" GUI giving me the choice UFO:AI.

Pressing OK, spits the following message to the console:

I/O warning : failed to load external entity "/home/armand/.radiant/1.4.0/q2.game/local.pref"

Again, the file exists but it fails to load.

The GTKRadiant splash screen appears, followed by an error window reading:

"Failed to load a project file.
Please enter a valid project file."

Pressing OK opens a file browsing window. At this stage I am at a loss as to why the two previous, existing files have failed to load, what a project file is and why I need to choose one.

Any help will be greatly appreciated.

Mattn:
the first two
--- Quote ---I/O warning : failed to load external entity
--- End quote ---
should be ok.
the thrid and last thing: you should have a .ufo/base/scripts folder, too?!?? right?

there is a proj-file in it.

armadillo:
OK, fixed two problems. One was that I was not root when installing, Debian does not allow root to have anything to do with the X server. I got round it by sudo and it worked.

Second problem was, I had the wrong file, d-oh. I managed to install the map editor, radiant, not the game.

So, I went and got the game installer, "ufo.ai_0.12beta1-multilanguage.run", chmoded it to be executable, and sudo installed it.

All went seemingly well until I tried starting it, when I got the following:

Adding game dir: ./base
using /home/armand/.ufoai/base/ for writing
Adding game dir: /home/armand/.ufoai/base
Using data dir (./base/i18n/) for locate settings
Setting language to C
execing default.cfg
execing config.cfg
execing keys.cfg
Console initialized.

------- sound initialization -------
Using Alsa
Using sounddevice "default" - if you have problems with this try to set the cvar snddevice to a appropriate alsa-devicesound sampling rate: 48000
------------------------------------
------- Loading ref_gl.so -------
LoadLibrary("ref_gl.so"): can't open /etc/ufo.conf
LoadLibrary("ref_gl.so") failed: No such file or directory
Dumped console text to /home/armand/.ufoai/base/gl_debug.txt.
ERROR: couldn't open.
recursive shutdown
Error: Couldn't initialize OpenGL renderer!
Consult gl_debug.txt for further information.

It is true, that the file /etc/ufo.conf does not exist. No idea why not though, was it supposed to be created during the installation? I didn't see any errors that might indicate something went wrong. And/or is it due to openGL libraries missing? If so, what packages do I need to download?

Thanks in advance.

[S|G]:
Try the following (that worked for me):

copy <install_dir>/base/default.cfg to ~/.ufoai/base/default.cfg
open ~/.ufoai/base/default.cfg in some text editor (such as kwrite)
edit the video mode lines so they'll look like this:

--- Code: ---
//set vid_ref                   gl
//set gl_driver         "opengl32"
set vid_ref                     glx
set gl_driver           libGL.so
set gl_mode                     6

--- End code ---

Just comment the vid_ref and gl_driver and uncomment the same ones below. It should look then look like the one above ;)

Try to run the game.

Mattn:
there's also a workaround posted here:
http://liflg.org/forum/viewtopic.php?t=615

Navigation

[0] Message Index

[#] Next page

Go to full version