mtkaz Posted May 24, 2011 Report Share Posted May 24, 2011 Hi,I've compiled Alpha 5 for Mac OS X (10.6) and put it on my site. You don't need Xcode, MacPorts or so. All-in-one zipped file only.URL: http://ciderhouse.opal.ne.jp/wp/english/zeroad Quote Link to comment Share on other sites More sharing options...
General Octavian Posted May 24, 2011 Report Share Posted May 24, 2011 THANK YOU SO MUCH! ITS AMAZING Quote Link to comment Share on other sites More sharing options...
Thorfinn the Shallow Minded Posted May 24, 2011 Report Share Posted May 24, 2011 Thank you! I really appreciate it! Quote Link to comment Share on other sites More sharing options...
k776 Posted May 24, 2011 Report Share Posted May 24, 2011 Nice. I'm a Mac user, and 0 A.D. team member. Would you mind sharing your process for packaging the game so that, if I need to, I'll be able to do it for others.Specifically, how did you get it to work with both 32bit and 64bit machines, how did you solve the hard coded system library locations? Did you bundle them in the package? Quote Link to comment Share on other sites More sharing options...
mtkaz Posted May 25, 2011 Author Report Share Posted May 25, 2011 Nice. I'm a Mac user, and 0 A.D. team member. Would you mind sharing your process for packaging the game so that, if I need to, I'll be able to do it for others.Specifically, how did you get it to work with both 32bit and 64bit machines, how did you solve the hard coded system library locations? Did you bundle them in the package?Oh, I forgot to mention it was 64 bit binaries. Intel Core Duo users can't use it. But my dylibs built by MacPorts contain 32/64-bit binaries. You can use them for 32-bit pyrogenesis.As for packaging, I patched pyrogenesis and dylibs using "install_name_tool" command. "otool -D" command tells us library's ID. I changed it like:install_name_tool -id @executable_path/libSDL-1.2.0.dylib libSDL-1.2.0.dylibWe can confirm what dylib is linked using "otool -L". I modified them like:install_name_tool -change /opt/local/lib/libSDL-1.2.0.dylib @executable_path/libSDL-1.2.0.dylib pyrogenesisOf course, the better way is changing make files. Quote Link to comment Share on other sites More sharing options...
k776 Posted May 25, 2011 Report Share Posted May 25, 2011 Interesting. I thought otool might have had to be used in this case.Would you be interested in helping to make 0 A.D. a first class app for Mac?If you'd like to help out, would you like to try edit the makefiles, or creating a script that automates the otool changes.Maybe the end goal is a 'make mac_package' command that create a nice app bundle?Mac is one of the few packages we don't have at the moment, so it'd be great to have these, as you've just done with Alpha 5.If possible though, the binary should work on Leopard or Snow Leopard, and on 32bit or 64bit. That should cover most Mac users. Quote Link to comment Share on other sites More sharing options...
mtkaz Posted May 28, 2011 Author Report Share Posted May 28, 2011 I was looking into the build system of 0 A.D. gmake, cmake, premake… come on… I don't know I can do that but I will try. The first goal is 32-bit binaries and tailoring the makefiles for OS X.I will ask a question or inform you at Development & Technical Discussion board (it looks better). Quote Link to comment Share on other sites More sharing options...
Pureon Posted May 28, 2011 Report Share Posted May 28, 2011 Thanks mtkaz, very helpful!Anybody else unable to hear game sounds on their Mac? If yes, is there any way to fix this (like update OpenAL)? Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted May 28, 2011 Report Share Posted May 28, 2011 The game ought to say "Audio has been disabled, due to problems with OpenAL on OS X." when you launch it, which partially explains it . (The relevant problem is #685 which needs to be investigated and fixed somehow.) Quote Link to comment Share on other sites More sharing options...
Pureon Posted May 28, 2011 Report Share Posted May 28, 2011 That's what I thought, thanks for clarifying. I'm not actually the one experiencing this problem, it's our Sound Effects team who all primarily use Macs. Quote Link to comment Share on other sites More sharing options...
feneur Posted May 28, 2011 Report Share Posted May 28, 2011 That's what I thought, thanks for clarifying. I'm not actually the one experiencing this problem, it's our Sound Effects team who all primarily use Macs. What a sad coincidence. Or not necessarily a coincidence since it seems a lot of sound people use Macs, but still, a bit ironical at least that the people who'd need sound the most don't get it at the moment. Quote Link to comment Share on other sites More sharing options...
Sebovzeoueb Posted May 31, 2011 Report Share Posted May 31, 2011 (edited) Thank you so much for making a mac version, I have been wanting to try this game out for a while. Unfortunately the link doesn't work for me. QUOTE ForbiddenYou don't have permission to access /wp/english/zeroadon this server. Would be most grateful if this can be fixed.EDIT: I found it here: http://mac.softpedia.com/get/Games/0-A-D.shtmlThis file works fine for me. A bunch of errors appear upon launching a game, but then they go away, and everything seems to work OK (apart from the sound, as mentioned above). Quite laggy for me, but my computer generally seems a bit slow at the moment, so maybe not the game's fault. I have a 17" MacBook Pro 2.93 GHz Core 2 Duo with 8 GB RAM. Tested 0 A.D. with the NVIDIA GeForce 9400M graphics card (250MB), haven't yet tried with the more powerful 9600M GT (512MB). This is the first time I have been able to play this game properly. It is coming along nicely. Maybe this binary could be put up on the main site for download, as I have to say that being told I have to compile the game is quite intimidating. Edited June 1, 2011 by Sebovzeoueb Quote Link to comment Share on other sites More sharing options...
mtkaz Posted June 3, 2011 Author Report Share Posted June 3, 2011 Thank you so much for making a mac version, I have been wanting to try this game out for a while. Unfortunately the link doesn't work for me. QUOTE ForbiddenYou don't have permission to access /wp/english/zeroadon this server. Would be most grateful if this can be fixed.EDIT: I found it here: http://mac.softpedia.com/get/Games/0-A-D.shtmlThis file works fine for me. A bunch of errors appear upon launching a game, but then they go away, and everything seems to work OK (apart from the sound, as mentioned above). Quite laggy for me, but my computer generally seems a bit slow at the moment, so maybe not the game's fault. I have a 17" MacBook Pro 2.93 GHz Core 2 Duo with 8 GB RAM. Tested 0 A.D. with the NVIDIA GeForce 9400M graphics card (250MB), haven't yet tried with the more powerful 9600M GT (512MB). This is the first time I have been able to play this game properly. It is coming along nicely. Maybe this binary could be put up on the main site for download, as I have to say that being told I have to compile the game is quite intimidating.Sorry for inconvenience but I needed to deny the access from some domains which spammers used.Your Mac is more gorgeous than mine I don't care the speed of game for now. Just a alpha-stage. Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted June 3, 2011 Report Share Posted June 3, 2011 This file works fine for me. A bunch of errors appear upon launching a game, but then they go away, and everything seems to work OK (apart from the sound, as mentioned above). Quite laggy for me, but my computer generally seems a bit slow at the moment, so maybe not the game's fault. I have a 17" MacBook Pro 2.93 GHz Core 2 Duo with 8 GB RAM. Tested 0 A.D. with the NVIDIA GeForce 9400M graphics card (250MB), haven't yet tried with the more powerful 9600M GT (512MB). This is the first time I have been able to play this game properly. It is coming along nicely. Maybe this binary could be put up on the main site for download, as I have to say that being told I have to compile the game is quite intimidating. Those are good specs for a laptop. Try running the game in "sandbox" mode by unassigning all the AI players on the selected map (try Median Oasis). If the game runs fine, then you know it's the AI and pathfinding that causes the lag. Both are not yet optimized. Quote Link to comment Share on other sites More sharing options...
Sebovzeoueb Posted June 3, 2011 Report Share Posted June 3, 2011 The game does run much better in "sandbox mode". I managed to make it to 500 population without too much trouble. Turning off water reflections significantly improves performance for me. As soon as I select a large group of units and tell them to move somewhere however, lag ensues. I guess this is probably the pathfinding.This game is going to be pretty epic, I think. Quote Link to comment Share on other sites More sharing options...
theShadow Posted June 10, 2011 Report Share Posted June 10, 2011 HeyIs there any reason this binary cannot be used as the "official" OSX build? It would be nice if the download link on the main page linked to this instead of the compile instructions page Quote Link to comment Share on other sites More sharing options...
mtkaz Posted June 13, 2011 Author Report Share Posted June 13, 2011 I replaced the file with 32-bit binaries (same as above URL). It works on both Leopard and Snow Leopard.Please check it up on your system.If it's works I will upload make-files to build 0 A.D. alpha 5. Quote Link to comment Share on other sites More sharing options...
Sebovzeoueb Posted June 13, 2011 Report Share Posted June 13, 2011 (edited) Forbidden You don't have permission to access /archives/alpha5-32bit.zip on this server. Apache/1.3.42 Server at ciderhouse.opal.ne.jp Port 80I can now go to the page in the link, but the actual file is still forbidden for me. Edited June 13, 2011 by Sebovzeoueb Quote Link to comment Share on other sites More sharing options...
raymond Posted June 13, 2011 Report Share Posted June 13, 2011 (edited) @0ad developers:Please post this build to http://wildfiregames...age.php?p=14433 that everyone can find it easily.Or link to http://mac.softpedia...mes/0-A-D.shtmlso I fully agree theShadow @mtkaz:Please help the 0ad developer and be the Mac OS X 0ad developer:http://trac.wildfire...atestReleaseMacmaybee make the howto for compiling 0ad better:http://trac.wildfire...atestReleaseMachttp://trac.wildfire...nstructions#OSX Edited June 13, 2011 by raymond Quote Link to comment Share on other sites More sharing options...
theShadow Posted June 16, 2011 Report Share Posted June 16, 2011 @raymond: mtkaz said he would give the makefile to the developers, allowing the devs to then create an official build themselves, and hopefully learn a trick or 2 for compiling future builds, although a link to here would be nice, eventually it will be unnecessary. Quote Link to comment Share on other sites More sharing options...
kissofdeath Posted June 21, 2011 Report Share Posted June 21, 2011 Any progress on fixing the audio problem in Mac?I use a Mac, so I can try to help in someway. Quote Link to comment Share on other sites More sharing options...
theShadow Posted June 22, 2011 Report Share Posted June 22, 2011 make atlas work on mac too, while you're at it Quote Link to comment Share on other sites More sharing options...
janwas Posted June 22, 2011 Report Share Posted June 22, 2011 There's been no work done on the audio front, nor Atlas. Help would be very welcome! Quote Link to comment Share on other sites More sharing options...
theShadow Posted June 22, 2011 Report Share Posted June 22, 2011 I am not a programmer, however I would be willing to lend a hand in any way I can.I am currently working on building 0ad from source, and if there is anything I can do that would be usefull, let me know. Quote Link to comment Share on other sites More sharing options...
janwas Posted June 23, 2011 Report Share Posted June 23, 2011 Thanks for your offer I think some programming and debugging experience will be needed to fix the runtime problems.However, attempting to build from source is a great start! If you post the resulting errors here, I can have a look and might be able to fix minor issues within our code. (I can't help with issues pertaining to system libraries, though, especially the SpiderMonkey JS engine.) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.