Saturday, August 28, 2010

Garry's Mod for Mac, Subversion(SVN) Tutorial.

Difficulty Level: Super Easy

I got around to thinking about my, soon to be, Garry's Mod for Mac installation, and I saw one potential hurdle that I would eventually have to take on. That hurdle will be all the addons that employ subversion in order to keep them up to date. After a few fruitless searches, I discovered I would either have to purchase a subversion client or figure out a command line interface. Being that I am very probably of Hebrew descent and very certainly raised by dutch people the former option is right out.

Fortunately Snow Leopard has made using command line subversion incredibly easy by including version 1.4 of SVN in it's installation. That saves me trying to discern which piece of free software to install.

So here we go:

I believe the trickiest part to adding your addons may just be finding the Garry's Mod addon directory.
Though I do not have Garry's Mod installed on my Mac yet (as it has not been released yet) I am very certain it is going to exist here:

/(Harddisk)/Users/(Username)/Library/Application Support/Steam/SteamApps/(SteamUsername)/garrysmod/garrysmod/addons


You will definitely have to navigate to that directory with 'Termnial', the console application included with OS X.

Once there, you can begin adding your svn directories.

I have discovered that you do not have to create directories for each addon like Tortoise for windows would have you do. Svn will create them on it's own. Though you may want to rename them after they have been set up.

To install The Phoenix Model pack you would simply enter:

svn checkout https://phoenix-storms.svn.sourceforge.net/svnroot/phoenix-storms

inside the addons folder.
This will create a folder called 'phoenix-storms', which I later renamed to 'phx3', and populate that folder with the remote contents from the sourceforge server.

To check for and install the updates the procedure is just as simple. Use Terminal to navigate to the addons directory and to update the 'phoenix-storms' directory simply navigate into that directory ('cd phoenix-storms', or in my case 'cd phx3') and enter:

svn update

Svn will at least output the revision the addon is at if it does not have any updates.

Easy as pie, perhaps as yummy.

So I hope you do not bother searching for other answers. This should be all you need for setting up all your Garry's Mod svn addons. Mind you if you do come up with something simpler(unlikely), I would like to hear about it.

See you on Lildood's Server! (R.I.P. RAWR build)

Ooo here are some links to must have gmod addon svns, imho.

PHX3 - https://phoenix-storms.svn.sourceforge.net/svnroot/phoenix-storms
PlayX - http://playx.googlecode.com/svn/branches/latest-stable/PlayX/
Wiremod - https://wiremod.svn.sourceforge.net/svnroot/wiremod/trunk/wire/
Wiremod Model Pack - https://wiremod.svn.sourceforge.net/svnroot/wiremod/trunk/wire model pack 1/
Wire Extras - http://www.wiremod.com/forum/wiremod-addons/5216-unofficial-wire-extras-svn-uwsvn.html
Advanced Duplicator - https://wiremod.svn.sourceforge.net/svnroot/wiremod/trunk/Adv Duplicator/
Depth Hud - http://depthhudinfo.googlecode.com/svn/trunk/

Space Build (SBEP) and Gcombat are fun too but I do not use them as much.
Also make sure you use weight tool if you are building, I do not know what I would do without it.
Enjoy.

xdaveyx