project-navigation
Personal tools

Author Topic: RC4-SVN2295: Crash  (Read 3003 times)

HaJo

  • Guest
RC4-SVN2295: Crash
« on: August 02, 2006, 05:53:45 pm »
I had no luck with the new version: ufo-ai starts,
I get a grey screen while waiting for the menu to appear,
then the program just quits, no errormessage.

ufoconsole.log:
Code: [Select]
Winsock Initialized
Console initialized.
------- Loading ref_gl32d.dll -------
ref_gl version: GL 0.12
Initializing OpenGL display
...setting mode 6: 1024 768 FS
...attempting fullscreen
...using desktop frequency: 0 hz
...using desktop display depth of 32
...calling CDS: ok
GL PFD: color(32-bits) Z(24-bit)
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce2 GTS/AGP/SSE
GL_VERSION: 1.2.1
GL_EXTENSIONS: GL_ARB_multitexture GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_fog_coord GL_EXT_packed_pixels GL_EXT_paletted_texture 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_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_cube_map GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_vertex_weighting 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_register_combiners GL_NV_texgen_emboss GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_vertex_array_range GL_S3_s3tc GL_SGIS_multitexture GL_SGIS_texture_lod GL_WIN_swap_hint WGL_EXT_swap_control GL_Autodesk_valid_back_buffer_hint
...enabling GL_EXT_compiled_vertex_array
...enabling WGL_EXT_swap_control
...using GL_EXT_point_parameters
...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_ARB_fragment_program not found
...GL_ATI_separate_stencil not found
...max texture size:
......detected 2048
...SDL_ttf inited
------------------------------------

------- sound initialization -------
Loading snd_sdl sound driver
Soundsystem: SDL.
SDL audio driver is "dsound".
Bits: 16
Frequency: 48000
Samples: 4096
Channels: 2
sound sampling rate: 48000
CD Audio Initialized
execing autoexec.cfg
"version" is "UFO: Alien Invasion 2.0-RC4 x86 Aug  2 2006 Win32 DEBUG"
...could not set to language: en
...could not set to system language
Shared Client/Server Info loaded
Couldn't open 'music/theme.ogg'
...precaching 48 menus
Can't find pics/
Can't find pics/menu/buya_ul
Can't find pics/menu/buya_ur
Can't find pics/menu/buya_ll
Can't find pics/menu/buya_lr
====== UFO Initialized ======

Changing to Singleplayer


Running with "set developer 1" gives no more useful logging about the crash,
but these bits might help to locate the error about the missing pics:
Code: [Select]
...
FindFile: ./base/pics/menu/airequip_lr.tga
Can't find pics/
FindFile: ./base/pics/althud/bar_top.tga
...
FindFile: ./base/pics/menu/button_blue.tga
Can't find pics/menu/buya_ul
Can't find pics/menu/buya_ur
Can't find pics/menu/buya_ll
Can't find pics/menu/buya_lr
FindFile: ./base/pics/menu/options_ul.jpg

I also tried with set snd_khz "44", but get the same crash again.

Looks like this is already in the bugtracker:
[ 1532979 ] SVN 2295 crashes at game start

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Re: RC4-SVN2295: Crash
« Reply #1 on: August 02, 2006, 10:51:29 pm »
Code: [Select]

...could not set to language: en
...could not set to system language


Not related, but strange. Seems like you don't have texts in game...

Code: [Select]
...
Can't find pics/
...
Can't find pics/menu/buya_ul
Can't find pics/menu/buya_ur
Can't find pics/menu/buya_ll
Can't find pics/menu/buya_lr


This is safe and not related.

Quote
Looks like this is already in the bugtracker:
[ 1532979 ] SVN 2295 crashes at game start


Yes, we also have some idea which commit caused that, but we don't know how to fix it (and the commit fixes other things).

HaJo

  • Guest
Re: RC4-SVN2295: Crash
« Reply #2 on: August 03, 2006, 02:34:12 am »
Quote from: "Bandobras"
Code: [Select]
...could not set to language: en
...could not set to system language

Not related, but strange. Seems like you don't have texts in game...

The text in my game was just fine.

Previously, I got the message
Code: [Select]
...could not set to language: en_GB
so I changed my settings to set s_language "en", but that did not help.

Anyway, english messages are the standard and don't need translation,
so I wonder what the file base/i18n/en/LC_MESSAGES/ufoai.mo is good for...

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Re: RC4-SVN2295: Crash
« Reply #3 on: August 03, 2006, 09:39:46 am »
Quote from: "HaJo"
Anyway, english messages are the standard and don't need translation,
so I wonder what the file base/i18n/en/LC_MESSAGES/ufoai.mo is good for...


Only basic messages are hard-coded. E.g. all ufopedia texts are only in po files...

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
RC4-SVN2295: Crash
« Reply #4 on: August 03, 2006, 10:56:47 am »
This 1532979 bug is now "fixed" by v29a.

Code: [Select]
to fix this bug:
1) delete ref_gl32d.dll from ufos main dir
2) rename ref_gl.dll to ref_gl32d.dll


A proper fix will be in SVN shortly. Thank's for your cooperation.

v29a

  • Guest
RC4-SVN2295: Crash
« Reply #5 on: August 03, 2006, 12:31:13 pm »
see the xdelta patch topic in my sig for an update