Technical support > Linux

Cant start UFO:AI

<< < (5/6) > >>

Andrew:
MipSpec109, you copied your own text and pasted that into the terminal, not geever's :)

So you tried:

--- Code: ---sudo apt-get install libcurl4-openssl-dev
--- End code ---
and it worked?  That should get you libcurl.
After that, make sure you have all the other requirements before running the game:

--- Code: ---sudo apt-get install libsdl1.2-dev libsdl-ttf2.0-dev libvorbis-dev zlib1g-dev gettext libjpeg62-dev libpng12-dev libncurses5-dev libsdl-mixer1.2-dev libxml2-dev
--- End code ---

Once that works, try to start the game.

MipSpec109:
andrewusu, you have successfully fixed the launch problem!  :D
After using your code, I managed to initialize the game using the "./ufoai/ufo" command. However there is a new issue.

The game window loads but it gets stuck in this red and black phase which I suspect is the loading screen.
I also noticed some funky messages in the Terminal


--- Code: ---benjamin@benjamin-Neptune:~$ ./ufoai/ufo

---- filesystem initialization -----
Adding game dir: ./base
using /home/benjamin/.ufoai/2.2/base for writing
Adding game dir: /home/benjamin/.ufoai/2.2/base
couldn't exec default.cfg
couldn't exec config.cfg
couldn't exec keys.cfg

----- network initialization -------
libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1 initialized.

------ server initialization -------
...using language: en_US.UTF-8

----- console initialization -------
couldn't load history
Console initialized.

------- video initialization -------
SDL version: 1.2.11
I: desktop depth: 32bpp
I: setting mode 6: 1024x768 (fullscreen: no)
I: got 8 bits of stencil
I: got 24 bits of depth buffer
I: got double buffer
I: got 8 bits for red
I: got 8 bits for green
I: got 8 bits for blue
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce2 MX/AGP/SSE2
GL_VERSION: 1.5.8 NVIDIA 96.43.05
GL_EXTENSIONS: GL_ARB_imaging GL_ARB_multitexture GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shared_texture_palette GL_EXT_stencil_wrap GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_fence GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_register_combiners GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_texture_lod GL_SUN_slice_accum
ignoring GL_EXT_LockArrays
using GL_ARB_multitexture
using GL_EXT_texture_env_combine
GL_SGIS_multitexture deprecated in favor of ARB_multitexture
ignoring GL_ARB_texture_compression
using GL_EXT_texture_filter_anisotropic [ 2 max] [ 1 selected]
using GL_EXT_texture_lod_bias
using GL_EXT_stencil_wrap
using GL_EXT_fog_coord
GL_ATI_separate_stencil not found
GL_EXT_stencil_two_side not found
max texture size: detected 2048
R_FindImage: Can't find pics/sfx/shadow (pics/sfx/shadow) - file: src/renderer/r_draw.c, line 156
R_FindImage: Can't find pics/sfx/blood (pics/sfx/blood) - file: src/renderer/r_draw.c, line 159
R_FindImage: Can't find pics/conchars (pics/conchars) - file: src/renderer/r_draw.c, line 168
R_FindImage: Can't find pics/conchars_small (pics/conchars_small) - file: src/renderer/r_draw.c, line 171
SDL_ttf version 2.0.9 - we need at least 2.0.7

------- sound initialization -------
SDL_mixer version: 1.2.6
...audio rate: 44100
...audio channels: 2
...driver: 'alsa'
R_FindImage: Can't find pics/wait (pics/wait) - file: src/renderer/r_draw.c, line 276
R_FindImage: Can't find pics/ducked (pics/ducked) - file: src/renderer/r_draw.c, line 276
R_FindImage: Can't find pics/cursor1 (pics/cursor1) - file: src/renderer/r_draw.c, line 276
R_FindImage: Can't find pics/loading (pics/loading) - file: src/renderer/r_draw.c, line 276

--- save subsystem initialization --
added size subsystem (check ff)
added base subsystem (check 0)
added campaign subsystem (check 1)
added hospital subsystem (check 2)
added market subsystem (check 3)
added research subsystem (check 4)
added employee subsystem (check 5)
added aliencont subsystem (check 6)
added production subsystem (check 7)
added aircraft subsystem (check 8)
added messagesystem subsystem (check 9)
added stats subsystem (check a)
added nations subsystem (check b)
added transfer subsystem (check c)

--- End code ---

mr.spaceman:
Are you using a 64bit Linux?

The way I got mine to work which may work for you is:

-editing the ufoai file (the one that is in the ufoai folder)
-changing the GAME BINARY field to read "ufo.x86_64"; ie.:

# The game binary
GAME_BINARY="ufo.x86_64"
-saving the file
-using the ufoai script to launch the game - this can be done in the terminal by navigating to the install folder ("cd ~[whatever]~/ufoai") and typing "./ufoai"


Only do this if you have 64bit Linux - and it might be the case that you wont have the ufo.x86_64 file if you don't and didn't install the 64bit binaries.

This, as I say, might work. It worked for me, though I never had any red/black screen.  It's a different approach to the launching problem.  If it doesn't apply to you, then ignore this - it may help someone though!

MipSpec109:
No dice.
Thanks anyways though mr.spaceman

Godmonkey:
SO I'm sorry to say I IS a linux noob... and i messed with the linux build for about an hour... well i gave up, I was never able to get past this vary issue...... But in only 12 minuets I was playing the game using the windows build through wine... only slight issues with sound but nothing I wasn't able to tweak in wine settings...

Again I'm sorry for my linux nooby-ness... But at least I got to play the game...
GM

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version