[QUOTE=VitasLoWang;14461615]also it seems there is no export command but I also found a way how to do it with xcopy ;)[/QUOTE]
Yeah I think I might have a go at SilkSVN, I just want to make a scheduled task, and Tortoise doesn't come with any command line stuff like you said.
carefull, it's slik not silk ;)
So it is...
Ah, thanks. This helped me a lot with my garrys mod :D
Awesome!
Thanks! i never knew the export trick! time to update my phx 3.
so i downloaded the wire and exported into my gmod folder. it seems to not work. i notice something about extra folders i need to add. what is the deal?
Check inside the wiremod folder, there is a chance you never removed each seperate module of wire. There should be the three modules, Wire, Wier Modl Pack 1 and Adv Duplicator. They go into addons seperatly.
i did that correctly as well.
Okay that's weird, post what comes up in your servers console, just so we can see if wire initializes or not. Avoid posting things that may harm security.
Export <3
every folder in addons has to have info.txt file directly in it, otherwise gmod ignores it. Check if you don't have it in some subfolder. In case of wire, you should have Adv Duplicator, wire and wire model pack 1 folders directly in addons. If it still does not work, make a screenshot right after loading a map n a game - there should be some error messages in the upper right corner of the screen which may shed some light on it.
[QUOTE=VitasLoWang;14589917]every folder in addons has to have info.txt file directly in it, otherwise gmod ignores it. Check if you don't have it in some subfolder. In case of wire, you should have Adv Duplicator, wire and wire model pack 1 folders directly in addons. If it still does not work, make a screenshot right after loading a map n a game - there should be some error messages in the upper right corner of the screen which may shed some light on it.[/QUOTE]
This is all very obvious. Is there a reason as to why you posted it?
oh really is it? Did anybody advise to check the errors on the screen? It's much faster to just look there instead of trying to find something in the kilobytes of console output. I am just trying to help him Mr. all knowing ;-)
hey I'm gonna go bump my SVN thread cos it's useful like this one
So, I've been working on my own SVN Batch file. Using Slik SVN. So far I've got the updating and the exporting to work, but the export only runs on the first try. And I've also managed to create an infinite loop at once point :v:
[QUOTE=VitasLoWang;14592925]oh really is it? Did anybody advise to check the errors on the screen? It's much faster to just look there instead of trying to find something in the kilobytes of console output. I am just trying to help him Mr. all knowing ;-)[/QUOTE]
I didn't see you were trying to help someone because you didn't use Quote. But never mind.
Oh and, Hello people. I'm back!! Not that anyone cares, but I've been away skiing for 4 days :D
[QUOTE=Divran;14672750]Oh and, Hello people. I'm back!! Not that anyone cares, but I've been away skiing for 4 days :D[/QUOTE]
Any broken legs?
[QUOTE=hexpunK;14674117]Any broken legs?[/QUOTE]
Nope. But two of my friends have because of skiing :S
Is there a downside to downloading from SVN straight to my addons folder? It's what I do.
[QUOTE=steveya;14688111]Is there a downside to downloading from SVN straight to my addons folder? It's what I do.[/QUOTE]
Yes there is. Read the tutorial and you will know what the downside is. (Read step 13)
Edit: OH MY GOD people, we are on page 3!
I'll be honest, I've never noticed a severe speed decrease just checking out into addons, and this was before I bought an extra 2Gig of RAM, I only noticed a small inprovement exporting.
[QUOTE=Divran;14699216]Yes there is. Read the tutorial and you will know what the downside is. (Read step 13)
Edit: OH MY GOD people, we are on page 3![/QUOTE]
Thats why my gmod was nearly crashing on multiplayer. I forgot to copy the folders over. And phx kept giving me errors when downloading -.-
I prefer doing it the lazy way though :P I just got to remember to copy those folders! And I just read the rest. I should learn and read through tutorials even if I think I know what to do.
[QUOTE=hexpunK;14605101]So, I've been working on my own SVN Batch file. Using Slik SVN. So far I've got the updating and the exporting to work, but the export only runs on the first try. And I've also managed to create an infinite loop at once point :v:[/QUOTE]
yes this is really stupid behaviour with that export! But it seems that it is how it was meant to be in SVN :-\ I am asking on experts-exchange.com if they know some workaround or if they are really sure it cannot work better then this, but so far no answer :-] I have a folder with svn addons and a bat file in it with commands like this:
cd "LS3\Life Support 3"
svn update
if errorlevel 0 xcopy * "k:\Steam\SteamApps\vitaslowang\garrysmod\garrysmod\addons\Life Support 3\" /s /d /y
cd..
cd..
cd "LSE3\Life Support Entities"
svn update
cd..
xcopy * k:\Steam\SteamApps\vitaslowang\garrysmod\garrysmod\addons\ /s /d /y
cd..
...and then the same for other addons...
I will not post it here whole, but I have these lines about 8 times in that file for every svn updated addon. It updates the addon and then copies everything new into your addons except .svn folders and files since they are hidden thus not copied by xcopy without a parameter /h. The only problem is, that it only updates and adds into your addons folder but it does not delete the files if they were deleted by svn update, so you may have duplicate spawn lists for SBMP for example. I hoped it can be done simple, but it will need some kind of a script which will read svn update output and do the exporting one by one file while deleting those with D:
nice video tutorial Divran and a great tip with that right click export, but I did not really get why did you update the PHX3 and then cancelled it :-]
[QUOTE=VitasLoWang;14714340]yes this is really stupid behaviour with that export! But it seems that it is how it was meant to be in SVN :-\ I am asking on experts-exchange.com if they know some workaround or if they are really sure it cannot work better then this, but so far no answer :-] I have a folder with svn addons and a bat file in it with commands like this:
cd "LS3\Life Support 3"
svn update
if errorlevel 0 xcopy * "k:\Steam\SteamApps\vitaslowang\garrysmod\garrysmod\addons\Life Support 3\" /s /d /y
cd..
cd..
cd "LSE3\Life Support Entities"
svn update
cd..
xcopy * k:\Steam\SteamApps\vitaslowang\garrysmod\garrysmod\addons\ /s /d /y
cd..
...and then the same for other addons...
I will not post it here whole, but I have these lines about 8 times in that file for every svn updated addon. It updates the addon and then copies everything new into your addons except .svn folders and files since they are hidden thus not copied by xcopy without a parameter /h. The only problem is, that it only updates and adds into your addons folder but it does not delete the files if they were deleted by svn update, so you may have duplicate spawn lists for SBMP for example. I hoped it can be done simple, but it will need some kind of a script which will read svn update output and do the exporting one by one file while deleting those with D:[/QUOTE]
Mine is a bit more of a mess, unless you feel like reading it. I'll post a smallish extract anyway, I need to get the switches wight for the export function though, they aren't quite right...
[code]
//Piece of update code
echo Updating Adv Duplicator
svn checkout "https://svn.wiremod.com/svn/wiremod/Adv Duplicator/" "C:\Users\Jordan\Documents\Garrysmod Addon SVN\Adv Duplicator" --username anonsvn --password anonsvn
//Piece of choice code - This allows me to export what I want, not very well mind you
echo Ready to Export
echo Export? (Core=1/All=2/Extras=3/N=4)
choice /n /c:1234
if errorlevel==4 goto end
if errorlevel==3 goto Q1
if errorlevel==2 goto All
if errorlevel==1 goto exportCore
//Piece of export code
echo Exporting PCMod2
svn export "C:\Users\Jordan\Documents\Garrysmod Addon SVN\PCMod2" "C:\Program Files\Steam\SteamApps\hexpunk\garrysmod\garrysmod\addons\PCMod2" --force -q
pause
:end[/code]
I have choices for quite a bit, so it is a mess.
nice piece of batch code! But you know I want to have it as much automated as possible, so I don't use any choices and I have my addons updated with one double click ;) But without deleting svn deleted files yet...
I just wish I could find a way to only replace changed files, instead of replacing the lot.
I've never had TortoiseSVN before. I downloaded SVN 1.6.1 and when I restart my computer, right click, I don't see the SVN checkout thing.
I tried 3 times and still nothing. Can you help me please?
[QUOTE=punkyheX;14716574]I just wish I could find a way to only replace changed files, instead of replacing the lot.[/QUOTE]
I told you - xcopy /d does exactly this! ;) run xcopy /? and you will see
Sorry, you need to Log In to post a reply to this thread.