Pages: [1]   Go Down
Print
Author Topic: Auto Svn  (Read 2377 times)
0 Members and 1 Guest are viewing this topic.
sleepy
Founder
Global Administrator
Über Unlife
*****

Cookies: 35
Offline Offline

Steam Friends name: sleepy_23
Posts: 1,856



View Profile WWW
« on: May 31, 2008, 03:40:20 PM »

The following tutorial will take you though a simple way of running SVN's automatically for Garry's Mod.

First of all you need to download the program here: Tazzanator AutoSVN

First open the settings.ini and put your details in like the example below:
Code:
[settings]
addondir =c:/program.....(ect)
modini =http://tezzanator.net/mods.ini
silent =True
; Silent Mode, This will make th app do everything on
; It's own, For this to work you need to use a custom
; mods.ini to set "checkedbydefault" to true.
uselocalmods =True
; You can use this to use the mods ini in the program directory


Then open the mods.ini file you can edit this how ever you want I will post suggested ones which I use.

Code:
[header]
totalmods = 3
latestbuild = 101

[1]
name = "phx3"
svnurl = "https://phoenix-storms.svn.sourceforge.net/svnroot/phoenix-storms"
internalfolder = "phx3"
checkedbydefault = true
type = svn

[2]
name = "Wiremod"
svnurl = "svn://wiremod.com/wiremod"
internalfolder = ""
checkedbydefault = true
auth = true
username = anonsvn
password = anonsvn
type = svn

[3]
name = "Achievements"
svnurl = "http://gmodachievements.googlecode.com/svn/trunk/"
internalfolder = "Achievements"
checkedbydefault = true
auth = true
username =
password =
type = svn

Tip: If you place a shortcut to "Auto SVN Updater.exe" in the "startup" folder on your start menu. This makes the automatic downloading of svn happen every time you log onto windows


Adding own mods

The layout for a mod is this:
Code:
[1]
name = "Wiremod"
svnurl = "svn://wiremod.com/wiremod"
internalfolder = ""
checkedbydefault = true
auth = true
username = anonsvn
password = anonsvn
type = svn

What does all this mean?

[1]: This is a id number make sure this is unique and usually in order

Name: This can be what ever you want - Useful is always better

svnurl: This is the url to the svn server

internalfolder: This defines where the mod is put (but if the mod it self is in multi folders put " " then it will put in root addons folder.

checkedbydefault: true/false, This means if it downloads automatically or not. This can stop a mod if you no longer like it.

auth: true/false  this is weather u need authentication to the server or not.

username: obviously the username to the svn if needed

password: obviously the password to the svn if needed

type: cant think of other types i guess html could be one but leave it on svn just to be sure.

Any questions please ask below
« Last Edit: May 31, 2008, 05:00:59 PM by sleepy » Logged

Dotmister
Co-Founder (Closet Miley Cyrus fan)
Global Administrator
Unlife
*****

Cookies: 33
Offline Offline

Steam Friends name: theindie
Posts: 859



View Profile WWW
« Reply #1 on: June 14, 2008, 08:32:07 AM »

Type could be CVS or Secure SVN.
Logged

Adam Casey
In your accounts stealing your signatures.
Quote
22:34 - [XURAS] thingshappen: Miley Cyrus is like the less female version of Justin Bieber
sleepy
Founder
Global Administrator
Über Unlife
*****

Cookies: 35
Offline Offline

Steam Friends name: sleepy_23
Posts: 1,856



View Profile WWW
« Reply #2 on: June 14, 2008, 01:02:16 PM »

fancy giving a explication for CVS since i can kinda guess what secure svn is... but not cvs vhappy
Logged

coomdoom
Mingebag
*

Cookies: 0
Offline Offline

Steam Friends name: coomdoom
Posts: 8


View Profile
« Reply #3 on: January 13, 2009, 08:57:55 PM »

The link at the top has an 500 Internal Server Error, is there another mirror? I need to get a copy of this ASAP.
Logged
PikachuX1000
Über Unlife
*****

Cookies: 6
Offline Offline

Steam Friends name: PX1K
Posts: 1,884


PX1K - a pose for every occasion.


View Profile
« Reply #4 on: January 13, 2009, 09:30:06 PM »

Before anyone dares, this may be a bump, but it's true.

I'll admit it, I want auto svn now, GIMMIE.

(google is your friend)
Logged



My furry code:
FRM4 A- C-- D-- H+ M- P++ R- T++ W Z Sm RLCT a- c+++ d e- f- h+ i+++ j* p sm
Figure it out.
Dotmister
Co-Founder (Closet Miley Cyrus fan)
Global Administrator
Unlife
*****

Cookies: 33
Offline Offline

Steam Friends name: theindie
Posts: 859



View Profile WWW
« Reply #5 on: January 17, 2009, 09:24:54 PM »

Erm, now this is bumped might aswell reply to sleepy.

CVS is a less useful form of Version control. It doesn't support merging of files as well as SVN, You can't rename or move files.

It has a much larger presence in the commercial development area. CVS has much better intergration into development IDE's such as Dev-C++ and Visual C++. For obvious reasons, a closed program can't keep track of moved or renamed files. It also doesn't have much support for non-ASCII characters
Logged

Adam Casey
In your accounts stealing your signatures.
Quote
22:34 - [XURAS] thingshappen: Miley Cyrus is like the less female version of Justin Bieber
Chaotic Cow
Addicted
****

Cookies: 0
Offline Offline

Steam Friends name: Chaotic Cow
Posts: 336


Crazy Ass Cow


View Profile WWW
« Reply #6 on: January 24, 2009, 05:06:32 AM »

Why can't there just be a program...Sigh.
Logged

sleepy
Founder
Global Administrator
Über Unlife
*****

Cookies: 35
Offline Offline

Steam Friends name: sleepy_23
Posts: 1,856



View Profile WWW
« Reply #7 on: January 25, 2009, 11:32:10 AM »

Well I discovered a new fast way... go into addons click CTL + A (e.g. select all ) right click on one of the icons and click update SVN and it will update them all!! (Even though gm_botmap_v3 svn kinda fails so remb to remove the svn before doing this method!!)
Logged

Alfie
Über Unlife
*****

Cookies: 14
Offline Offline

Steam Friends name: ALFIERULZ
Posts: 1,238


*Insert robot face here*


View Profile
« Reply #8 on: January 25, 2009, 05:52:51 PM »

lol sleepy, that's the way I've always done it.
Logged



sleepy
Founder
Global Administrator
Über Unlife
*****

Cookies: 35
Offline Offline

Steam Friends name: sleepy_23
Posts: 1,856



View Profile WWW
« Reply #9 on: January 26, 2009, 01:02:55 AM »

why didn't u tell everyone then vhappy
Logged

Alfie
Über Unlife
*****

Cookies: 14
Offline Offline

Steam Friends name: ALFIERULZ
Posts: 1,238


*Insert robot face here*


View Profile
« Reply #10 on: January 26, 2009, 02:57:21 AM »

I like to see them suffer laugh
Logged



Chaotic Cow
Addicted
****

Cookies: 0
Offline Offline

Steam Friends name: Chaotic Cow
Posts: 336


Crazy Ass Cow


View Profile WWW
« Reply #11 on: January 30, 2009, 04:52:55 PM »

If I was to try this.....*Saves a copy of my addons folder*
Logged

sleepy
Founder
Global Administrator
Über Unlife
*****

Cookies: 35
Offline Offline

Steam Friends name: sleepy_23
Posts: 1,856



View Profile WWW
« Reply #12 on: July 08, 2009, 11:25:59 AM »

New method:

Code:
@ECHO OFF
g:
cd Game Files\Steam\steamapps\sleepy_23\garrysmod\garrysmod
cd addons

ECHO Updating Addons
TortoiseProc.exe /command:update /path:"Adv Duplicator*PC Mod*PHX*rp_disorientation*unoffical wiremod addons*Wire*wire model pack 1" /closeonend:2
ECHO Done...

cd..
cd gamemodes

ECHO Updating Gamemodes
TortoiseProc.exe /command:update /path:"DarkRP" /closeonend:2
ECHO Done...

You will need to change where your steam is since mine is on a separate drive and also for any additional or any mods you don't have just put "*" then the folder name

Warning:This Does not update folders that have not got a svn connection you must update it least once then this batch will do a mass update. This can also be put in startup in start menu and it will auto run on startup. Any questions? Ask me!
Logged

Pages: [1]   Go Up
Print
Jump to: