project-navigation
Personal tools

Author Topic: Alternate route for UFO:AI on Mac: Wine  (Read 4180 times)

Offline ovvldc

  • Rookie
  • ***
  • Posts: 59
    • View Profile
Alternate route for UFO:AI on Mac: Wine
« on: February 13, 2011, 12:39:49 pm »
Hey everyone,

Given that the standard Mac version is broken, I tried running the PC version of UFO:AI in Wine.

I used Wineskin with Wine 1.2.2 and 1.3.13 but in both, the game crashed just after the opening setup screen (the one where you choose languages).

I haven't tried Crossover 10, so if anyone has that and is willing to ry it out, I would be happy to hear the results.

Best wishes,
 Oscar

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Alternate route for UFO:AI on Mac: Wine
« Reply #1 on: February 13, 2011, 01:31:35 pm »
The game should produce a ufoconsole.log file that will help the coders find the problem. You can find more information on where to find that here.

Offline ovvldc

  • Rookie
  • ***
  • Posts: 59
    • View Profile
Re: Alternate route for UFO:AI on Mac: Wine
« Reply #2 on: February 13, 2011, 03:21:29 pm »
Here you go, but it looks rather bland..

Code: [Select]
2011/02/13 15:18:33 ----- network initialization -------
2011/02/13 15:18:33 libcurl/7.16.4 zlib/1.2.2 initialized.
2011/02/13 15:18:33 ------ server initialization -------
2011/02/13 15:18:33 added 7 maps to the mapcycle
2011/02/13 15:18:33 ----- console initialization -------
2011/02/13 15:18:33 Console initialized.
2011/02/13 15:18:33 ------- video initialization -------
2011/02/13 15:18:33 SDL version: 1.2.14
2011/02/13 15:18:33 I: desktop depth: 32bpp
2011/02/13 15:18:33 I: video memory: 0
2011/02/13 15:18:33 I: Available resolutions: 1280x800 1280x778 1152x720 1024x768 1024x640 800x600 800x500 720x480 640x480 (9)
2011/02/13 15:18:33 I: video driver: windib
2011/02/13 15:18:33 I: setting mode -1
2011/02/13 15:18:33 I: set swap control to 0
2011/02/13 15:18:33 I: 1024x768 (fullscreen: no)
2011/02/13 15:18:33 I: got 8 bits of stencil
2011/02/13 15:18:33 I: got 24 bits of depth buffer
2011/02/13 15:18:33 I: got double buffer
2011/02/13 15:18:33 I: got 8 bits for red
2011/02/13 15:18:33 I: got 8 bits for green
2011/02/13 15:18:33 I: got 8 bits for blue
2011/02/13 15:18:33 I: got 8 bits for alpha
2011/02/13 15:18:33 I: got 0 multisample buffers
GL_VENDOR: NVIDIA Corporation2011/02/13 15:18:33 GL_RENDERER: NVIDIA GeForce 9400M OpenGL Engine2011/02/13 15:18:33 GL_VERSION: 2.1 NVIDIA-1.6.262011/02/13 15:18:33 GL_EXTENSIONS:  GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_shading_language_100 GL_EXT_multi_draw_arrays GL_EXT_clip_volume_hint GL_EXT_rescale_normal GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_geometry_shader4 GL_EXT_transform_feedback GL_APPLE_client_storage GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixels GL_APPLE_fence GL_APPLE_vertex_array_object GL_APPLE_vertex_program_evaluators GL_APPLE_element_array GL_APPLE_flush_render GL_APPLE_aux_depth_stencil GL_NV_texgen_reflection GL_NV_light_max_exponent GL_IBM_rasterpos_clip GL_SGIS_generate_mipmap GL_ARB_imaging GL_ARB_point_parameters GL_ARB_texture_env_crossbar GL_ARB_texture_border_clamp GL_ARB_multitexture GL_ARB_texture_env_add GL_ARB_texture_cube_map GL_ARB_texture_env_dot3 GL_ARB_multisample GL_ARB_texture_env_combine GL_ARB_texture_compression GL_ARB_texture_mirrored_repeat GL_ARB_shadow GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_occlusion_query GL_ARB_point_sprite GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ARB_pixel_buffer_object GL_ARB_draw_buffers GL_ARB_shader_texture_lod GL_ARB_color_buffer_float GL_ARB_half_float_vertex GL_ARB_texture_rg GL_ARB_texture_compression_rgtc GL_ARB_framebuffer_object GL_EXT_compiled_vertex_array GL_EXT_draw_buffers2 GL_EXT_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_texture_rectangle GL_ARB_texture_rectangle GL_EXT_texture_env_add GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_lod_bias GL_EXT_abgr GL_EXT_bgra GL_EXT_stencil_wrap GL_EXT_texture_filter_anisotropic GL_EXT_secondary_color GL_EXT_blend_func_separate GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_depth_bounds_test GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_sRGB GL_EXT_blend_equation_separate GL_EXT_texture_mirror_clamp GL_EXT_packed_depth_stencil GL_EXT_bindable_uniform GL_EXT_texture_integer GL_EXT_gpu_shader4 GL_EXT_framebuffer_sRGB GL_EXT_provoking_vertex GL_APPLE_flush_buffer_range GL_APPLE_ycbcr_422 GL_APPLE_rgb_422 GL_APPLE_vertex_array_range GL_APPLE_texture_range GL_APPLE_float_pixels GL_ATI_texture_float GL_ARB_texture_float GL_ARB_half_float_pixel GL_APPLE_pixel_buffer GL_APPLE_object_purgeable GL_NV_point_sprite GL_NV_blend_square GL_NV_fog_distance GL_NV_depth_clamp GL_NV_multisample_filter_hint GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NV_conditional_render GL_ATI_texture_mirror_once GL_ATI_texture_env_combine3 GL_ATI_separate_stencil GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_EXT_texture_array GL_EXT_vertex_array_bgra GL_ARB_instanced_arrays GL_ARB_depth_buffer_float GL_EXT_packed_float GL_EXT_texture_shared_exponent2011/02/13 15:18:33 2011/02/13 15:18:33 using GL_ARB_texture_non_power_of_two
2011/02/13 15:18:33 using GL_ARB_shading_language_100
2011/02/13 15:18:33 GLSL Version: 1.20
2011/02/13 15:18:33 using GL_ARB_framebuffer_object
2011/02/13 15:18:33 max draw buffers: 8
2011/02/13 15:18:33 max render buffer size: 8192
2011/02/13 15:18:33 max color attachments: 8
2011/02/13 15:18:33 using GL_ARB_draw_buffers
2011/02/13 15:18:33 max supported lights: 8
2011/02/13 15:18:33 max texture units: 8
2011/02/13 15:18:33 max texture coords: 8
2011/02/13 15:18:33 max vertex attributes: 16
2011/02/13 15:18:33 max texture size: detected 8192
2011/02/13 15:18:33 ...but using 2048 as requested
2011/02/13 15:18:33 Using low resolution globe textures as requested.
2011/02/13 15:18:33 R_LoadProgram: 'world' loaded.
2011/02/13 15:18:33 R_LoadProgram: 'warp' loaded.
2011/02/13 15:18:33 R_LoadProgram: 'geoscape' loaded.
2011/02/13 15:18:33 R_LoadProgram: 'combine2' loaded.
2011/02/13 15:18:33 R_LoadProgram: 'convolve3' loaded.
2011/02/13 15:18:33 R_LoadProgram: 'atmosphere' loaded.
2011/02/13 15:18:33 R_LoadProgram: 'simple_glow' loaded.
2011/02/13 15:18:33 SDL_image version 1.2.6
2011/02/13 15:18:33 SDL_ttf version 2.0.9 - we need at least 2.0.7
2011/02/13 15:18:33 ------- sound initialization -------
2011/02/13 15:18:33 SDL_mixer version: 1.2.8
2011/02/13 15:18:33 ... requested audio rate: 44100
2011/02/13 15:18:36 ... driver: 'dsound'
2011/02/13 15:18:36 ... audio rate: 44100
2011/02/13 15:18:36 ... audio channels: 2
2011/02/13 15:18:36 ------- input initialization -------
2011/02/13 15:18:36 0 possible joysticks
2011/02/13 15:18:36 no joystick found.
2011/02/13 15:18:36 ----------- parse scripts ----------
2011/02/13 15:18:36 50 script files
2011/02/13 15:18:37 47 ui script files
2011/02/13 15:18:40 Shared Client/Server Info loaded
2011/02/13 15:18:40 ... 99 items parsed
2011/02/13 15:18:40 ... 32 damage types parsed
2011/02/13 15:18:40 ... 80 map definitions parsed
2011/02/13 15:18:40 ... 29 equipment definitions parsed
2011/02/13 15:18:40 ... 10 inventory definitions parsed
2011/02/13 15:18:40 ... 20 team definitions parsed
2011/02/13 15:18:40 executing keys.cfg
2011/02/13 15:18:41 music change to van_theme (from PsymongN3)
2011/02/13 15:18:41 s_language has no value
2011/02/13 15:19:12 Could not find locale with id ''
2011/02/13 15:19:12 134 static models loaded
2011/02/13 15:19:12 ====== UFO Initialized ======
2011/02/13 15:19:12 =============================
2011/02/13 15:19:12 Priority changed to NORMAL
2011/02/13 15:19:12 Found 2 processors
2011/02/13 15:19:12 Use both cores
 

Offline ovvldc

  • Rookie
  • ***
  • Posts: 59
    • View Profile
Re: Alternate route for UFO:AI on Mac: Wine
« Reply #3 on: February 13, 2011, 03:26:30 pm »
And one with 'set developer 1'

Here I noticed that the green moveable content of the settings bar for actor speed in options|gameplay was missing. Then I went to options|video and it crashed again before I even selected anything (though it did crash on the main menu as well earlier)..

Code: [Select]
2011/02/13 15:22:43 ----- network initialization -------
2011/02/13 15:22:43 libcurl/7.16.4 zlib/1.2.2 initialized.
2011/02/13 15:22:43 ------ server initialization -------
2011/02/13 15:22:43 added 7 maps to the mapcycle
2011/02/13 15:22:43 ----- console initialization -------
2011/02/13 15:22:43 Console initialized.
2011/02/13 15:22:43 ------- video initialization -------
2011/02/13 15:22:43 SDL version: 1.2.14
2011/02/13 15:22:43 I: desktop depth: 32bpp
2011/02/13 15:22:43 I: video memory: 0
2011/02/13 15:22:43 I: Available resolutions: 1280x800 1280x778 1152x720 1024x768 1024x640 800x600 800x500 720x480 640x480 (9)
2011/02/13 15:22:43 I: video driver: windib
2011/02/13 15:22:43 I: setting mode -1
2011/02/13 15:22:43 I: set swap control to 0
2011/02/13 15:22:43 I: 1024x768 (fullscreen: no)
2011/02/13 15:22:44 I: got 8 bits of stencil
2011/02/13 15:22:44 I: got 24 bits of depth buffer
2011/02/13 15:22:44 I: got double buffer
2011/02/13 15:22:44 I: got 8 bits for red
2011/02/13 15:22:44 I: got 8 bits for green
2011/02/13 15:22:44 I: got 8 bits for blue
2011/02/13 15:22:44 I: got 8 bits for alpha
2011/02/13 15:22:44 I: got 0 multisample buffers
GL_VENDOR: NVIDIA Corporation2011/02/13 15:22:44 GL_RENDERER: NVIDIA GeForce 9400M OpenGL Engine2011/02/13 15:22:44 GL_VERSION: 2.1 NVIDIA-1.6.262011/02/13 15:22:44 GL_EXTENSIONS:  GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_shading_language_100 GL_EXT_multi_draw_arrays GL_EXT_clip_volume_hint GL_EXT_rescale_normal GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_geometry_shader4 GL_EXT_transform_feedback GL_APPLE_client_storage GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixels GL_APPLE_fence GL_APPLE_vertex_array_object GL_APPLE_vertex_program_evaluators GL_APPLE_element_array GL_APPLE_flush_render GL_APPLE_aux_depth_stencil GL_NV_texgen_reflection GL_NV_light_max_exponent GL_IBM_rasterpos_clip GL_SGIS_generate_mipmap GL_ARB_imaging GL_ARB_point_parameters GL_ARB_texture_env_crossbar GL_ARB_texture_border_clamp GL_ARB_multitexture GL_ARB_texture_env_add GL_ARB_texture_cube_map GL_ARB_texture_env_dot3 GL_ARB_multisample GL_ARB_texture_env_combine GL_ARB_texture_compression GL_ARB_texture_mirrored_repeat GL_ARB_shadow GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_occlusion_query GL_ARB_point_sprite GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ARB_pixel_buffer_object GL_ARB_draw_buffers GL_ARB_shader_texture_lod GL_ARB_color_buffer_float GL_ARB_half_float_vertex GL_ARB_texture_rg GL_ARB_texture_compression_rgtc GL_ARB_framebuffer_object GL_EXT_compiled_vertex_array GL_EXT_draw_buffers2 GL_EXT_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_texture_rectangle GL_ARB_texture_rectangle GL_EXT_texture_env_add GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_lod_bias GL_EXT_abgr GL_EXT_bgra GL_EXT_stencil_wrap GL_EXT_texture_filter_anisotropic GL_EXT_secondary_color GL_EXT_blend_func_separate GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_depth_bounds_test GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_sRGB GL_EXT_blend_equation_separate GL_EXT_texture_mirror_clamp GL_EXT_packed_depth_stencil GL_EXT_bindable_uniform GL_EXT_texture_integer GL_EXT_gpu_shader4 GL_EXT_framebuffer_sRGB GL_EXT_provoking_vertex GL_APPLE_flush_buffer_range GL_APPLE_ycbcr_422 GL_APPLE_rgb_422 GL_APPLE_vertex_array_range GL_APPLE_texture_range GL_APPLE_float_pixels GL_ATI_texture_float GL_ARB_texture_float GL_ARB_half_float_pixel GL_APPLE_pixel_buffer GL_APPLE_object_purgeable GL_NV_point_sprite GL_NV_blend_square GL_NV_fog_distance GL_NV_depth_clamp GL_NV_multisample_filter_hint GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NV_conditional_render GL_ATI_texture_mirror_once GL_ATI_texture_env_combine3 GL_ATI_separate_stencil GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_EXT_texture_array GL_EXT_vertex_array_bgra GL_ARB_instanced_arrays GL_ARB_depth_buffer_float GL_EXT_packed_float GL_EXT_texture_shared_exponent2011/02/13 15:22:44 2011/02/13 15:22:44 using GL_ARB_texture_non_power_of_two
2011/02/13 15:22:44 using GL_ARB_shading_language_100
2011/02/13 15:22:44 GLSL Version: 1.20
2011/02/13 15:22:44 using GL_ARB_framebuffer_object
2011/02/13 15:22:44 max draw buffers: 8
2011/02/13 15:22:44 max render buffer size: 8192
2011/02/13 15:22:44 max color attachments: 8
2011/02/13 15:22:44 using GL_ARB_draw_buffers
2011/02/13 15:22:44 max supported lights: 8
2011/02/13 15:22:44 max texture units: 8
2011/02/13 15:22:44 max texture coords: 8
2011/02/13 15:22:44 max vertex attributes: 16
2011/02/13 15:22:44 max texture size: detected 8192
2011/02/13 15:22:44 ...but using 2048 as requested
2011/02/13 15:22:44 Using low resolution globe textures as requested.
2011/02/13 15:22:44 R_LoadProgram: 'world' loaded.
2011/02/13 15:22:44 R_LoadProgram: 'warp' loaded.
2011/02/13 15:22:44 R_LoadProgram: 'geoscape' loaded.
2011/02/13 15:22:44 R_LoadProgram: 'combine2' loaded.
2011/02/13 15:22:44 R_LoadProgram: 'convolve3' loaded.
2011/02/13 15:22:44 R_LoadProgram: 'atmosphere' loaded.
2011/02/13 15:22:44 R_LoadProgram: 'simple_glow' loaded.
2011/02/13 15:22:44 SDL_image version 1.2.6
2011/02/13 15:22:44 SDL_ttf version 2.0.9 - we need at least 2.0.7
2011/02/13 15:22:44 ------- sound initialization -------
2011/02/13 15:22:44 SDL_mixer version: 1.2.8
2011/02/13 15:22:44 ... requested audio rate: 44100
2011/02/13 15:22:46 ... driver: 'dsound'
2011/02/13 15:22:46 ... audio rate: 44100
2011/02/13 15:22:46 ... audio channels: 2
2011/02/13 15:22:46 ------- input initialization -------
2011/02/13 15:22:46 0 possible joysticks
2011/02/13 15:22:46 no joystick found.
2011/02/13 15:22:46 ----------- parse scripts ----------
2011/02/13 15:22:46 50 script files
2011/02/13 15:22:47 47 ui script files
2011/02/13 15:22:50 Shared Client/Server Info loaded
2011/02/13 15:22:50 ... 99 items parsed
2011/02/13 15:22:50 ... 32 damage types parsed
2011/02/13 15:22:50 ... 80 map definitions parsed
2011/02/13 15:22:50 ... 29 equipment definitions parsed
2011/02/13 15:22:50 ... 10 inventory definitions parsed
2011/02/13 15:22:50 ... 20 team definitions parsed
2011/02/13 15:22:50 executing keys.cfg
2011/02/13 15:22:50 music change to van_theme (from PsymongN3)
2011/02/13 15:23:20 CL_LanguageInit: language settings are stored in configuration: en
2011/02/13 15:23:21 SDL_ttf version 2.0.9 - we need at least 2.0.7
2011/02/13 15:23:21 ...registering 10 fonts
2011/02/13 15:23:21 134 static models loaded
2011/02/13 15:23:21 ====== UFO Initialized ======
2011/02/13 15:23:21 =============================
2011/02/13 15:23:21 Priority changed to NORMAL
2011/02/13 15:23:21 Found 2 processors
2011/02/13 15:23:21 Use both cores
2011/02/13 15:23:21 Switch grab input off
2011/02/13 15:23:36 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:36 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:36 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:36 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:36 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:36 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:36 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:36 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:36 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:37 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
2011/02/13 15:23:39 Could not find cvar 'g_actorspeed'
 

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Alternate route for UFO:AI on Mac: Wine
« Reply #4 on: February 13, 2011, 03:42:27 pm »
can you provide a stacktrace? start ufo from the console and try to post the generated stacktrace or run it via gdb please.

Offline ovvldc

  • Rookie
  • ***
  • Posts: 59
    • View Profile
Re: Alternate route for UFO:AI on Mac: Wine
« Reply #5 on: February 14, 2011, 12:14:47 am »
I might, if you tell me how to do that...

I am not sure if I have gdb installed, though. Unless it comes with the app or with wine.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Alternate route for UFO:AI on Mac: Wine
« Reply #6 on: February 14, 2011, 06:38:03 am »
just open a xterm, cd into your ufo installation folder and type ./ufo - the output on the x terminal should contain a stacktrace at the end.

Offline ovvldc

  • Rookie
  • ***
  • Posts: 59
    • View Profile
Re: Alternate route for UFO:AI on Mac: Wine
« Reply #7 on: February 14, 2011, 07:59:48 am »
Hey Mattn,

As said, I am running UFO:AI in Wine, so it will be slightly more complicated than that.

I'll see what I can do, but it might be a little while before I figure it out.

best wishes,
 Oscar