Svn
From GMod Wiki
Contents |
GMod SVN Updater
GMod SVN Updater is a program which was made for people who want to update their addons regularly and easily. It comes with a built-in database of SVNs, the user just has to choose the ones he would like to download. The user can also add their own SVNs to the database.
EasySVN
With EasySVN, you don't have to download anything. You only need a web browser and Java. EasySVN offers a choice between the SVN protocol and normal exporting. This means that addons downloaded via EasySVN with the SVN protocol option selected can be used with TortoiseSVN.
TortoiseSVN
On Videos
- How to use SVN - The latest on how to download and use Tortoise SVN to download Garry's Mod Addons etc.
Written Version
Getting it installed
- Download TortoiseSVN. (Choose the correct INSTALLER - NOT a GPG signature)
- Install it
- Restart your computer when the installation program asks you to.
Configuring and downloading contents with SVN
- Make a new folder somewhere (somewhere you can remember where it is, because you will be going there a lot). Name that folder something like "SVN Addons". This is where you will keep all your SVN'd addons. This folder can be anywhere EXCEPT inside your Steam or Garrysmod folders.
- Make a shortcut to that place and put it on your desktop for quicker access.
- Go here for SVN links to some addons and here for others, if you don't already have an SVN link of what you want to download. There is also a short list of some of the SVN addons on the original facepunch thread.
- The links look like normal web addresses .
- Make a new folder inside the folder you created in the first step of this section.
- Name that folder something so that you will remember what's in it (for PHX, name it PHX or PHX3 or something).
- Right click the folder.
- Click SVN Checkout.
- Paste the link you copied into "URL of repository" text box.
- Click OK
- Some addons require a password and username. In many cases, they will both be either "anonsvn" or "anon" or you find them on the representing websites where you got the link from.
- TortoiseSVN will now be downloading the addon.
Getting the downloaded addons working with Garry's Mod
Now comes the real pain in the ass. Exporting.
You must now right click each SVN'd addon and click TortoiseSVN -> Export, and export them into the Garrysmod/addons folder. NOTE Some addons like Wire and Stargate have subfolders, where you have to do the same on.
You might ask why you should make the folders OUTSIDE of the addons folder and not just place them directly in the addons folder and skip the Exporting?
This is because when you download an addon using SVN, it makes invsible files that contain information that SVN uses (for example for knowing which files you don't yet have when you Update an addon). These files are very small, but if you put them all together, they DOUBLE the size of the addon in question.
And you know that the bigger your addons folder is, the more Gmod laggs and the longer it has to load. (Note: This wasn't proved yet)
So, if you do an Export on SVN'd folders, SVN will copy that folder for you and clean it of the invisible folders, thus making your Gmod non-slowed down.
Updating an addon
- To update, right click an SVN'd folder and click on Update.