project-navigation
Personal tools

Author Topic: OSX installers  (Read 159816 times)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #150 on: January 24, 2012, 07:39:36 am »
i used 10.7 to create the dmg, i will have to recheck the build process. but i can for sure run the game locally compiled on my intel mac with 10.7 and my ppc mac with 10.5

Offline dp

  • Rookie
  • ***
  • Posts: 38
    • View Profile
Re: OSX installers
« Reply #151 on: January 24, 2012, 11:16:29 pm »
Out of curiosity, I tried the 15-Oct-11 PPC 2.4-dev in snapshots. That dmg opens fine for me in 10.7.2, although I can't run it of course.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #152 on: January 25, 2012, 08:20:19 am »
this is the md5sum of the current dmg that is available for download: 18f22cbde2b241be1a6bb98c6fdd9e21

the problem is the ui_hunksize - it looks like it's too small. so running self-compiled binaries will work with
Code: [Select]
./ufo +set ui_hunksize 4
for running the dmg you have to start a terminal and type:
Code: [Select]
mkdir -p ~/Documents/UFOAI-2.4-dev/base
echo "seta ui_hunksize 4" >> ~/Documents/UFOAI-2.4-dev/base/config.cfg

please let me know whether this works for you. the next version of the dmg will have this fixed.

Offline dp

  • Rookie
  • ***
  • Posts: 38
    • View Profile
Re: OSX installers
« Reply #153 on: January 25, 2012, 08:47:13 pm »
Quote from: mattn
the problem is the ui_hunksize - it looks like it's too small. so running self-compiled binaries will work with
Code: [Select]
./ufo +set ui_hunksize 4

Issued this command in Terminal, but still get the same crash on launch and UFOAI console complaints re. intro.cgm:

2012/01/25 13:11:16 Haven't found a video stream in ogm-file (videos/intro.ogm)
2012/01/25 13:11:16 Could not load cinematic 'videos/intro'

Terminal ends with these messages:

music change to van_theme (from PsymongN3)
s_language has no value
executing autoexec.cfg
"version" is "UFO: Alien Invasion 2.4-dev AMD64 Jan 20 2012 MacOSX DEBUG"
150 static models loaded
]Segmentation fault: 11

Also, I discovered 2 things I don't understand:

  • Although I followed the "Non-universal binaries" instructions, I ended up with an Intel version in ~/ufoai/contrib/installer/mac and a universal version one-folder-deeper in /ufoai-2.4-dev-maxosx-universal.
  • The dmg (which opens fine on my system) that appeared in ~/Document/UFOAI-2.4-dev contains the universal version.

Both versions crash as described. Can send OSX Console logs via PM, if desired.

Quote
for running the dmg you have to start a terminal and type:
Code: [Select]
mkdir -p ~/Documents/UFOAI-2.4-dev/base
echo "seta ui_hunksize 4" >> ~/Documents/UFOAI-2.4-dev/base/config.cfg

please let me know whether this works for you. the next version of the dmg will have this fixed.
No help. The 2.4-dev Intel installer above and latest snapshot dmgs still say "no mountable file systems" on my 10.7.2.
« Last Edit: January 25, 2012, 08:49:17 pm by dp »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #154 on: January 25, 2012, 08:48:32 pm »
did you check the md5sum of your download? is it really the same file?

Offline dp

  • Rookie
  • ***
  • Posts: 38
    • View Profile
Re: OSX installers
« Reply #155 on: January 25, 2012, 09:12:13 pm »
Quote from: Mattn
did you check the md5sum of your download? is it really the same file?

md5 check of the 2.4-dev Intel installer provided above fails.
« Last Edit: January 25, 2012, 10:36:54 pm by dp »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #156 on: January 25, 2012, 10:14:12 pm »
then your download is corrupt and you should retry.

Offline dp

  • Rookie
  • ***
  • Posts: 38
    • View Profile
Re: OSX installers
« Reply #157 on: January 26, 2012, 01:00:29 am »
Downloaded the 2.4-dev Intel above again. This time, the md5 checks and the dmg opens. Recall that, previously, I downloaded it twice before reporting. Don't understand this inconsistency.

New copy crashes on launch in exactly the same way as the one I compiled myself.

Is it possible that people who download the .dmgs or follow the instructions to git the source for the first time somehow get a damaged intro.ogm?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #158 on: January 26, 2012, 07:17:17 am »
did you try to remove the intro.ogm?

Offline dp

  • Rookie
  • ***
  • Posts: 38
    • View Profile
Re: OSX installers
« Reply #159 on: January 26, 2012, 06:52:25 pm »
Produces exactly the same last 2 error messages. (After launching the one I compiled myself.)

Don't understand this -- I'd expect a "file not found" type message.

Offline rpedropt

  • Cannon Fodder
  • **
  • Posts: 1
    • View Profile
Re: OSX installers
« Reply #160 on: January 27, 2012, 01:37:40 pm »
Good day to everybody!

Wow, wouldn't think to start without greeting everybody who's working on this project!!! Hope you do great in everything, outstanding idea!

Now, for the issues (by the way, I'm NOT any kind of expert, the most I can do is click and play):

I first tried the ufoai-2.3.1-macosx-i386.dmg, didn't work (returned to Finder immediately). Reading the forum, I've downloaded the ufoai-2.4-dev-macosx-intel.dmg - the game starts, but crashes at the intro screen.

My system:
Model: MacBook7,1, BootROM MB71.0039.B0B, 2 processors, Intel Core 2 Duo, 2.4 GHz, 4 GB, SMC 1.60f5
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Running Leopard 10.6.8

I've also attached the ufoconsole.log.

Sorry if I can't be more helpful, really hoping for the best with this project :)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #161 on: January 31, 2012, 10:41:16 pm »
I'm just uploading (will still take around 3hours to finish) a new mac installer to the snapshots directory. It is compiled with updated sdl libs. Feedback would be more than welcome.

http://ufoai.ninex.info/snapshots

The file size is ~1.1GB and the md5sum is e3808c8ec1e93375e8d6e8c24920c64a

Offline feenom

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: OSX installers
« Reply #162 on: February 01, 2012, 12:26:49 am »
Is there a way to only download what is different or do I need to download the whole 1.1G file again to test the updated dmg?

Offline dp

  • Rookie
  • ***
  • Posts: 38
    • View Profile
Re: OSX installers
« Reply #163 on: February 01, 2012, 04:21:51 am »
MD5 on new upload checks.

This one plays the intro music and shows the splash screen. Progress bar gets to 100%...and then it crashes.

Console log makes no mention of intro.ogm:

2012/01/31 22:16:29
----- network initialization -------
2012/01/31 22:16:29 libcurl/7.23.1 OpenSSL/1.0.0g zlib/1.2.5 libidn/1.22 initialized.
2012/01/31 22:16:29
------ server initialization -------
2012/01/31 22:16:29 added 8 maps to the mapcycle
2012/01/31 22:16:29
----- console initialization -------
2012/01/31 22:16:29 Console initialized.
2012/01/31 22:16:29
------- video initialization -------
2012/01/31 22:16:29 SDL version: 1.2.15
2012/01/31 22:16:29 I: desktop depth: 32bpp
2012/01/31 22:16:29 I: video memory: 0
2012/01/31 22:16:29 I: Available resolutions: 1280x800 1152x720 1024x768 1024x640 800x600 800x500 720x480 640x480 (8)
2012/01/31 22:16:29 I: video driver: Quartz
2012/01/31 22:16:29 I: setting mode -1
2012/01/31 22:16:29 I: set multisample buffers to 0
2012/01/31 22:16:29 I: set swap control to 0
2012/01/31 22:16:30 I: 1024x768 (fullscreen: yes)
2012/01/31 22:16:30 I: got 8 bits of stencil
2012/01/31 22:16:30 I: got 24 bits of depth buffer
2012/01/31 22:16:30 I: got double buffer
2012/01/31 22:16:30 I: got 8 bits for red
2012/01/31 22:16:30 I: got 8 bits for green
2012/01/31 22:16:30 I: got 8 bits for blue
2012/01/31 22:16:30 I: got 8 bits for alpha
2012/01/31 22:16:30 I: got 0 multisample buffers
GL_VENDOR: Intel Inc.2012/01/31 22:16:30
GL_RENDERER: Intel HD Graphics 3000 OpenGL Engine2012/01/31 22:16:30
GL_VERSION: 2.1 APPLE-7.14.52012/01/31 22:16:30
GL_EXTENSIONS: GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_seamless_cube_map GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_buffers2 GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod_bias GL_EXT_texture_rectangle GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_APPLE_aux_depth_stencil GL_APPLE_client_storage GL_APPLE_element_array GL_APPLE_fence GL_APPLE_float_pixels GL_APPLE_flush_buffer_range GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_packed_pixels GL_APPLE_pixel_buffer GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_specular_vector GL_APPLE_texture_range GL_APPLE_transform_hint GL_APPLE_vertex_array_object GL_APPLE_vertex_array_range GL_APPLE_vertex_point_size GL_APPLE_vertex_program_evaluators GL_APPLE_ycbcr_422 GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_IBM_rasterpos_clip GL_NV_blend_square GL_NV_conditional_render GL_NV_depth_clamp GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_texgen_reflection GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod 2012/01/31 22:16:30
2012/01/31 22:16:30 Activate texture compression for Intel chips - see cvar r_intel_hack
2012/01/31 22:16:30 Disabling shaders for Intel chips - see cvar r_intel_hack
2012/01/31 22:16:30 Set max. texture resolution to 1024 - see cvar r_intel_hack
2012/01/31 22:16:30 found GL_ARB_multitexture
2012/01/31 22:16:30 found GL_ARB_texture_compression
2012/01/31 22:16:30 using GL_ARB_texture_compression
2012/01/31 22:16:30 found GL_ARB_texture_non_power_of_two
2012/01/31 22:16:30 using GL_ARB_texture_non_power_of_two
2012/01/31 22:16:30 found GL_EXT_texture_filter_anisotropic
2012/01/31 22:16:30 found GL_EXT_texture_lod_bias
2012/01/31 22:16:30 found GL_ARB_vertex_buffer_object
2012/01/31 22:16:30 using GL_ARB_vertex_buffer_object
max vertex buffer size: 1048575
2012/01/31 22:16:30 found GL_ARB_fragment_shader
2012/01/31 22:16:30 found GL_ARB_shading_language_100
2012/01/31 22:16:30 GLSL version guaranteed to be supported by OpenGL implementation postfixed by vender supplied info: 1.20
2012/01/31 22:16:30 found GL_###_framebuffer_object
2012/01/31 22:16:30 using GL_ARB_framebuffer_object
2012/01/31 22:16:30 max draw buffers: 8
2012/01/31 22:16:30 max render buffer size: 8192
2012/01/31 22:16:30 max color attachments: 8
2012/01/31 22:16:30 found GL_###_draw_buffers
2012/01/31 22:16:30 using GL_ARB_draw_buffers
2012/01/31 22:16:30 max supported vertex texture units: 16
2012/01/31 22:16:30 max supported lights: 8
2012/01/31 22:16:30 max texture units: 8
2012/01/31 22:16:30 max texture coords: 8
2012/01/31 22:16:30 max vertex attributes: 16
2012/01/31 22:16:30 max varying floats: 60
2012/01/31 22:16:30 max fragment uniform components: 4096
2012/01/31 22:16:30 max vertex uniform components: 4096
2012/01/31 22:16:30 max texture size: detected 8192
2012/01/31 22:16:30 ...but using 1024 as requested
2012/01/31 22:16:30 Using low resolution globe textures as requested.
2012/01/31 22:16:30 disabled shaders because they failed to compile
2012/01/31 22:16:30 SDL_image version 1.2.12
2012/01/31 22:16:31 SDL_ttf version 2.0.11 - we need at least 2.0.7
2012/01/31 22:16:31 Modified render related cvars
2012/01/31 22:16:31 glsl shutdown
2012/01/31 22:16:31 disabled shaders because they failed to compile
2012/01/31 22:16:31
------- sound initialization -------
2012/01/31 22:16:31 SDL_mixer version: 1.2.12
2012/01/31 22:16:31 ... requested audio rate: 44100
2012/01/31 22:16:35 ... driver: 'coreaudio'
2012/01/31 22:16:35 ... audio rate: 44100
2012/01/31 22:16:35 ... audio channels: 2
2012/01/31 22:16:35 ... loaded ogg vorbis support
2012/01/31 22:16:35
------- input initialization -------
2012/01/31 22:16:35 0 possible joysticks
2012/01/31 22:16:35 no joystick found.
2012/01/31 22:16:35 Allocate 3 megabytes for the ui hunk
2012/01/31 22:16:35
----------- parse scripts ----------
2012/01/31 22:16:35 54 script files
2012/01/31 22:16:36 ...  0: extension
2012/01/31 22:16:36 ...  1: headgear
2012/01/31 22:16:36 ...  2: right
2012/01/31 22:16:36 ...  3: left
2012/01/31 22:16:36 ...  4: backpack
2012/01/31 22:16:36 ...  5: belt
2012/01/31 22:16:36 ...  6: holster
2012/01/31 22:16:36 ...  7: armour
2012/01/31 22:16:36 ...  8: floor
2012/01/31 22:16:36 ...  9: equip
2012/01/31 22:16:36 51 ui script files
2012/01/31 22:16:40 Shared Client/Server Info loaded
2012/01/31 22:16:40 ...109 items parsed
2012/01/31 22:16:40 ... 28 damage types parsed
2012/01/31 22:16:40 ... 32 equipment definitions parsed
2012/01/31 22:16:40 ... 10 inventory definitions parsed
2012/01/31 22:16:40 ... 22 team definitions parsed
2012/01/31 22:16:40 executing keys.cfg
2012/01/31 22:16:40 Warning: Empty description for UI keybinding: hudinv.bt_exit (i)
2012/01/31 22:16:40 Warning: Empty description for UI keybinding: hud_alt.showinventory (i)
2012/01/31 22:16:40 Warning: Empty description for UI keybinding: hud_mini.showinventory (i)
2012/01/31 22:16:40 Warning: Empty description for UI keybinding: ahudinv.hideinventory (i)
2012/01/31 22:16:40 Warning: Empty description for UI keybinding: hud_nohud.showinventory (i)
2012/01/31 22:16:40 Warning: Empty description for UI keybinding: radarwindow.closeradar (HOME)
2012/01/31 22:16:40 Warning: Empty description for UI keybinding: radarwindow.closeradar (KP_HOME)
2012/01/31 22:16:40 Warning: Empty description for UI keybinding: radarwindow.closeradar (h)
2012/01/31 22:16:40 UI_SetKeyBinding: node "sequence.next" not found.
2012/01/31 22:16:40 music change to van_theme (from PsymongN3)
2012/01/31 22:16:40 s_language has no value
2012/01/31 22:16:59 150 static models loaded

Offline Credan

  • Cannon Fodder
  • **
  • Posts: 1
    • View Profile
Re: OSX installers
« Reply #164 on: February 07, 2012, 10:14:59 am »
I tried to download the 2.4 file and got it to work once. I played once and saved a game and then quit to check whether it was possible to make it work again (Didn't want to use time on trying the game if it only worked once).

In the second try it gave me almost exactly the same error log as dp. I tried several things(including deleting the setup files in my documents folder, restarting, closing down various application and so on), but it fucked up the same place in the intro loading.