Results 1 to 2 of 2
Thread: Lonestar Sym Links for easy updating
-
06-25-10, 08:40 PM #1
Lonestar Sym Links for easy updating
My file structure looks something like this:
Steam -> dServers -> cs/tf2/dods/l4d2/l4d -> ... -> addons -> lonestar.
And, even though I wrote a batch file to update the files in each server every time I make a change, I've decided to make it even easier on myself.
So I took the lonestar folder and copied it in the "dServers" directory then made system links in each server to the same lonestar folder.
What this does is simulate a fake path to the lonestar folder.
What does this mean?
It means that the same lonestar folder in dServers acts as if it were in the addons folder in each server.
This lets me have one copy of the lonestar code, and every time I make a change, it gets 'updated' to every server.
To make the links, do the following in your "dServers" directory.
Make a batch file (right click -> new text file -> then rename it to 'whatever.bat') and put this in it:
Code:mklink /j ".\cs_dir_goes_here\orangebox\cstrike\addons\lonestar" ".\lonestar" mklink /j ".\tf2_dir_goes_here\orangebox\tf\addons\lonestar" ".\lonestar" mklink /j ".\dods_dir_goes_here\orangebox\dod\addons\lonestar" ".\lonestar" mklink /j ".\l4d2_dir_goes_here\left4dead2\left4dead2\addons\lonestar" ".\lonestar" mklink /j ".\l4d_dir_goes_here\l4d\left4dead\addons" ".\lonestar"
-
06-25-10, 09:48 PM #2
Re: Lonestar Sym Links for easy updating
Using junctions is a good idea, I'll have to do that.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks