UFO:Alien Invasion
Technical support => Mac => Topic started by: Chriswriter90 on May 01, 2008, 02:46:01 am
-
Is the release just for the PC version, or does it not matter which Operating System (PC, Mac, or Linux) you use ???
-
we no mac coders/packagers at the moment, sorry.
any volunteers?
[edit]
maybe there is hope
http://ufoai.ninex.info/forum/index.php?topic=2531.0;topicseen
-
The mac compile takes bloody forever. Maybe this afternoon I'll have the Intel version.
I don't have a PPC mac to test a PPC version, so it will be intel-only at first.
-
Hmm. In my experience compiling code and lang took very little time. Its the maps that take forever, but you don't really need to do them every time [or at all, once the 2.2.1 data pack is out].
-
The 2.2.1 map pack is actually available for download in the usual sf.net page where you can download source and binaries. The problem is in the 2.3 dev version, since they use all-new maps and they've not been pre-compiled yet (as far as I know). So just head over the the main download page, and when they give you a choice between linux, windows, and source, look for the map pack.
-
I downloaded the new universal 2.2.1 version and it does not run. The app never opens. Anyone else experiencing this problem?
-
@SnowJack: are you using intel or ppc ? what OS release ? pls be more specific, you may click (Apple Logo) --> About this Mac,
click the grey text under Mac OS X until it shows version and then pls give us version and processor ?
I don`t know if the Problem described in "PPC help needed" is already fixed in the universal binary, so you might also have stumbled
into the "our ppc-build did not work yet" problem.
please be so kind to give more information and have some patience - the problem is beeing worked on (in our spare time)
-
Thanks for the effort tchristney!
App opened successfully on my 1.25 Ghz G4 ATI 8500. OSX 10.5.2
I only went so far as to place the first base. I'm looking forward to the bug hunt this evening.
-
Sorry I forgot to post what I am using.
2Ghz Intel Core Duo
OS 10.4.11
Do you need any more info?
The patience you don't have to worry about. I understand how long it can take to figure out and correct one small bug in a program.
I am just glad there is a Mac version of this game.
-
Same here. When clicking on the UFOAI icon, the icon bounces in dock and then shuts down. No error message.
OSX 10.4.11 on MBP 2.16 GHz Core Duo.
Thanks for your help
-
It's working without any apparent problems in my machine:
Macbook (Black, early 2007)
- Core 2 Duo CPU @ 2.0 GHz
- 2.0 GB RAM
- Intel GMA950
- OS X 10.5.2 with all updates installed
-
Looking like a 10.5 vs 10.4 issue. Anyone with 10.4 running it correctly?
-
Check the output in /Applications/Utilities/Console.app
When you double click an application, that is where the stdout and stderr are redirected. Alternatively, open up the terminal and run UFOAI.app/Contents/MacOS/ufo. You should see any errors printed there.
That said, I did compile this version of 10.5.2. I think it is possible to target 10.4 but I no longer have a 10.4 system to test on. I'll look into it.
-
I have a 10.4.11 with a newly installed xcode 2.5 and backporting tools. that plus i recently compiled 2.2.1 to work -
the universal binary didn`t work for me either, I wouldn`t have compiled 2.2.1, it if it did work out of the box.
compiling the game seems to fix the problem for me.
is anyone able to supply a strace/ltrace/truss/dtrace (i don`t know what they call it on macos x) or similar output of their situation ? i would like to compare whats going on.
if you don`t have a 10.4 system and have a spare disk (so to say), could you give it a try setting up 10.4 on the spare with xcode 2.5 ? that`s what we do at work, multiboot for compiling with different systems.
did you use xcode 3.0 or 2.5 on macos 10.5 ? could also be a compiler/toolchain-issue (would not always need to be the system libs or headers - some new optimization flag might just ruin the day).
-
Traced down the error log, here is the header before the binary images description.
Date/Time: 2008-05-13 15:33:35.027 -0400
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4
Command: ufo
Path: /Applications/UFOAI.app/Contents/MacOS/ufo
Parent: WindowServer [66]
Version: 2.2.1 ( 2.2.1)
PID: 246
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x7541536e
Thread 0 Crashed:
0 libobjc.A.dylib 0x90a59380 objc_msgSend + 16
1 ufo 0x00001e56 start + 54
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x7541534e ebx: 0x00109407 ecx: 0x00138956 edx: 0x00138919
edi: 0x00000000 esi: 0x00000000 ebp: 0xbffffd48 esp: 0xbffffd18
ss: 0x0000001f efl: 0x00010202 eip: 0x90a59380 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
Hope that helps.
-
looks to me like a pointer dangling to no-where...
some ABI change where the new xtools tries to use new header functions that are not implemented in 10.4
somewhere in the objective c message passing lib.
should be safer for now to compile on 10.4.x unless it is clear where this happens.
what version of SDL Framework do you use ? (just to rule that out...)
-
SDL 1.2.13 is used in UFO:AI 2.2.1.
The crash seems to be happening very early... I am working on creating something that will work on 10.4 - ripclaw, can I send you an updated ufo binary to test? If so, PM me your email and I can send you a link.
-
for sure. you got PM.
-
OK, anyone else want to give it a try?
http://christney.net/~tchristney/ufo_update_10_4.dmg (http://christney.net/~tchristney/ufo_update_10_4.dmg)
Copy the files inside to UFOAI.app/Contents/MacOS/
Please let me know if it works for you on 10.4.x!
-
I got the same error.
-
error again....
I paste all....
Date/Time: 2008-05-16 15:34:06.621 +0200
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4
Command: ufo
Path: /Applications/UFOAI.app/Contents/MacOS/ufo
Parent: WindowServer [60]
Version: 2.2.1 ( 2.2.1)
PID: 399
Thread: Unknown
Link (dyld) error:
Symbol not found: _fputs$UNIX2003
Referenced from: /Applications/UFOAI.app/Contents/MacOS/ufo
Expected in: /usr/lib/libSystem.B.dylib
Model: MacBook1,1, BootROM MB11.0061.B03, 2 processors, Intel Core Duo, 2 GHz, 2 GB
Graphics: Intel GMA 950, GMA 950, Built-In, spdisplays_integrated_vram
Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz
Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86), 1.3.5
Bluetooth: Version 1.9.5f4, 2 service, 1 devices, 1 incoming serial ports
Network Service: Ethernet integrata, Ethernet, en0
Serial ATA Device: TOSHIBA MK6034GSX, 55.89 GB
Parallel ATA Device: MATSHITADVD-R UJ-857, 746.81 MB
USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA
USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA
USB Device: Bluetooth USB Host Controller, Apple, Inc., Up to 12 Mb/sec, 500 mA
-
OK, that looks like a different problem, and one that should be fixable. Almost there, 10.4 people! I'll let you all know when I get a chance to update it again.
-
If I can help you tell me.... :-) and sorry if I not speak a lot but my english is not really good :-)
-
OK, can you guys try the same link as above, with the same directions and let me know if it works now.
And don't ever worry about your English. I assure you it is far, far better than my insert language here. I learned that lesson about the internet in about 1993. ;D
-
Thanks for all Tchristney..... :)
I just tried..... from ufo.crash.log:
Host Name: computer-di-marco-xxx
Date/Time: 2008-05-17 10:33:23.071 +0200
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4
Command: ufo
Path: /Applications/UFOAI.app/Contents/MacOS/ufo
Parent: WindowServer [60]
Version: 2.2.1 ( 2.2.1)
PID: 4631
Thread: Unknown
Link (dyld) error:
Library not loaded: /opt/local/lib/libpng12.0.dylib
Referenced from: /Applications/UFOAI.app/Contents/MacOS/ufo
Reason: Incompatible library version: ufo requires version 26.0.0 or later, but libpng12.0.dylib provides version 0.1.2
-
Sorry, my bad - I forgot to run the old macfixlibs.pl on those binaries. Please try again - I've updated the dmg one more time (hopefully the last time!)
-
Date/Time: 2008-05-17 17:23:51.926 -0400
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4
Command: ufo
Path: /Applications/UFOAI.app/Contents/MacOS/ufo
Parent: WindowServer [67]
Version: 2.2.1 ( 2.2.1)
PID: 305
Thread: Unknown
Link (dyld) error:
Symbol not found: _pthread_rwlock_wrlock$UNIX2003
Referenced from: /Applications/UFOAI.app/Contents/MacOS/../Libraries/libintl.8.dylib
Expected in: /usr/lib/libSystem.B.dylib
-
Gah! This is what I was really afraid of - having to recompile the MacPorts libraries!
:'(
I'll figure out which ones I have to recompile and get back to you guys with some more libraries. Thanks for your patience!
-
no prob, here`s the error i got:
dyld: Library not loaded: @executable_path/../Libraries/libpng12.0.dylib
Referenced from: /Applications/Games/UFO/UFOAI_2.2.1_sk.app/Contents/MacOS/ufo
Reason: image not found
May 18 14:57:30 glendronach crashdump[19437]: ufo crashed
May 18 14:57:30 glendronach crashdump[19437]: crash report written to: /Users/stefan/Library/Logs/CrashReporter/ufo.crash.log
same as above. i have working 10.4. version from source, but ppc only. so basically it can be done.
@tchristney: what would have to be done to get a working fat 10.4 compiled binary instead of a ppc-only ? did this change big time from NextStep ?
-
It isn't actually that hard. Are you using MacPorts or fink? Using fink it can't be done, AFAIK. Using MacPorts you need to specify the +universal variant when building all the UFO:AI dependencies. When configuring UFO:AI, you call ./configure CFLAGS="-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk" LDFLAGS="-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk". You will also find that there are some incompatible compile options specified in several of the build/*.mk files, specifically the options are -MD -MT $@ -MP - these need to be deleted.
FWIW, this is all fixed in the trunk and you just have to run ./configure. It may also be that you don't need the isysroot parameter (I know you don't on intel 10.4).
Right now I am in the process of updating my MacPorts tree to build libraries compatible with 10.4. I think I have it figured out and should have an updated set of libraries for you guys later today.
-
OK, try the libraries and programs from my updated download above. Copy the libraries into UFOAI.app/Contents/Libraries and the programs into UFOAI.app/Contents/MacOS and let me know if they work.
-
great!!!!!!! works!!!!!!
now I start to test all!!!!
thanks thanks thanks!!!!!!
-
Great! ;D
Once I hear back from a PPC user I'll get a new package out to Mattn.
-
seems to work fine on the ppc, had no problems starting and running for 15 minutes, will give it a longer try later the local evening (CET+2)
thanks !
-
That's great news! The update is in the works. I'll have to update the wiki because if you are on 10.5 and want to create universal binaries usable on 10.4 using MacPorts, 1.60 does not work. You need to download the trunk version from the MacPorts svn that has a configuration option that allows you to do this.
-
a few notes....
one of my 8 bases has 4 storage, i keep sending production and excess stuff there, and redistribute.
some bases only research, others manufacture. I also have a number of bases with a large fighter contingent,
up to 8 fighters.
- not possible to scroll through mails (3button mouse)
- cant open mails with date "zero"
- in global map intercept/target select doesnt give all ships, can`t scroll through. cannot even manually get those ships to
assault a ufo.
- selling ship chooses random ship ? you should be able to select, like hire/fire soldier
- if item list in buy/sell is too long, can`t scroll or deselect
- if deactivated autosell, items still get sold.
- after mission: "todo: seq_xvi_sentence1"
- in transfer mode list won`t scroll if too many items in store
nice to have reports:
- free capacity (research, produce, heal) per location
- free people (scientist, worker, doc) per location
nice to have features:
- in transfer mode and buy/sell mode: quantity selection (especially with transfering alien material) - i really see a problem transfering or selling 3000 alien material. that hurts the index finger :)
game crashed when i tried to give a stun-stick to a soldier after a few hours play. no core file written.
-
Have tried to install ufoai2.2.1 universal.dmg onto my mac to no avail. All i get is a message stating that the following disk images failed to mount ufoai2.2.1-macosx-u reason not recognised. I am a huge xcom fan and would like to trial ufo:ai
Any leads?
macbook 2.16ghz core2duo macosx10.5.2
-
For scrolling, I think that the mouse wheel and page up/down work. I think that all of those bugs/todo items are not Mac specific. The game does log stuff to stdout and stderr, so there may be hints as to what happened in the logs from Console.app.
daris, I'm not sure what the origin of problem you are having is, but it may be just that you have a corrupted and/or incomplete download. Try downloading the dmg again, making sure that you let it get all the way to the end. It looks like the file name may have been changed and/or truncated? The file name should be ufoai-2.2.1-macosx-universal.dmg, unless Mattn changed it.
-
No luck on that front. Will download but not install? Is there any other means of playing ufoai?
Have tried to install ufoai2.2.1 universal.dmg onto my mac to no avail. All i get is a message stating that the following disk images failed to mount ufoai2.2.1-macosx-u reason not recognised. I am a huge xcom fan and would like to trial ufo:ai
Any leads?
macbook 2.16ghz core2duo macosx10.5.2
[/quote]
-
Yeah, you can compile your own version of the game. Follow the directions for getting the source from SVN, but take the stable release using svn co https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/tags/ufoai_2.2.1 ufoai_2.2.1. You'll need to get the dependencies using MacPorts (http://www.macports.org) or fink (http://www.finkproject.org). You can follow the directions for compiling (http://ufoai.ninex.info/wiki/index.php/Compile_for_Mac) on the Wiki, but instead of using make maps you'll need to grab the map pack from the download page.
I still can't imagine why the dmg isn't working for you!
-
3rd times a charm.
UFO:ai has loaded.
Thanks for your reply. Strange...
-
Installed game last week. The music sound has all of a sudden begun to crackle. It begins fine but after a few minutes starts to go. Fixes when turned off but hoping there is another solution. Any ideas?
Macbook 2.16ghz, core 2 duo osx
-
Same here, but for Windows XP. Its the 2nd Soundtrack
-
Wish I could help. Personally, I hate the music from most games (I find it distracting) and just turn it off so haven't noticed this problem.
You should be able to figure out which song it is by running the game from Terminal.app. It is in the utilities folder inside the main Applications folder. You need to type UFOAI.app/Contents/MacOS/ufo to see the messages. When the problem occurs, quit the program and check the output to see the last music started message.