UFO:Alien Invasion

Technical support => Mac => Topic started by: 7chp on January 04, 2011, 01:23:56 am

Title: Game does not start at all
Post by: 7chp on January 04, 2011, 01:23:56 am
I used to play the original, like all the rest of you, and loved it.

I played the 2.2 and 2.2.1 (last time May 08) and wanted to play again, but of course I want to play the newest version. (2.2.1 still starts up and I can play the save games from back then)

After downloading 2.3.1 for Mac, I try to run it and nothing happens... I mean, the UFOAI.app file is there, but running it only generates an error message saying it quit unexpectedly...  :'(

I am on a MacBook Pro (4,1) bought April 1st 2008, MacOSX 10.5.8, 2.4GHz Intel Core 2 Duo, 2 GB 667MHz DDR2 SDRAM

But I know very little about compiling and stuff like this... I do believe I have the X11 running since on 10.5.8... I sorta miss the UFO:AI for dummies instruction manual...  :-\
Title: Re: Game does not start at all
Post by: benwa1 on January 04, 2011, 04:58:40 am
I have the same Operating System version and im getting the very same error report. Someone help!
Title: Re: Game does not start at all
Post by: argh2muchsecurity on January 08, 2011, 12:57:56 am
It doesn't look like there is any help. Even the people with the command line skills seem to get the game to work but then face other crashes. It seems this game is just dead on MAC. I wish the devs would have just admitted that so I wouldn't have wasted 6 hours trying to get the game to work.
Title: Re: Game does not start at all
Post by: bayo on January 08, 2011, 11:48:51 am
without log error or thing like that i dont think we can help a lot. Then maybe executing the game from the shell is a must to have some log error.
Title: Re: Game does not start at all
Post by: incognito_uk on January 08, 2011, 11:53:43 am
2.3 actually worked but there was a problem with the sound and music, but you could at least play the game.

2.3.1 was supposed to fix that problem and a few other bugs but just fails completely  :(

Version 2.3 should still be available for download though.
Title: Re: Game does not start at all
Post by: Destructavator on January 08, 2011, 04:10:07 pm
Guys, we really do have people here who are more than willing to help, but those of us who work on the Mac version need more information - specifically, the exact error messages given (if any), and logs, so that the Mac guys here can find out exactly where the issue is.

Simply saying little more than "I download the game and try to run it but it doesn't work" doesn't really help us debug or find out exactly what is broken.

This is like having a car towed to an auto repair shop and telling the mechanic "My car doesn't work - I can't drive it, please fix it."  The mechanic needs to know what
 isn't working. (Does the engine make a strange noise?  Does the steering feel wrong?  Does it not change gears?  Do warning lights come on?)

In the same way, we need some info to work with to trace the issue.
Title: Re: Game does not start at all
Post by: Twenty-four on January 09, 2011, 04:32:27 pm
Hi

I have no idea of codes and compiling and such stuff, but is it that you are searching? In any case, that was the message I got when I tried to start it (nothing else, no black screen or a movie which stops or something like that, just this error-report).
By the way: 2.3 worked on my computer, this game is just great and thanks to anyone who is trying to fix it and to all those who made this game!


Process:         ufo [592]
Path:            /Applications/UFOAI/UFOAI.app/Contents/MacOS/ufo
Identifier:      net.sourceforge.UFOAI
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [112]

Date/Time:       2011-01-09 16:20:09.086 +0100
OS Version:      Mac OS X 10.6.6 (10J567)
Report Version:  6

Interval Since Last Report:          108310 sec
Crashes Since Last Report:           2
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      0917D68A-BE31-4C83-BE13-B13B7BFCCA88

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: /opt/local/Library/Frameworks/SDL_image.framework/Versions/A/SDL_image
  Referenced from: /Applications/UFOAI/UFOAI.app/Contents/MacOS/ufo
  Reason: image not found

Binary Images:
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld

and after that, a lot of stuff about my computer which seems to be of no interest to you...  ;)
Title: Re: Game does not start at all
Post by: joyboy on January 18, 2011, 10:07:10 am
Was about to post the exact same error message as Twenty-four did.

Dyld Error Message:
  Library not loaded: /opt/local/Library/Frameworks/SDL_image.framework/Versions/A/SDL_image
  Referenced from: /Applications/UFOAI.app/Contents/MacOS/ufo
  Reason: image not found

...I did!

In any case, keep up the good work!
Title: Re: Game does not start at all
Post by: Jon_dArc on January 29, 2011, 10:38:19 pm
I had this same issue, but was able to semi-fix it (compiling from HEAD) by editing darwin.mk to remove -F/opt/local/Library/Frameworks from CFLAGS and LDFLAGS (lines 12 and 30) and add -I flags for the actual locations of the SDL framework headers under /Library/Frameworks; my guess is that it's being assumed that the SDL frameworks are being installed via macports, while mine are from the libdsl.org Mac installer.

I say semi-fix because it still doesn't work properly, possibly because my fix is incorrect (the app bundle built with make macinstaller is wrong about the locations of basically all of the frameworks it bundles and is thus effectively unlaunchable, while invoking the non-bundled binary from the command line launches but sits forever when the initial loading progress bar fills), but I've at least been able to make the error message in question disappear.

~J
Title: Re: Game does not start at all
Post by: ashb on September 11, 2011, 11:48:24 pm
Assuming you copied the game to /Applications you need to do the following:.

- Go and download and mount/open the sdl 1.2 runtime dmg from http://www.libsdl.org/download-1.2.php
- Open a terminal and run the following:

install_name_tool -change /opt/local/Library/Frameworks/SDL_mixer.framework/Versions/A/SDL_mixer @executable_path/../Frameworks/SDL_mixer /Applications/UFOAI.app/Contents/MacOS/ufo
install_name_tool -change /opt/local/Library/Frameworks/SDL_image.framework/Versions/A/SDL_image @executable_path/../Frameworks/SDL_image.framework/Versions/A/SDL_image /Applications/UFOAI.app/Contents/MacOS/ufo
cp -r /Volumes/SDL/SDL.framework /Applications/UFOAI.app/Contents/Frameworks/


then it should work
Title: Re: Game does not start at all
Post by: Hypopyon on October 15, 2011, 06:12:55 pm
Hey there, I have also had trouble starting UFO:AI.  The first time it allowed me to start a game - I was then marveling at the 3D world when it crashed.  I forgot to save the error report from that time.  Since then, it hasn't started the game.  A window will flash for an instant on game start-up, but it'll instantly return to my desktop.

I tried the fix from ashb to no success.  I followed the instructions exactly, though I could be doing it wrong.

I'm attaching the recent error log from force quitting the application after waiting several minutes for the game to load.

Thank you for all your hard work!
Title: Re: Game does not start at all
Post by: Rowanas on November 02, 2011, 02:08:20 pm
I was having the exact same problem, same logs and whatnot, so I tried the solution provided and... it doesn't work. Same errors. Meep :(
Title: Re: Game does not start at all
Post by: geever on November 02, 2011, 06:57:24 pm
The current development line (2.4-dev) got quite much Mac specific fix, I would try that.
You can download an installer from http://ufoai.ninex.info/snapshots/

-geever
Title: Re: Game does not start at all
Post by: Rowanas on November 03, 2011, 04:02:42 pm
Oooh. That's odd. I downloaded 2.4 (it still doesn't work), so I tried the fix and got some new behaviour, namely:

install_name_tool: object: /Applications/UFOAI.app/Contents/MacOS/ufo malformed object (unknown load command 4)

That's what I get immediately after pressing enter on the mixer line.

Alas, I do not know what this means, and google won't tell me.
Title: Re: Game does not start at all
Post by: S3R3G4 on December 21, 2011, 05:01:22 am
Hi all!

First of all thank you VERY MUCH to the developer for the effort to make such great game as UFO run on modern macs!

I tried to run version 2.4-dev on Macbook air, but I can only see the starting screen and then the game crashes. I attach the error report. Is there any way to solve the problem?

Thank you!
Title: Re: Game does not start at all
Post by: Mattn on December 22, 2011, 08:31:36 am
it looks like it's crashing in VID_GetModeInfo - i will check once i find the time. thanks for reporting.
Title: Re: Game does not start at all
Post by: Kooks on January 04, 2012, 01:53:10 pm
Hey there,

had the same log message as joyboy. so i downloaded the frameworks (sdl, sdl_image, sdl_mixer) and put them manually into the ufoai.app. now the app stays in the dock, but it still does not start and i have to terminate it. here is the log entry i usually get:

Date/Time:       2012-01-04 13:44:40 +0100
OS Version:      10.6.8 (Build 10K549)
Architecture:    x86_64
Report Version:  7

Command:         UFO: Alien Invasion
Path:            /Applications/UFOAI.app/Contents/MacOS/ufo
Version:         2.3.1 (2.3.1)
Parent:          launchd [136]

PID:             38100
Event:           hang
Duration:        5.21s (sampling started after 2 seconds)
Steps:           12 (100ms sampling interval)

Pageins:         1
Pageouts:        0


Process:         ufo [38100]
Path:            /Applications/UFOAI.app/Contents/MacOS/ufo
UID:             501

  Thread ffaa8      DispatchQueue 100
  User stack:
    12 start + 54 (in ufo) [0x2886]
      12 main + 247 (in ufo) [0x16a794]
        12 Qcommon_Init + 1563 (in ufo) [0xfac33]
          12 CL_Init + 508 (in ufo) [0x147bc]
            12 VID_Init + 704 (in ufo) [0x1aaaa]
              12 R_Init + 203 (in ufo) [0x13c376]
                12 Rimp_Init + 1038 (in ufo) [0x15b6bc]
                  12 R_SetMode + 264 (in ufo) [0x13acf6]
                    12 R_InitGraphics + 413 (in ufo) [0x15ba18]
                      12 SDL_SetVideoMode + 528 (in libSDL-1.2.0.dylib) [0x107262d0]
                        12 QZ_SetVideoMode + 1730 (in libSDL-1.2.0.dylib) [0x10730702]
                          12 -[NSWindow makeKeyAndOrderFront:] + 39 (in AppKit) [0x9549b8ed]
                            12 -[NSWindow _makeKeyRegardlessOfVisibility] + 128 (in AppKit) [0x9549b9a7]
                              12 -[NSWindow makeKeyWindow] + 72 (in AppKit) [0x9549ba38]
                                12 -[NSWindow _changeKeyAndMainLimitedOK:] + 810 (in AppKit) [0x9549bd7b]
                                  12 SDL_SoftStretch + 26562 (in SDL) [0x109173f2]
                                    12 -[NSWindow becomeKeyWindow] + 1359 (in AppKit) [0x9549c832]
                                      12 -[NSNotificationCenter postNotificationName:object:] + 56 (in Foundation) [0x987ca05d]
                                        12 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128 (in Foundation) [0x987bcc50]
                                          12 _CFXNotificationPostNotification + 186 (in CoreFoundation) [0x9307e16a]
                                            12 __CFXNotificationPost + 947 (in CoreFoundation) [0x9307e763]
                                              12 _nsnote_callback + 176 (in Foundation) [0x987c7db3]
                                                12 SDL_SoftStretch + 9344 (in SDL) [0x109130b0]
                                                  12 ??? [0xffffffff]
                                                    12 _sigtramp + 43 (in libSystem.B.dylib) [0x905a405b]
                                                      12 SDL_Parachute + 31 (in libSDL-1.2.0.dylib) [0x106faa0f]
                                                        12 SDL_Quit + 18 (in libSDL-1.2.0.dylib) [0x106fa3f2]
                                                          12 SDL_QuitSubSystem + 85 (in libSDL-1.2.0.dylib) [0x106fa335]
                                                            12 SDL_VideoQuit + 75 (in libSDL-1.2.0.dylib) [0x10725c5b]
                                                              12 QZ_VideoQuit + 87 (in libSDL-1.2.0.dylib) [0x1072f8a7]
                                                                12 QZ_UnsetVideoMode + 173 (in libSDL-1.2.0.dylib) [0x1072edad]
                                                                  12 -[NSWindow _close] + 430 (in AppKit) [0x956b71d1]
                                                                    12 -[NSWindow orderOut:] + 50 (in AppKit) [0x95527015]
                                                                      12 -[NSWindow orderWindow:relativeTo:] + 105 (in AppKit) [0x9549e161]
                                                                        12 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 2604 (in AppKit) [0x9549ebee]
                                                                          12 HideWindow + 154 (in HIToolbox) [0x90e6d659]
                                                                            12 _ShowHideWindows + 489 (in HIToolbox) [0x90bc63fe]
                                                                              12 SetUserFocusWindow + 318 (in HIToolbox) [0x90c2be0d]
                                                                                12 SendSimpleWindowEvent + 94 (in HIToolbox) [0x90bc0af8]
                                                                                  12 SendEventToEventTargetWithOptions + 58 (in HIToolbox) [0x90ba0d55]
                                                                                    12 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411 (in HIToolbox) [0x90ba0ef6]
                                                                                      12 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567 (in HIToolbox) [0x90ba1c2f]
                                                                                        12 carbonAppWindowHandler + 1343 (in AppKit) [0x95b33364]
                                                                                          12 -[NSWindow resignKeyWindow] + 433 (in AppKit) [0x9556d122]
                                                                                            12 -[NSNotificationCenter postNotificationName:object:] + 56 (in Foundation) [0x987ca05d]
                                                                                              12 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128 (in Foundation) [0x987bcc50]
                                                                                                12 _CFXNotificationPostNotification + 186 (in CoreFoundation) [0x9307e16a]
                                                                                                  12 __CFXNotificationPost + 947 (in CoreFoundation) [0x9307e763]
                                                                                                    12 _nsnote_callback + 176 (in Foundation) [0x987c7db3]
                                                                                                      12 SDL_SoftStretch + 9628 (in SDL) [0x109131cc]
  Kernel stack:
    9 lo_alltraps + 298 [0x2a18da]
      9 user_trap + 851 [0x2ab8ef]
        9 exception_triage + 222 [0x21be55]
          9 exception_deliver + 490 [0x21bb23]
            9 mach_exception_raise + 179 [0x23df2b]
              9 mach_msg_rpc_from_kernel_proper + 39 [0x21e3d2]
                5 mach_msg_rpc_from_kernel_body + 384 [0x21e2d7]
                  5 ipc_mqueue_receive + 101 [0x211dd0]
                    5 thread_block + 33 [0x227654]
                      5 thread_block_reason + 331 [0x2275c6]
                        5 thread_dispatch + 1966 [0x227327]
                          5 machine_switch_context + 659 [0x2a9adb]
                2 mach_msg_rpc_from_kernel_body + 205 [0x21e224]
                  2 ipc_kmsg_send + 420 [0x210bc1]
                    2 ipc_mqueue_send + 423 [0x2113dd]
                      2 ipc_mqueue_post + 545 [0x21121c]
                        2 ml_set_interrupts_enabled + 47 [0x2a45e3]
                1 _enable_preemption + 17 [0x29aca1]
                  1 kernel_preempt_check + 70 [0x2aac45]
                    1 ml_set_interrupts_enabled + 47 [0x2a45e3]
                1 mach_msg_rpc_from_kernel_body + 41 [0x21e180]
                  1 ipc_kmsg_get_from_kernel + 341 [0x21088c]
    2 lo_allintrs + 302 [0x2a1c2e]
      2 interrupt + 192 [0x2ab423]
        2 lapic_interrupt + 108 [0x2b32f2]
          2 mp_kdp_exit + 868 [0x2b4560]
            2 sync_iss_to_iks + 124 [0x2aabf6]
    1 lo_alltraps + 454 [0x2a1976]
      1 i386_astintr + 47 [0x2aacb4]
        1 ast_taken + 247 [0x219432]
          1 bsd_ast + 824 [0x48fed2]

  Thread ffaaf      DispatchQueue 1634545000
  User stack:
    12 start_wqthread + 30 (in libSystem.B.dylib) [0x905635c6]
      12 _pthread_wqthread + 390 (in libSystem.B.dylib) [0x90563781]
        12 _dispatch_worker_thread2 + 240 (in libSystem.B.dylib) [0x90563cfe]
          12 _dispatch_queue_invoke + 163 (in libSystem.B.dylib) [0x90563f59]
            12 kevent + 10 (in libSystem.B.dylib) [0x90564382]
  Kernel stack:
    12 kevent + 97 [0x47a699]

  Binary Images:
      0x1000 -   0x21efe7  net.sourceforge.UFOAI 2.3.1 (2.3.1) <E47AB43D-FB4C-D6EF-14EB-D4F46232C14F> /Applications/UFOAI.app/Contents/MacOS/ufo
  0x106f9000 - 0x10756f7b  libSDL-1.2.0.dylib ??? (???) <C1E30738-A33B-A73C-6DE6-C3CB0C708B68> /Applications/UFOAI.app/Contents/MacOS/../Libraries/libSDL-1.2.0.dylib
  0x108de000 - 0x10943f17  SDL 1.2.14 (1.2.14) <FA2F2FC9-E936-DD87-FBB0-F5052D5CDAB8> /Applications/UFOAI.app/Contents/MacOS/../Frameworks/SDL.framework/Versions/A/SDL
  0x9053d000 - 0x906e4ff7  libSystem.B.dylib ??? (???) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib
  0x90b9a000 - 0x90ebefef  com.apple.HIToolbox 1.6.5 (???) <21164164-41CE-61DE-C567-32E89755CB34> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
  0x93023000 - 0x9319efe7  com.apple.CoreFoundation 6.6.6 (550.44) <F88C95CD-1264-782D-A1F5-204739847E93> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
  0x9545f000 - 0x95d42ff7  com.apple.AppKit 6.6.8 (1038.36) <A353465E-CFC9-CB75-949D-786F6F7732F6> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
  0x987b2000 - 0x98a23fef  com.apple.Foundation 6.6.8 (751.63) <69B3441C-B196-F2AD-07F8-D8DD24E4CD8C> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation



Hope it helps.
Title: Re: Game does not start at all
Post by: Mattn on January 04, 2012, 06:36:33 pm
Crash in sdlsoftstretch was a bug in an old sdl version
Title: Re: Game does not start at all
Post by: Kooks on January 05, 2012, 02:45:42 pm
afaik sdl1.2 is the latest version.
i tried something else: i reinstalled the game, installed sdl, sld_mixer and sdl_image via macports ran selfupdate and upgrade outdated. there is still something wrong with sdl.
here is the log:
Process:         ufo [71844]
Path:            /Applications/UFOAI.app/Contents/MacOS/ufo
Identifier:      net.sourceforge.UFOAI
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [136]

Date/Time:       2012-01-05 14:39:50.256 +0100
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          3292386 sec
Crashes Since Last Report:           1833
Per-App Crashes Since Last Report:   15
Anonymous UUID:                      A9E071A7-F16A-4065-9AB7-683123F9FC9D

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: /opt/local/Library/Frameworks/SDL_image.framework/Versions/A/SDL_image
  Referenced from: /Applications/UFOAI.app/Contents/MacOS/ufo
  Reason: no suitable image found.  Did find:
   /opt/local/Library/Frameworks/SDL_image.framework/Versions/A/SDL_image: mach-o, but wrong architecture

Binary Images:
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld
Title: Re: Game does not start at all
Post by: geever on January 05, 2012, 03:00:44 pm
afaik sdl1.2 is the latest version.
i tried something else: i reinstalled the game, installed sdl, sld_mixer and sdl_image via macports ran selfupdate and upgrade outdated. there is still something wrong with sdl.

I don't know these Mac stuff at all, but I believe this is your problem:
Quote
SDL_image: mach-o, but wrong architecture

The SDL you've installed is not compatible with your OS version and/or CPU arch.

-geever
Title: Re: Game does not start at all
Post by: Kooks on January 07, 2012, 01:14:31 pm
Looks like you can blame it all on SDL. I used to play the 2.2 version of the game without any problems. Does any1 know if it is still available somewhere?
Title: Re: Game does not start at all
Post by: SpeCT on January 08, 2012, 11:51:55 am
Hi Guys.

Firstly I'd like to say THANK YOU for developing such amazing open source game (hope I will be able to play ;))

Now regarding the 2.3.1 issues. I've installed SDL_image and SDL_mixer frameworks into /opt/local/Library/Frameworks and SDL.framework into /Applications/UFOAI.app/Contents/Frameworks. All are versioned 1.2 (latest) and downloaded from http://www.libsdl.org/.

So now there are no exceptions related to SDL (neither any other), but UFO:AI still is not playable: app icon is constantly bouncing in Dock and there is no Quit option under right click menu, only Force quit.

I'm having c2d air 11 with updated lion on it.

Please tell me how can I help you with solving this issue (m.b. by sending any additional info/log files/...)

PS: I didn't tried to build version from sources, but as I see after quick forum reading it will not help :(

Regards,
Yury
Title: Re: Game does not start at all
Post by: Mattn on January 10, 2012, 12:18:29 am
The current development line (2.4-dev) got quite much Mac specific fix, I would try that.
You can download an installer from http://ufoai.ninex.info/snapshots/

-geever
Title: Re: Game does not start at all
Post by: SpeCT on January 10, 2012, 10:15:07 am
Thank you for the reply Mattn, but as you already mentioned above 2.4-dev crashes on VID_GetModeInfo. So, since you are calling 2.3.1 as stable – I've just tried to fix it, instead of debugging 2.4-dev.
Title: Re: Game does not start at all
Post by: Kooks on January 11, 2012, 03:57:12 pm
So I decided to give 2.4 another chance and miraculously it works.
Last time I tried it, it only managed to show the loading screen and fill the loading bar before returning to desktop.
I basically installed SDL via Macports and ran selfupdate and upgrade outdated since it was an older version of Macports.
Title: Re: Game does not start at all
Post by: SpeCT on January 11, 2012, 04:46:33 pm
So I decided to give 2.4 another chance and miraculously it works.

OMG Kooks, you are genius! I've installed libsdl using MacPorts and now I can see main menu (username/language/tip of the day). I didn't tried to play, but I believe everything will be fine :)
Title: Re: Game does not start at all
Post by: Kooks on January 12, 2012, 05:36:09 pm
OMG Kooks, you are genius!

Finally some1 points out the obvious  8)
Glad, I could help.
Something else: I noticed that the earth looks pretty dark in Geoscape without nation overlay. Is that a bug or a feature? Here is a screenshot. The sun is in viewerposition.

Title: Re: Game does not start at all
Post by: H-Hour on January 14, 2012, 05:04:10 pm
Try turning off GLSL shaders in the video options. That may help...
Title: Re: Game does not start at all
Post by: Kooks on January 14, 2012, 07:30:54 pm
Unfortunaty it doesnt
Title: Re: Game does not start at all
Post by: Arclight on January 21, 2012, 05:39:11 pm
Hey. Kooks, it seems you are the resident badass who'd figured this out. Unfortunately I really don't have much of a clue of what I'm doing with this kind of thing, would there be any chance you could post a baby-step set of instructions of how to get this working?

I know it's a bit of an ask but a poor fool like me would seriously appreciate it.
Title: Re: Game does not start at all
Post by: Kooks on January 25, 2012, 07:13:30 pm
Ok then, here is a step-by-step description (but I hope you've got MacPorts; here is a manual how to install it: http://www.macports.org/install.php). Download and install UFO:AI 2.4. For what comes next, you need MacPorts installed:
Open Terminal and type:
sudo port selfupdate
then
sudo port upgrade outdated (this should not be necessary, but you never know)
then
sudo port install libsdl

This might take some time.
Basically that's what I did. Good luck!

But what about my issue?
Title: Re: Game does not start at all
Post by: Mattn on February 12, 2012, 07:48:50 pm
here are some links for the reason of mac and sdl 1.2.14 fullscreen bug:

http://ufoai.ninex.info/forum/index.php/topic,6445.msg50689.html#msg50689

you have to update your libsdl from macports to at least 1.2.15 to be able to run the game in fullscreen on macosx >= 10.7
Title: Re: Game does not start at all
Post by: Rowanas on February 12, 2012, 10:28:41 pm
Having followed all the steps, downloaded everything, updated, honoured the ancestral spirits with libations and rituals, installed the software in accordance with the passage of the correct planets, and placed my computer in harmony with both feng shui -and- cosmic alignment...

...I have nothing to show for it.
Title: Re: Game does not start at all
Post by: Mattn on February 13, 2012, 11:25:19 am
upload of a new dmg was just finished. please give that one a try and report back whether anything changed for you.

http://ufoai.ninex.info/snapshots/ufoai-2.4-dev-macosx-intel.dmg
Title: Re: Game does not start at all
Post by: sVGA on February 13, 2012, 05:09:29 pm
What's wrong? I can't start any version.
Title: Re: Game does not start at all
Post by: Rowanas on February 14, 2012, 11:48:11 am
Why are the downloads so big? A gig seems a little much.
Title: Re: Game does not start at all
Post by: ovvldc on February 16, 2012, 11:47:22 pm
This latest snapshot crash on me as well.

http://pastebin.com/7vazWwWj for crashlog and attachment for ufoconsole. Console log showed the following of interest:

16-02-12 23:40:36   [0x0-0x4f34f3].net.sourceforge.UFOAI[23752]   ----------- parse scripts ----------
16-02-12 23:40:36   [0x0-0x4f34f3].net.sourceforge.UFOAI[23752]   55 script files
16-02-12 23:40:42   com.apple.launchd.peruser.501[258]   ([0x0-0x4f34f3].net.sourceforge.UFOAI[23752]) Job appears to have crashed: Abort trap
16-02-12 23:40:43   ReportCrash[23759]   Saved crash report for ufo[23752] version 2.4-dev (2.4-dev) to /path/Logs/DiagnosticReports/ufo_2012-02-16-234043_macbook.crash
Title: Re: Game does not start at all
Post by: feenom on February 19, 2012, 04:02:26 pm
In MacOS 10.7.2 I was able to get 2.3.1 to work following the instructions in this thread but slightly differently.

I did download macports and use it's update to SDL as described. I then downloaded and manually installed SDL 1.2.15

I had to install xcode from the apple applications store. Then I used locations different from those given on the first page of this thread in the terminal to make it work:

install_name_tool -change /opt/local/Library/Frameworks/SDL_mixer.framework/Versions/A/SDL_mixer @executable_path/../Frameworks/SDL_mixer /Applications/UFOAI.app/Contents/MacOS/ufo
install_name_tool -change /opt/local/Library/Frameworks/SDL_image.framework/Versions/A/SDL_image @executable_path/../Frameworks/SDL_image /Applications/UFOAI.app/Contents/MacOS/ufo
cp -r /Library/Frameworks/SDL.framework /Applications/UFOAI.app/Contents/Frameworks/

hope this helps.

PS it's worth mentioning that if you are on 10.7.2 and your install locations are the same as mine and you followed the instructions of this thread literally before getting to my alternate location terminal commands, you will have to change the string for the SDL_image line to replace the previous change. looks like so:

install_name_tool -change @executable_path/../Frameworks/SDL_image.framework/Versions/A/SDL_image @executable_path/../Frameworks/SDL_image /Applications/UFOAI.app/Contents/MacOS/ufo
Title: Re: Game does not start at all
Post by: parjlarsson on April 07, 2012, 04:34:09 am
2.3 startup crash


Process:         ufo [7099]
Path:            /Users/parlarsson/Desktop/UFOAI.app/Contents/MacOS/ufo
Identifier:      net.sourceforge.UFOAI
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [110]

Date/Time:       2012-04-06 22:33:32.796 -0400
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          1177426 sec
Crashes Since Last Report:           4
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      8C6E195B-6D48-416B-BC90-1830407F565B

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: /opt/local/Library/Frameworks/SDL_image.framework/Versions/A/SDL_image
  Referenced from: /Users/parlarsson/Desktop/UFOAI.app/Contents/MacOS/ufo
  Reason: image not found

Binary Images:
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld

Model: iMac7,1, BootROM IM71.007A.B03, 2 processors, Intel Core 2 Duo, 2.8 GHz, 4 GB, SMC 1.21f4
Graphics: ATI Radeon HD 2600 Pro, ATI,RadeonHD2600, PCIe, 256 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x88), Broadcom BCM43xx 1.0 (5.10.131.42.4)
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: WDC WD5000AAKS-40TMA0, 465,76 GB
Parallel ATA Device: OPTIARC  DVD RW AD-5630A
USB Device: Keyboard Hub, 0x05ac  (Apple Inc.), 0x1006, 0xfa400000 / 2
USB Device: Apple Keyboard, 0x05ac  (Apple Inc.), 0x0220, 0xfa420000 / 3
USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8502, 0xfd400000 / 2
USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8206, 0x1a100000 / 2
USB Device: USB OPTICAL MOUSE, 0x093a  (Pixart Imaging, Inc.), 0x2510, 0x1d100000 / 2
USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0x5d100000 / 2