General Hannibal Posted January 10, 2011 Report Share Posted January 10, 2011 I've gone through the tedious compiling of 0 A.D. earlier. Do I have to go through it every single time I want to load the game and play, or is there an easier way of doing it (even if I have to use terminal commands)?I am no geek, and so any geeky help would be unintelligible to me, unfortunately, unless it's very specific (Step 1: "write exactly this;" Step 2: "Then write this" etc.)Thanks! Quote Link to comment Share on other sites More sharing options...
Kimball Posted January 10, 2011 Report Share Posted January 10, 2011 Thankfully, no. If you've built the game, theoretically you'll never have to do it again! Although I would absolutely recommend recompiling once Alpha 4 makes an appearance - there's some new stuff that you won't want to miss. Unless you create an application via Automator, you'll have to do it by command line each time. When you run the game, type this into terminal:cd /Users/.../0AD/binaries/system ./pyrogenesis_dbgIf you don't want to have to open Terminal each time, you can do what I've done (until of course we've released an official binary for OSX - don't worry, it's coming):Open AutomatorOn the left panel looking through the library of commands with the "Actions" tab selected, search for "Run Shell Script" and drag this into the work area on the right.The drop down on the top should already say "/bin/bash". If so, leave it alone.In the text area, paste the same two commands that you'd type into Terminal on separate lines, obviously replacing the "..." with wherever the path to your 0 A.D. folder is.Save this as an Application to wherever you want. Since your file paths are not relative, it doesn't matter where you save the file.As for recompiling, just do these commands in order each time (after updating SVN of course, which depends on your client):cd /Users/.../0AD/build/workspaces/./update-workspaces.shcd gccmake -j3Additionally, you don't need to edit your workflow application(s) each time you compile. Just wait for 'make' to finish and you can run your fresh build from the same apps. Quote Link to comment Share on other sites More sharing options...
General Hannibal Posted January 10, 2011 Author Report Share Posted January 10, 2011 Hmmm...I tried thecd /Users/.../0AD/binaries/system./pyrogenesis_dbgcommands (replacing, of course, the ellipsis with my directory) but it just said "No such file or directory." Any ideas? I even tried the command inside Terminal itself, with the same result. Quote Link to comment Share on other sites More sharing options...
General Hannibal Posted January 10, 2011 Author Report Share Posted January 10, 2011 My battery died on my laptop and so the computer shut down. It seems I'm going to have to rebuild the game and then launch it again. Not sure why, but none of the launch commands work upon opening Terminal. Quote Link to comment Share on other sites More sharing options...
Kimball Posted January 10, 2011 Report Share Posted January 10, 2011 Type "cd " and then just drag the system folder into the window. Should give you the correct path. Quote Link to comment Share on other sites More sharing options...
feneur Posted January 10, 2011 Report Share Posted January 10, 2011 My battery died on my laptop and so the computer shut down. It seems I'm going to have to rebuild the game and then launch it again. Not sure why, but none of the launch commands work upon opening Terminal.I don't know for sure as I'm not a Mac user, but the built files should still be there even if the computer shut down (as long as it didn't shut down while building). Quote Link to comment Share on other sites More sharing options...
General Hannibal Posted January 10, 2011 Author Report Share Posted January 10, 2011 I don't know for sure as I'm not a Mac user, but the built files should still be there even if the computer shut down (as long as it didn't shut down while building).No, it did have the built files but I didn't know how to launch it. But I do now. Quote Link to comment Share on other sites More sharing options...
brox Posted January 27, 2011 Report Share Posted January 27, 2011 sorry in advance for being off topic.I've been reading about this game for a while now and I was wondering if anyone had come up with a more specific "dummies guide" to building, compiling and running 0 ad on mac os x.I've tried a few different times but I just don't know enough about coding and the required programs to get any worthwhile resultsI have x11, xcode, macports, and xz utils but not the knowledge to compile and run all of these programs. And unfortunately I don't know enough jargon to get results using the posted directions from http://trac.wildfiregames.com/wiki/BuildInstructions#Unix.I know of a few other people who are interested in this game that I would like to help as well after I learn how to do it. I have some modding experience and general knowledge but not enough. I'm willing to be the test dummy if anyone has built and compiled the game already would like to help me write one. emails are appreciated, thanks! Quote Link to comment Share on other sites More sharing options...
:42: Posted February 3, 2011 Report Share Posted February 3, 2011 Hi there,I found a working OS X binary of Alpha 3 here: click.Requirements are:Snow Leopard 10.6.5 and 64BitRun's quite smooth and is playable!Cheers:42: Quote Link to comment Share on other sites More sharing options...
Kimball Posted February 3, 2011 Report Share Posted February 3, 2011 Works for me. Quote Link to comment Share on other sites More sharing options...
Thorfinn the Shallow Minded Posted February 4, 2011 Report Share Posted February 4, 2011 (edited) Me too. By the way Kimball, does the infantry demo function for Mac OSX? Edited February 4, 2011 by Thorfinn the Shallow Minded Quote Link to comment Share on other sites More sharing options...
Knitter Posted February 6, 2011 Report Share Posted February 6, 2011 Another OS X user here After checking out the current trunk and compiling 0AD, with some warnings, too many to list here , I get a compiled project but the current files don't allow me to run the game.I followed the instructions on the wiki but the two files that are supposed to be used are no correct OS X files, both test.app and pyrogenesis.app are empty directories.Any suggestion on where to look for the culprit?Regards,Knitter Quote Link to comment Share on other sites More sharing options...
Thorfinn the Shallow Minded Posted February 7, 2011 Report Share Posted February 7, 2011 (edited) 1 Edited March 25, 2011 by Thorfinn the Shallow Minded 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.