|
![]() |
#1 |
Adept
Join Date: Jul 2007
Posts: 217
![]() |
Universal Binary?
Hello all,
just a quickie, I was wondering if a Universal binary for the OS X port might be available at some point? as a fairly portable game in the first place I would hope that not too much work would be involved. are there any plans? it's just that it's the only powerpc code running my this laptop atm, and it makes the little fans whirr ![]() cheers dave |
![]() |
![]() |
![]() |
#2 |
Swordsman
Join Date: Apr 2007
Location: Calgary
Age: 35
Posts: 327
Donated: $18.32
![]() |
No idea how to do a universal binary, but a couple compiles for mac can be picked up here for now:
http://www.ualberta.ca/~aphillip/angband.html (both intel and ppc)
__________________
Come play Metroplexity! Un, V MX H- D c-- f- PV s- d+ P++ M+ c-- S I++ So+ B+ ac- !GHB SQ RQ+ V+ |
![]() |
![]() |
![]() |
#3 | |
Veteran
Join Date: Apr 2007
Posts: 1,950
Donated: $40
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Rookie
Join Date: Jun 2007
Location: Bristol, UK
Posts: 23
![]() |
For a universal binary try command line option (for gcc) '-arch i386,ppc' or something like that.
If that doesn't work try creating a simple project in xcode, change the options so it creates a universal binary, then examine the console output when it compiles. Omni. |
![]() |
![]() |
![]() |
#5 |
Adept
Join Date: May 2007
Location: Paris, France
Posts: 171
Donated: 10 euro
![]() |
Just some quick notes concerning the Mac OS X build provided above (thanks, Big Al) :
The "About Angband" window is not up to date. I don't know if this window is specific to this platform. ![]() Otherwise, it seems PNG support for tiles is already in. Great. However, I found some bugs more or less related with tiles : interpolate seems to do nothing, I can see lines between floor tiles when font size is not 32, equippy chars won't be displayed when "double wide" (shouldn't it be '"width", btw?) is enabled, "Appearance" menu is sometimes not refreshed, display is not correctly refreshed when changing font size... Anyway I still can't manage to play correctly with tiles (just killed my first character at dlvl 2 by stepping on a trap I hadn't noticed which summoned Mughash), I'm switching back to ascii. At least I gave it another try ![]() It seems roguelike keys and messages are a bit messed up too but I didn't look too far. As this thread is not the most appropriate place, I'll submit those to the bug tracker (along with the others I find) when we have a more official Mac OS X build on which I can test again (was this one compiled from the exact same source revision as the Windows version?). PS : Just noticed something that might be nasty. As stated on another thread, under Mac OS X, the data directory containing the .raw files is put inside ~/Library/Preferences/Angband/ so both of my current installs of Angband (3.0.6 and 3.0.8) must read them from there. If some changes were made to the edit files between the 2 versions (and I suppose there are), may this produce some weird behaviour or at least not take some changes into account? Could the data directory be moved to Angband.app/Contents/Resources/lib/ with the rest, in the next Mac OS X build? The other shared directories should cause few troubles I suppose (bone, save, score) but I'm skeptic about this one. Last edited by Nolendil; July 11, 2007 at 00:09. |
![]() |
![]() |
![]() |
#6 | ||||
Swordsman
Join Date: Apr 2007
Location: Calgary
Age: 35
Posts: 327
Donated: $18.32
![]() |
Quote:
Quote:
Quote:
Quote:
Regarding universal binaries: I tried adding to the CFLAGS (in makefile.osx) "-arch ppc -arch i386" (which I'm told is the proper way to make a universal binary). Trying this, it compiled all the files fine until it got to main-crb.c, at which point it ran into problems (too advanced for me). Anyway, I think that any mac new enough to be intel-based is fast enough not to be noticeably hampered by running a PPC version, so just did a PPC version in the above build.
__________________
Come play Metroplexity! Un, V MX H- D c-- f- PV s- d+ P++ M+ c-- S I++ So+ B+ ac- !GHB SQ RQ+ V+ Last edited by Big Al; July 11, 2007 at 03:34. |
||||
![]() |
![]() |
![]() |
#7 | |
Adept
Join Date: Jul 2007
Posts: 217
![]() |
Quote:
![]() ![]() glad to see some action though ![]() now I just need my level 13 paladin to survive a bit longer... PS. oh, how about remembering the window positions for the subwindows? whenever I reload angband, it forgets them all |
|
![]() |
![]() |
![]() |
#8 | |
Adept
Join Date: May 2007
Location: Paris, France
Posts: 171
Donated: 10 euro
![]() |
Quote:
Ok, so I'll post proper bug reports when I have some time to have another look and test for longer. Weird, it works on my own laptop (native PPC though). Last edited by Nolendil; July 11, 2007 at 20:40. |
|
![]() |
![]() |
![]() |
#9 |
Swordsman
Join Date: Apr 2007
Location: Calgary
Age: 35
Posts: 327
Donated: $18.32
![]() |
On my intel-MacbookPro, it remembers window positions fine also.
__________________
Come play Metroplexity! Un, V MX H- D c-- f- PV s- d+ P++ M+ c-- S I++ So+ B+ ac- !GHB SQ RQ+ V+ |
![]() |
![]() |
![]() |
#10 | |
Veteran
Join Date: Apr 2007
Posts: 1,950
Donated: $40
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|