project-navigation
Personal tools

Author Topic: OSX installers  (Read 159812 times)

Offline ovvldc

  • Rookie
  • ***
  • Posts: 59
    • View Profile
Re: OSX installers
« Reply #90 on: December 04, 2010, 02:01:46 am »
it looks like the sdl_image framework is not part of the dmg... i didn't notice this because i have the sdl_image framework installed here. it looks like we really need someone who works with a mac and knows this kind of stuff... i will try to fix that

I will give it a go. I have SDL 1.2.14 runtime installed anyway, so I can try if that is enough. If not, adding them to the package would be nice ;). If that is enough, putting in directions on how to install SDL is not a big inconvenience.

Offline ovvldc

  • Rookie
  • ***
  • Posts: 59
    • View Profile
Re: OSX installers
« Reply #91 on: December 05, 2010, 09:13:39 am »
Unfortunately, it crashes to desktop immediately on running due to not having SDL_Image

Code: [Select]
Process:         ufo [9222]
Path:            /Volumes/UFO: Alien Invasion 2.3.1/UFOAI.app/Contents/MacOS/ufo
Identifier:      net.sourceforge.UFOAI
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [255]

Date/Time:       2010-12-05 09:10:02.292 +0100
OS Version:      Mac OS X 10.6.5 (10H574)
Report Version:  6

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: /Volumes/UFO: Alien Invasion 2.3.1/UFOAI.app/Contents/MacOS/ufo
  Reason: image not found

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

Offline dawbs

  • Cannon Fodder
  • **
  • Posts: 1
    • View Profile
Re: OSX installers
« Reply #92 on: December 17, 2010, 11:12:16 am »
I think you will find the answers to your build issues contained here:
http://www.philhassey.com/blog/2009/02/21/bundling-sdl_imageframework-and-sdl_mixerframework/

and in more detail here:
http://overooped.com/post/42240519/properly-bundling-frameworks-in-your-application

Unfortunately I am in the middle of moving and am on a low bandwidth connection at the moment, otherwise I would try and do a build for you. I should have some time to look at it in a few weeks though if there are still problems.

The other short term option is to install libsdl_image-framework from mac ports and that should get you sorted. That has a quite a few dependencies though (it requires chunks of x.org so expect a fair bit of downloading and a fair bit more compiling) so I can't download and test it at the moment !

Good luck - I will check in when I am near a better connection :-)
« Last Edit: December 17, 2010, 02:13:43 pm by dawbs »

Offline McToki

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: OSX installers
« Reply #93 on: December 26, 2010, 06:21:03 am »
I was able to load UFO:AI once on my MBP (2.4Ghz).  But since then it mainly just hangs after I try to open it.  Application goes non-responsive.  I don't think it's like the crash above about SDL frameworks stuff.  I checked /Library/Frameworks/SDL_image.framework/Versions/A/SDL_image and I have that on my computer.  I've also tried to open it on my MacBook 2.26 GHz and the same thing happens.  Any ideas?

I'm anxious to try this game, I looooved the old X-com games.

Thanks,

McToki

Offline marathonman

  • Cannon Fodder
  • **
  • Posts: 1
    • View Profile
Re: OSX installers
« Reply #94 on: January 04, 2011, 10:13:48 pm »
Game won't launch for me either. libsdl_image-framework was not present.

after I installed it with macports, it still crashes, though now I get a message that while it can find the library, it is of the wrong architecture

Code: [Select]
Dyld Error Message:
  Library not loaded: /opt/local/Library/Frameworks/SDL_image.framework/Versions/A/SDL_image
  Referenced from: /Applications/Games/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

I'm kinda perplexed by this, since it seems like macports installs a universal binary. Am I missing something?

Offline Boaal

  • Cannon Fodder
  • **
  • Posts: 8
    • View Profile
Re: OSX installers
« Reply #95 on: January 09, 2011, 02:27:32 am »
I managed to the game to run, much to my surprise but I entered the battlescape in fullscreen and it crashed.
Console said segmentation fault, but I've uploaded a log file, I don't know what to cut out and what not to, so it was too long to post in a code (over 2k characters).

Edit: Further testing reveals that it HATES the 'country' maps and crashes without fail on them. I'd assume the same problem. Both with and without fullscreen.
« Last Edit: January 10, 2011, 03:28:18 pm by Boaal »

Offline nonofthatk

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: OSX installers
« Reply #96 on: February 24, 2011, 06:24:35 am »
i installed UFO: alien invasion for my mac from this website and when i tried to open the game it failed to open

i skimmed down the details list and it said something about image not found

Offline ComDiver

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: OSX installers
« Reply #97 on: March 01, 2011, 01:47:59 pm »
I cant seem to be abel to boot it at all :s


Process:         ufo [561]
Path:            /Volumes/UFO: Alien Invasion 2.3.1/UFOAI.app/Contents/MacOS/ufo
Identifier:      net.sourceforge.UFOAI
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [159]

Date/Time:       2011-03-01 13:46:19.207 +0100
OS Version:      Mac OS X 10.6.6 (10J567)
Report Version:  6

Interval Since Last Report:          687558 sec
Crashes Since Last Report:           3
Per-App Crashes Since Last Report:   3
Anonymous UUID:                      DAFB4FC0-5640-42AC-82C6-FC92AC2330EA

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: /Volumes/UFO: Alien Invasion 2.3.1/UFOAI.app/Contents/MacOS/ufo
  Reason: image not found

Binary Images:
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <749D24EE-54BD-D74B-D305-C13F5E6C95D8> /usr/lib/dyld

Model: MacBookPro6,2, BootROM MBP61.0057.B0C, 2 processors, Intel Core i7, 2.8 GHz, 8 GB, SMC 1.58f16
Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe, 512 MB
Graphics: Intel HD Graphics, Intel HD Graphics, Built-In, 288 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.10.131.36.1)
Bluetooth: Version 2.3.8f7, 2 service, 19 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Network Service: Strong VPN, PPP (PPTP), ppp0
Serial ATA Device: APPLE SSD TS128B, 113 GB
Serial ATA Device: MATSHITADVD-R   UJ-898
USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfd100000
USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd120000
USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8507, 0xfd110000
USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfa100000
USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403, 0xfa130000
USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000
USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8218, 0xfa113000
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0237, 0xfa120000

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #98 on: March 01, 2011, 05:32:32 pm »
please read this topic: http://ufoai.ninex.info/forum/index.php?topic=5797.0

we have fixed that missing framework issue you have - but there is still one problem left on mac - the intro must be skipped

written in that topic i just linked here

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #99 on: March 05, 2011, 02:37:07 pm »
a new version is getting uploaded right now - will take ~2h to finish - feedback would be cool. the framework/music issue should be fixed (the game should start now).

there is an issue about the ogm intro. on some macs ufoai freezes after the loading screen. the intro playback freezes it. you can skip the playback of the intro by modifing your config.cfg (resp. creating one) in your home dir (see here for the path). you should add/change the following:

Code: [Select]
cl_introshown 1

setting this cvar to "1" will skip the intro playback and you should be able to run the game. Please only do this if ufoai freezes for you - i would like to know whether this issue is maybe fixed already.

in every case, please report back whether it works for you

Offline ovvldc

  • Rookie
  • ***
  • Posts: 59
    • View Profile
Re: OSX installers
« Reply #100 on: March 06, 2011, 12:56:43 am »
Damn forum software says 'the message body was left empty' when I try to post a crash log..

Offline ovvldc

  • Rookie
  • ***
  • Posts: 59
    • View Profile
Re: OSX installers
« Reply #101 on: March 06, 2011, 12:57:30 am »
In any case, it didn't work. Application hangs after the bar fill up, and the mouse cursor disappears. Music keeps playing, though.

Offline ovvldc

  • Rookie
  • ***
  • Posts: 59
    • View Profile
Re: OSX installers
« Reply #102 on: March 06, 2011, 12:58:34 am »
Also, I was wondering if me using Xquartz 2.6.0 had something to do with it.

Good luck,
 Oscar

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: OSX installers
« Reply #103 on: March 06, 2011, 07:41:02 am »
you can also use pastebin.com to share your logs and just post that link here.

Offline ovvldc

  • Rookie
  • ***
  • Posts: 59
    • View Profile
Re: OSX installers
« Reply #104 on: March 06, 2011, 11:00:53 am »
Ah, of course :).

log 1
log 2

Good luck!