UFO:Alien Invasion

Technical support => Mac => Topic started by: PhillieDFilms on June 19, 2010, 07:08:27 am

Title: Newbie question.
Post by: PhillieDFilms on June 19, 2010, 07:08:27 am
Firstly, I love what you guys have done.  Xcom was and still is an amazing game but you guys have taken it one step beyond that by creating this faithful rendition.  Bravo.

On to my question.  What is the diff between the dmg and the svn version?  I was under the impression that I would be able to download the dmg and unpack it, then play the game from there using the icon provided.  Is this not correct?  Do I have to install something? Compile something?  I was able to play through the last version of ufo:ai v2.2.1 by just using the icon provided in the dmg, and I loved it.  So after I found this awesome new version, 2.3, I would like to go though and play the game again with all the updates and improvements.  But when I start the game using the icon in the new dmg.  The game runs very erratically, no music or sound, seriously sluggish frame-rate, constant crashes during battle-scenes and after loading battle-scenes, as well as my characters in battles scenes loading sometimes with foliage stuck to their bodies, hahaha!!  Am I missing something?  I don't know too much about game dev but I do work in VFX for film & tv so I can appreciate all the hard work that you guys have put in to this.  So if there is a proper way to get the new version of ufo:ai working smoothly I'd like to hear it.  Cause I love this game.
Title: Re: Newbie question.
Post by: Mattn on June 19, 2010, 08:49:46 am
crashes during battle means what? crash to desktop? crash to ufo menu?

maybe the sdl_mixer issue with libogg is not yet fixed. though i thought it was...
Title: Re: Newbie question.
Post by: PhillieDFilms on June 19, 2010, 09:13:31 am
I should have been more descriptive.  It crashes to the desktop.  I'm running a 2009 intel-macbook pro that's maxed out, if that helps.  Thanks.
Title: Re: Newbie question.
Post by: unifiedreality on June 20, 2010, 01:07:39 am
I'm also trying to play the 2.3 release. I simply downloaded the stable version direct from the mac link on this wesite, and I cannot load any battles at all. I can run the game, but I currently don't get any text in the game introduction.. just textfile labels. Also, text labels in all the ingame messages. When I try to enter a mission, the whole game simply crashes with mixed results. last time I tried, the game crashed and sent me back to the OSX user login screen! I was quite suprised.

I'm using a Macbook Pro with Snow Leopard.
2.26 GHz intel Core 2 Duo.
2GB Ram.

The previous stable release allowed me to fight in missions. I have yet to do this with 2.3
Title: Re: Newbie question.
Post by: PhillieDFilms on June 20, 2010, 02:14:54 am
Okay, so I went ahead and removed the 2.3 download from my machine.  Then I re-downloaded the dmg and unpacked it.  In there I just clicked the UFOAI application and the game started up.  Default rez not full screen can't say exactly what the default is set to.  The opening movie plays and I hear music.  Then the main menu, at this point I hear no sound.  I set my language to English in the Overall Game Settings menu in the options menu, if I do not do this I get no text.  Only place-markers when I start the game.

On to gameplay, I hear no sound during the intro, nor during any part of the gameplay actually.  Twice though when I was in a battle I heard the sound of glass crashing but that was it and it was in the same battle and the second time I heard it I had just blasted a damned alien through a window with my rocket launcher, Hahahaha!!!  But immediately after that I was booted from the battle back out to the geoscape view, with my transport ship hovering above the battle x.  Here I can choose to enter the mission again or do whatever.

My ufoconsole.log shows a lot of these -

2010/06/19 16:34:48 S_LoadSound: Failed loading /opt/local/lib/libvorbisfile.dylib: dlopen(/opt/local/lib/libvorbisfile.dylib, 2): image not found.
2010/06/19 16:34:48 S_LoadSound: Could not find sound file: 'weapons/medikit'
2010/06/19 16:34:48 S_LoadSound: Failed loading /opt/local/lib/libvorbisfile.dylib: dlopen(/opt/local/lib/libvorbisfile.dylib, 2): image not found.
2010/06/19 16:34:48 S_LoadSound: Could not find sound file: 'misc/klonk03'
2010/06/19 16:34:48 S_LoadSound: Failed loading /opt/local/lib/libvorbisfile.dylib: dlopen(/opt/local/lib/libvorbisfile.dylib, 2): image not found.
2010/06/19 16:34:48 S_LoadSound: Could not find sound file: 'misc/klonk01'

A lot of those.

So that's sound, onto the crashes I mentioned originally.  Desktop crashes.

I must leave the game in the default startup rez, full-screen will crash to desktop.
I'll post a screen cap of my vid settings. (The upload folder is full.) wah-wah!
These settings seem to run the game fairly smoothly on my machine, fairly.  Other than no sound and occasional bumps out of battles into geoscape view.  I get no crashes to the desktop.  I'm puzzled though because I'm running a 2.93ghz intel_2_duo macbookpro with 8gigs of ram and snow leopard installed but I am unable to use any of the advanced shaders or lighting effects.  

with GLSL shaders and Realtime Lighting switched on, the game will crash to desktop guaranteed.

So this is a huge post so I'll wrap it up.
Hope this helps.
Title: Re: Newbie question.
Post by: siredmond on June 22, 2010, 03:03:48 am
I was running into the same problem with the sound. Downloaded the DMG release of 2.3 and the log is filled with many many
Code: [Select]
2010/06/21 03:24:05 M_Start: Could not load music: 'music/van_theme' (Failed loading /opt/local/lib/libvorbisfile.dylib: dlopen(/opt/local/lib/libvorbisfile.dylib, 2): image not found)
2010/06/21 03:24:05 S_LoadSound: Failed loading /opt/local/lib/libvorbisfile.dylib: dlopen(/opt/local/lib/libvorbisfile.dylib, 2): image not found.
2010/06/21 03:24:05 S_LoadSound: Could not find sound file: 'weapons/bloodspider'
2010/06/21 03:24:05 S_LoadSound: Failed loading /opt/local/lib/libvorbisfile.dylib: dlopen(/opt/local/lib/libvorbisfile.dylib, 2): image not found.
2010/06/21 03:24:05 S_LoadSound: Could not find sound file: 'weapons/medikit'
2010/06/21 03:24:05 S_LoadSound: Failed loading /opt/local/lib/libvorbisfile.dylib: dlopen(/opt/local/lib/libvorbisfile.dylib, 2): image not found.
2010/06/21 03:24:05 S_LoadSound: Could not find sound file: 'misc/klonk03'
2010/06/21 03:24:05 S_LoadSound: Failed loading /opt/local/lib/libvorbisfile.dylib: dlopen(/opt/local/lib/libvorbisfile.dylib, 2): image not found.

This is on my MacBook Pro 2.66Gz Core 2 Duo running OS X.6.4 . I later decided to build from trunk (r30598) just an intel binary for my machine and it does not seem to have this problem, and plays audio just fine.

However GLSL does not seem to play nicely in Batlescape.

On the Geoscape side however, I have a very interesting problem, the earth is in eternal night. This happens in both the 2.3 and the trunk build I have. Happens regardless of the setting of GLSL. Included are screenshots from the trunk build.
Title: Re: Newbie question.
Post by: keybounce on June 27, 2010, 05:47:57 pm
I'm not able to test this right now (time and priorities), but I'm thinking that we may need to switch from the MacPorts version of SDL to the official binary of SDL -- some changes were made back in November about how it links in some sound supports. (Just found this out last night).
Title: Re: Newbie question.
Post by: Mattn on June 28, 2010, 06:23:16 pm
On the Geoscape side however, I have a very interesting problem, the earth is in eternal night. This happens in both the 2.3 and the trunk build I have. Happens regardless of the setting of GLSL. Included are screenshots from the trunk build.

there is an option to increase the geoscape ambient lighting - did you try to increase that one?
Title: Re: Newbie question.
Post by: keybounce on June 28, 2010, 06:47:42 pm
The last time I tried it, it gave me an error message. That bug has been fixed, so I'll retest it.
Title: Re: Newbie question.
Post by: keybounce on June 28, 2010, 08:14:50 pm
Alright, I see Brightness, Contrast, Gamma, and Lightmap scale.
I don't see anything for ambient lighting.

This is with a just updated 2.3 branch, so I'm assuming it's the released version.
revision 30739

Starting a new campaign: I still get "intro_sentence1", etc.

And yes, it's still dark.
Title: Re: Newbie question.
Post by: Mattn on June 28, 2010, 09:43:06 pm
don't forget to run "make lang"

attached is a screenshot showing that option
Title: Re: Newbie question.
Post by: keybounce on June 28, 2010, 11:40:58 pm
I was looking on video, not general.

No, it still is a dark 3D geoscape.

2D works fine.
Title: Re: Newbie question.
Post by: siredmond on June 30, 2010, 01:36:54 pm
there is an option to increase the geoscape ambient lighting - did you try to increase that one?

That has no effect of the perpetual night. But with the overlay drawn, it does light up more, as far as i can tell anyways.
Title: Re: Newbie question.
Post by: Viper117 on July 18, 2010, 06:34:08 pm
I am having the same problem as these guys.  The geoscape is in perpetual darkness though I will try to play with some of the settings to change that.  I also have no sound and my log file is showing that the game is unable to load ogg vorbis support and is not able to load any of the sound files.  I did have music during the opening movie but have yet to hear a sound after that point.  I'm able to play a mission just fine (it's just quiet). I read in another post to change the audio rate and have done so but still received no sound.

Love the updates you made and the game is working great other than those two problems (at least so far).  Thanks for all the hard work.
Title: Re: Newbie question.
Post by: keybounce on July 18, 2010, 06:50:03 pm
I have a PPC mac with my problems. Do you folks have PPC or x86?
Title: Re: Newbie question.
Post by: siredmond on July 23, 2010, 03:16:29 am
x86 10.6.4 C2D 2.66Gz GT 9600m