oo|ogros.org

#ogros @ irc.gamesurge.net

  • Increase font size
  • Default font size
  • Decrease font size

SVN-MAC

Getting the SVN version for OSX takes some time. If you do it for the first time, expect the whole process to take at least 1,5 hours as 1 GB of data has to be downloaded and the installation of Xcode as well as the Compiling/Creating th App takes a while. This Guide is for 10.4 and above and Intel ONLY!

 

How to get the SVN version (for the first time):

1. Grab your OS X CD and install XCode. ("XCodeTools.mpkg", usually under "optional installs" or "extras" on the OS X disk or the "Installation Disc 1" your Mac came with). Update it after installation to get the newest version you can have. Installing and updating may take quite a while, like 25 Minutes.

2. While this installs, download and install the latest release of RapidSVN (http://rapidsvn.tigris.org/). It's the only free client that is not a complete pain-in-the-ass though not much better (a list of some clients for OS X can be found here, "Versions" and "Cornerstone" are the best). Open it.

3. Ctrl-click (= right click) on Bookmark / Lesezeichen and choose Check out new working copy / Neue Arbeitskopie auschecken.

4. In the new window that appears, enter as URL https://sauerbraten.svn.sourceforge.net/svnroot/sauerbraten

5. In the same window choose the folder you want the source-files of Sauerbraten ("local working copy") to be in, leave everything else as is and hit OK. This will now take a while as 1GB of data have to be transferred.

6. OS X 10.6 (Snow Leopard) only - if you are on 10.4 or 10.5 go on with step 7! On 10.6 you'll have to replace a file within the XCodeProj-file. Please follow these steps EXACTLY. Download this zipped file: project.pbxproj_for_10.6.zip. Look for your local working copy in Finder. Go to /src/xcode/sauerbraten.xcodeproj and ctrl-click on that file (=right click). Choose "Show Package Contents" / Paketinhalt zeigen. Unpack the file you downloaded and replace the file project.pbxproj with it. Close the Finder window.

7. Go to your local working copy and double click on the "sauerbraten.xcodeproj" in your local copy which should be located at LocalCopyPath/src/xcode/sauerbraten.xcodeproj. XCode pops up. In the menu under Project, make sure that:

- Set Active Target is sauerbraten
- Set Active Architechture is i386
OS X 10.6 (Snow Leopard) only: Set Active SDK is 10.5
- Set Active Build Configuration is Release-Deployment
- Set Active  Executable is sauerbraten

After that hit Build>Build from the menu. If you should get asked where the Build Products should be placed to, choose something simple outside of the local working copy, maybe your desktop. The Build process will likely take another 20-30 minutes. Once its done you will find the full SVN Sauerbraten app on your desktop in build/Release-Deployment/sauerbraten.dmg. Double click on the .dmg so it mounts and drag and drop the app where you want to have it, but don't overwrite the your non-SVN version with it - you would really regret that! Keep it somewhere seperate, so you know its the SVN version. Maybe best rename it.

NOTE: Sauerbraten is under constant development. The SVN version of Sauerbraten that you've just created will usually only work for today without creating problems or missing features. You will have to Update your working copy (see below) and Build a new Sauerbraten app (20-30 Minutes) each time you want to play it online again.

 

How to update the SVN version (you'll have to do that every time right before you want to play it):

1. Start RapidSVN.

2. Click on your Bookmark for your Sauerbraten on the left. Click on the Update icon (blue arrow pointing downwards). If The Update option is unavailable/grey, then you have to hit the triangle right next to your bookmark for some magic reason so you can hit the update Icon...

3. Perform step 7 from above (= compile and postprocess the app, takes approx 20 minutes).

 

Mumble

Stats

Today54
Yesterday237
Week619
Month1721
All27499