It's 2793... with a manual change of universe visibility. (that's what the update meant)Geoff the Medio wrote:Yes, but he later posted...OndrejR wrote:It was posted earlier on this thread that revision is 2793.Geoff the Medio wrote:What revision is used in the MacOSX version of 0.3.11...?.Id wrote:It's updated. Go ahead and re-download.
MacOsX Version issues
Moderator: Committer
Re: MacOsX Version issues
Re: MacOsX Version issues
It certainly would be for people like me who like to build interim versions, especially if the time between releases is high (which admittedly it isn't these days).Geoff the Medio wrote: If the XCode project would be useful for others, that could be included in SVN as well, much like the MSVC project files.
- eleazar
- Design & Graphics Lead Emeritus
- Posts: 3858
- Joined: Sat Sep 23, 2006 7:09 pm
- Location: USA — midwest
Re: MacOsX Version issues
I haven't used XCode before, but i'm interested in giving it a try if (as i hope) it's relatively easy to take the pre-made project, add the source and create a binary.Naesbye wrote:It certainly would be for people like me who like to build interim versions, especially if the time between releases is high (which admittedly it isn't these days).Geoff the Medio wrote: If the XCode project would be useful for others, that could be included in SVN as well, much like the MSVC project files.
Re: MacOsX Version issues
As long as the project/SDK is up to date with respect to dependencies, it would usually be trivial to keep your own build up to date.eleazar wrote: I haven't used XCode before, but i'm interested in giving it a try if (as i hope) it's relatively easy to take the pre-made project, add the source and create a binary.
I'm in the process of cleaning up the Xcode project as I get 0.3.12 working. Maybe once once that's sorted out, it would be a good time to put it in everyone's hands.
- eleazar
- Design & Graphics Lead Emeritus
- Posts: 3858
- Joined: Sat Sep 23, 2006 7:09 pm
- Location: USA — midwest
Re: MacOsX Version issues
Sounds good..Id wrote:Maybe once once that's sorted out, it would be a good time to put it in everyone's hands.
Re: MacOsX Version issues
Yeah, unless changes to the build modify the relative paths, then it should all be a matter of running , launch the XCode project and press 'Build'.
Code: Select all
svn update
Re: MacOsX Version issues
Here's a testing version (i386 only): FreeOrion.0.3.12.rev2835-mac-i386.zip
Let me know if there's any problems.
The app bundle definitely didn't work for me anymore. Spent a lot of time trying to fix to no avail.
I'm thinking maybe it will sort itself out when I clean up the Xcode project... but maybe someone else has more insight into this.
So instead of double clicking the app, open up a terminal, go to where it is, and do:
You'll have to do this anyway to test the combat demo:
Before you try new versions you may want to move the old configuration stuff out of the way. (just do this once when moving to a different FO version)
Let me know if there's any problems.
The app bundle definitely didn't work for me anymore. Spent a lot of time trying to fix to no avail.
I'm thinking maybe it will sort itself out when I clean up the Xcode project... but maybe someone else has more insight into this.
So instead of double clicking the app, open up a terminal, go to where it is, and do:
Code: Select all
FreeOrion.app/Contents/MacOS/FreeOrion
Code: Select all
FreeOrion.app/Contents/MacOS/FreeOrion --tech-demo
Code: Select all
mv ~/Library/Application\ Support/FreeOrion/ ~/Library/Application\ Support/FreeOrion.old
Re: MacOsX Version issues
I don't have mac, but in Linux in KDE there is something as working directory in application icon setup. Maybe similar thing is in mac..Id wrote:The app bundle definitely didn't work for me anymore. Spent a lot of time trying to fix to no avail.
I'm thinking maybe it will sort itself out when I clean up the Xcode project... but maybe someone else has more insight into this.
So instead of double clicking the app, open up a terminal, go to where it is, and do...
- eleazar
- Design & Graphics Lead Emeritus
- Posts: 3858
- Joined: Sat Sep 23, 2006 7:09 pm
- Location: USA — midwest
Re: MacOsX Version issues
It works for me using those terminal commands.
I couldn't select any fleets, since the system selection area seemed to totally cover the fleet no matter how i adjusted the options, but i assume that's due to the incomplete changes in that part of the code.
The tech demo part seems rather sluggish, but i can zoom, select different planets and rotate.
I couldn't select any fleets, since the system selection area seemed to totally cover the fleet no matter how i adjusted the options, but i assume that's due to the incomplete changes in that part of the code.
The tech demo part seems rather sluggish, but i can zoom, select different planets and rotate.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: MacOsX Version issues
Is that using an up-to-date SVN version? (That shouldn't be happening in the latest SVN)eleazar wrote:I couldn't select any fleets, since the system selection area seemed to totally cover the fleet no matter how i adjusted the options, but i assume that's due to the incomplete changes in that part of the code.
You might just need to delete your config.xml.
Edit: You should be able to use hotkeys to select things if mouse clicks won't or can't work.
Re: MacOsX Version issues
He uses revision 2835. Clickable problem was solved in revision 2843.Geoff the Medio wrote:Is that using an up-to-date SVN version? (That shouldn't be happening in the latest SVN)eleazar wrote:I couldn't select any fleets, since the system selection area seemed to totally cover the fleet no matter how i adjusted the options, but i assume that's due to the incomplete changes in that part of the code.
Re: MacOsX Version issues
Hard drive failure, means this will have to go a little different. Here's 2905 in two parts
http://www.mediafire.com/file/ymnozqrxhyn/FreeOri1.zip
http://www.mediafire.com/file/kmwazimzmni/FreeOri2.zip
You'll have to manually combine the two parts after unzipping:
Still couldn't get the bundle working, so use a terminal.
I don't really understand it, except that it's not the binary itself failing due to paths. It's like the bundle doesn't even find the binary within.
http://www.mediafire.com/file/ymnozqrxhyn/FreeOri1.zip
http://www.mediafire.com/file/kmwazimzmni/FreeOri2.zip
You'll have to manually combine the two parts after unzipping:
Code: Select all
cp -r FreeOrion\ 2.app/ FreeOrion.app/
rm -r FreeOrion\ 2.app
I don't really understand it, except that it's not the binary itself failing due to paths. It's like the bundle doesn't even find the binary within.
Last edited by .Id on Sun Mar 01, 2009 3:44 pm, edited 2 times in total.
Re: MacOsX Version issues
Post above edited with new URLs of mac binary for testing
patches for source code are attached now...
patches for source code are attached now...
- Attachments
-
- patches.zip
- (3.22 KiB) Downloaded 129 times
Re: MacOsX Version issues
So actually it was the binary failing with the application bundle, which I had to go to the system logs to find out.
Turns out OS X passes an argument to applications using Carbon, which of course was seen as an invalid argument in the FO binary.
I just changed the source to ignore any -psn* arguments on OS X, so now it will run from finder.
Added this change and some comments to the patches I posted yesterday, reattached.
Turns out OS X passes an argument to applications using Carbon, which of course was seen as an invalid argument in the FO binary.
I just changed the source to ignore any -psn* arguments on OS X, so now it will run from finder.
Added this change and some comments to the patches I posted yesterday, reattached.
- Attachments
-
- FO-0.3.12-osx-patches.zip
- (3.52 KiB) Downloaded 110 times
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: MacOsX Version issues
Your patch for freeorion doesn't appear to contain the XCode project files. Can those be bundled up in a ready-to-use way and put in SVN as well?