Thank you for a great game! I've always been a fan of X-Com type games.
I checked out the latest version directly from the trunk and compiled it and the maps as stated in the users guide.
When I attempt to run ufo I get:
richard@panther:~/ufoai$ ./ufo
---- filesystem initialization -----
Adding game dir: /usr/local/lib/ufoai/base
Adding game dir: /usr/local/share/ufoai/base
Adding game dir: ./base
using /home/user/.ufoai/2.3-dev/base for writing
Adding game dir: /home/user/.ufoai/2.3-dev/base
execing default.cfg
couldn't exec config.cfg
execing keys.cfg
----- network initialization -------
libcurl/7.18.1 OpenSSL/0.9.8g zlib/1.2.3.3 c-ares/1.5.1 libidn/1.8 libssh2/0.18 initialized.
------ server initialization -------
added 7 maps to the mapcycle
...using language: en_US.UTF-8
----- console initialization -------
loaded console history commands: 0
Console initialized.
------- video initialization -------
SDL version: 1.2.12
I: desktop depth: 32bpp
I: video memory: 0
I: video driver: x11
I: setting mode 6: 1024x768 (fullscreen: no)
I: set swap control to 0
SDL SetVideoMode failed: Could not create GL context
Failed to set video mode 1024x768 windowed.
I: set swap control to 0
SDL SetVideoMode failed: Could not create GL context
Wrote keys.cfg
Error: Video subsystem failed to initialize
-------------------------------------------------------------------------------
My system is:
> uname -a
Linux panther 2.6.24-1-amd64 #1 SMP Sat May 10 09:28:10 UTC 2008 x86_64 GNU/Linux
-------------------------------------------------------------------------------
My xorg.conf file is as follows, hopes this helps:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "Files"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbVariant" "dvorak"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "Monitor"
Identifier "HP w2207"
HorizSync 82.0 - 82.0
VertRefresh 76.0
Option "DPMS"
EndSection
Section "Device"
Identifier "nVidia Corporation NVIDIA Default Card"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NVIDIA Default Card"
Monitor "HP w2207"
DefaultDepth 24
Option "RenderAccel" "true"
Option "TwinView"
Option "MetaModes" "1680x1050 1280x1024"
Option "TwinViewOrientation" "LeftOf"
SubSection "Display"
Depth 24
Modes "1920x1440" "1920x1200" "1856x1392" "1792x1344" "1680x1050" "1600x1200" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x854" "1024x768"
EndSubSection
EndSection