|
There's many different reasons one might want to move his/her replay directory, personally I'd like to keep my replays in my Dropbox for easy sharing between my computers, you may have several accounts for which you'd like a shared folder, or you might just want to browse it easier.
Aaaanyway, lets get this guide going, please note that this is for windows 7, but I do believe the steps for Vista should be pretty much identical.
Step 1: Move your replays to the new location, you should be able to do this on your own  The current location should look something like: C:\Users\Krissam\Documents\StarCraft II\Accounts\943969\2-S2-1-207818\Replays
Step 2: Delete the Multiplayer folder from the Replays folder.
Step 3: Open up command prompt as administrator, this is done by opening the start menu, and typing in"cmd.exe and rightclicking the only result showing up, and clicking Run as Administrator. If more than 1 result show up, click the one with an icon that looks like a black box with the text C:\
Step 4: Navigate to your replay directory, easiest way to do this is to copy/paste the path from your explorer window. The command should look something like this: cd C:\Users\Krissam\Documents\StarCraft II\Accounts\943969\2-S2-1-207818\Replays
Step 5: Enter the command: mklink /D Multiplayer "C:\Path\To\WhereYouWant\YourReplays"
for instance mklink /D Multiplayer "C:\Users\Krissam\Documents\My Dropbox\Starcraft2\Replays"
You should get a message looking similar to: symbolic link created for Multiplayer <<===>> C:\Users\Krissam\Documents\My Dropbox\Starcraft2\Replays
Congratulations, you're now done
Please note that for some reason when I use explorer to look at the multiplayer folder in the SC2 directory it looks empty, however starcraft 2 has no problem loading the replays, my sc2 gears which was set to autosave has no problem saving them there either and using commandprompt i can see the files without any problem, so I'm guessing it's a explorer bug of some kind.
Hope people will find this useful.
|
Israel2209 Posts
This is great, thanks for the guide.
|
cool. will try this out when i get home from work!
|
On January 26 2011 08:13 Noam wrote: This is great, thanks for the guide.
Glad you like it
|
this is good
but i am somehow afraid of it
|
On January 26 2011 10:40 never_toss wrote: this is good
but i am somehow afraid of it
why is that?
|
On January 26 2011 10:40 never_toss wrote: this is good
but i am somehow afraid of it
It's a symlink, it's a pretty basic part of filesystem.
Basically whenever anything reaches the /starcraft ii/profile/etc folder, there's a pointer to c:\replays or whatever your destination folder is. So your apps think it's in the first folder, but you're actually in the second.
Worst explanation ever
|
On January 26 2011 07:32 Krissam wrote:..., personally I'd like to keep my replays in my Dropbox for easy sharing between my computers, ...
You, sir, are a hero. That is such a GREAT idea. I will definitely do this in the afternoon as soon as I am back from work.
Btw: Do you know the difference between smybolic links and junction points for this particular case?
|
How odd, I found out about this myself only shortly before seeing it here. I now have my home and work computers' replay directories synced which is awesome. It's also great for steam games that don't have steamcloud saves. Got my Super Meat Boy save folder synced between home and work now as well.
|
If you don't like symlinks for whatever reason, you can always just set up an automated task to copy any new replays from the sc2 directories into your dropbox. You'll have to be content with your dropbox being slightly out of sync with your actual replay directory, but that's never been an issue for me.
Directions: 1. Create a file called "copyReplays.bat" 2. Open it with your favorite text editor. If you want to be a baller use a hex editor and type in the ascii codes manually. Or not. Whatever. 3. Use xcopy to sync any new replays to your dropbox. Here's the syntax:
xcopy "C:\Users\your_user_name\Documents\StarCraft II\Accounts\your_nonsensical_sc2_number\your_other_nonsensical_sc2_number\Replays" "E:\Data\My Dropbox\Starcraft\whatever_the_hell_you_want" /s /y /q /d
Xcopy info: + Show Spoiler +xcopy is a windows/dos copy command with some extra functionality. In this case we're telling it to copy directories and subdirectories (/s), to not bother us with prompts asking us if we're sure (/y), to not tell us the name of EVERY file we're copying (/q), and to only copy files if they have a newer timestamp than their counterpart in the destination directory (/d).
4. Schedule a task to automatically execute this at some point in the day. Directions for Windows 7 below: + Show Spoiler +Control Panel > System and Security > Administrative Tools > Schedule Tasks
Within the task scheduler, you then do: Actions > Create Task Give it a name, a description, and under the Actions tab select "New," tell it to "Start a Program," and give it the address of your copyReplays.bat file from step 1.
Under Triggers select "New" and tell it to run daily.
Under Conditions make sure you don't have "Wake the computer to run this task" selected, unless you like your computer surging to life in the middle of the night and freaking you out.
Suggestion: Set the task to run at some time you'll probably be asleep, like 4am, but go to Settings and tell it to run the task as soon as possible after a scheduled start is missed. Now the first time you turn your computer on, your replays will be automatically synced.
So there you have it -- replay syncing for people who hate symlinks.
|
On January 26 2011 16:27 Yarhj wrote:If you don't like symlinks for whatever reason, you can always just set up an automated task to copy any new replays from the sc2 directories into your dropbox. You'll have to be content with your dropbox being slightly out of sync with your actual replay directory, but that's never been an issue for me. Directions: 1. Create a file called "copyReplays.bat" 2. Open it with your favorite text editor. If you want to be a baller use a hex editor and type in the ascii codes manually. Or not. Whatever. 3. Use xcopy to sync any new replays to your dropbox. Here's the syntax: Show nested quote +xcopy "C:\Users\your_user_name\Documents\StarCraft II\Accounts\your_nonsensical_sc2_number\your_other_nonsensical_sc2_number\Replays" "E:\Data\My Dropbox\Starcraft\whatever_the_hell_you_want" /s /y /q /d
Xcopy info: + Show Spoiler +xcopy is a windows/dos copy command with some extra functionality. In this case we're telling it to copy directories and subdirectories (/s), to not bother us with prompts asking us if we're sure (/y), to not tell us the name of EVERY file we're copying (/q), and to only copy files if they have a newer timestamp than their counterpart in the destination directory (/d).
4. Schedule a task to automatically execute this at some point in the day. Directions for Windows 7 below: + Show Spoiler +Control Panel > System and Security > Administrative Tools > Schedule Tasks
Within the task scheduler, you then do: Actions > Create Task Give it a name, a description, and under the Actions tab select "New," tell it to "Start a Program," and give it the address of your copyReplays.bat file from step 1.
Under Triggers select "New" and tell it to run daily.
Under Conditions make sure you don't have "Wake the computer to run this task" selected, unless you like your computer surging to life in the middle of the night and freaking you out.
Suggestion: Set the task to run at some time you'll probably be asleep, like 4am, but go to Settings and tell it to run the task as soon as possible after a scheduled start is missed. Now the first time you turn your computer on, your replays will be automatically synced.
So there you have it -- replay syncing for people who hate symlinks.
I thought about this as well, I did however not like it due to the fact it's only a one way sync.
|
On January 26 2011 15:56 turboPasqual wrote: Btw: Do you know the difference between smybolic links and junction points for this particular case?
It's the same thing. The only difference is that a symlink can point to a file rather than a directory, but since we're pointing to a directory it acts identically.
|
dont really need it but if i did id thank you! thx for sharing yo
|
|
Thanks for the Guide. Been wondering how to do it.
|
excellent, thank you. I've been wanting this for exactly the same reason (Dropbox). Yay for Dropbox, also.
|
This is awesome. Thanks for the guide, I'm gonna set it up when I'm back home!
|
On January 27 2011 01:28 Krissam wrote:Show nested quote +On January 26 2011 16:27 Yarhj wrote:If you don't like symlinks for whatever reason, you can always just set up an automated task to copy any new replays from the sc2 directories into your dropbox. You'll have to be content with your dropbox being slightly out of sync with your actual replay directory, but that's never been an issue for me. Directions: 1. Create a file called "copyReplays.bat" 2. Open it with your favorite text editor. If you want to be a baller use a hex editor and type in the ascii codes manually. Or not. Whatever. 3. Use xcopy to sync any new replays to your dropbox. Here's the syntax: xcopy "C:\Users\your_user_name\Documents\StarCraft II\Accounts\your_nonsensical_sc2_number\your_other_nonsensical_sc2_number\Replays" "E:\Data\My Dropbox\Starcraft\whatever_the_hell_you_want" /s /y /q /d
Xcopy info: + Show Spoiler +xcopy is a windows/dos copy command with some extra functionality. In this case we're telling it to copy directories and subdirectories (/s), to not bother us with prompts asking us if we're sure (/y), to not tell us the name of EVERY file we're copying (/q), and to only copy files if they have a newer timestamp than their counterpart in the destination directory (/d).
4. Schedule a task to automatically execute this at some point in the day. Directions for Windows 7 below: + Show Spoiler +Control Panel > System and Security > Administrative Tools > Schedule Tasks
Within the task scheduler, you then do: Actions > Create Task Give it a name, a description, and under the Actions tab select "New," tell it to "Start a Program," and give it the address of your copyReplays.bat file from step 1.
Under Triggers select "New" and tell it to run daily.
Under Conditions make sure you don't have "Wake the computer to run this task" selected, unless you like your computer surging to life in the middle of the night and freaking you out.
Suggestion: Set the task to run at some time you'll probably be asleep, like 4am, but go to Settings and tell it to run the task as soon as possible after a scheduled start is missed. Now the first time you turn your computer on, your replays will be automatically synced.
So there you have it -- replay syncing for people who hate symlinks. I thought about this as well, I did however not like it due to the fact it's only a one way sync.
You can setup a two-way sync using robocopy by running the following two commands:
start "Copy from SC2 folder" /MIN robocopy "C:\Users\your_user_name\Documents\StarCraft II\Accounts\your_nonsensical_sc2_number\your_other_nonsensical_sc2_number\Replays" "e:\replays" /COPY:DAT /E /ZB /R:1 /W:2 /XO /MON:1 /MOT:1 start "Copy to SC2 folder" /MIN robocopy "e:\replays" "C:\Users\your_user_name\Documents\StarCraft II\Accounts\your_nonsensical_sc2_number\your_other_nonsensical_sc2_number\Replays" /COPY:DAT /E /ZB /R:1 /W:2 /XO /MON:1 /MOT:1
This will open two minimized windows which synchronize every new file that's added to either of the folders. Synchronization happens every minute and using this method it will be running as a minimized command prompt which outputs the changes it makes.
Robocopy is a cp[y tool available in both Vista and Windows 7 and can be downloaded for Windows XP.
|
On January 29 2011 07:46 prayanavita wrote:Show nested quote +On January 27 2011 01:28 Krissam wrote:On January 26 2011 16:27 Yarhj wrote:If you don't like symlinks for whatever reason, you can always just set up an automated task to copy any new replays from the sc2 directories into your dropbox. You'll have to be content with your dropbox being slightly out of sync with your actual replay directory, but that's never been an issue for me. Directions: 1. Create a file called "copyReplays.bat" 2. Open it with your favorite text editor. If you want to be a baller use a hex editor and type in the ascii codes manually. Or not. Whatever. 3. Use xcopy to sync any new replays to your dropbox. Here's the syntax: xcopy "C:\Users\your_user_name\Documents\StarCraft II\Accounts\your_nonsensical_sc2_number\your_other_nonsensical_sc2_number\Replays" "E:\Data\My Dropbox\Starcraft\whatever_the_hell_you_want" /s /y /q /d
Xcopy info: + Show Spoiler +xcopy is a windows/dos copy command with some extra functionality. In this case we're telling it to copy directories and subdirectories (/s), to not bother us with prompts asking us if we're sure (/y), to not tell us the name of EVERY file we're copying (/q), and to only copy files if they have a newer timestamp than their counterpart in the destination directory (/d).
4. Schedule a task to automatically execute this at some point in the day. Directions for Windows 7 below: + Show Spoiler +Control Panel > System and Security > Administrative Tools > Schedule Tasks
Within the task scheduler, you then do: Actions > Create Task Give it a name, a description, and under the Actions tab select "New," tell it to "Start a Program," and give it the address of your copyReplays.bat file from step 1.
Under Triggers select "New" and tell it to run daily.
Under Conditions make sure you don't have "Wake the computer to run this task" selected, unless you like your computer surging to life in the middle of the night and freaking you out.
Suggestion: Set the task to run at some time you'll probably be asleep, like 4am, but go to Settings and tell it to run the task as soon as possible after a scheduled start is missed. Now the first time you turn your computer on, your replays will be automatically synced.
So there you have it -- replay syncing for people who hate symlinks. I thought about this as well, I did however not like it due to the fact it's only a one way sync. You can setup a two-way sync using robocopy by running the following two commands: start "Copy from SC2 folder" /MIN robocopy "C:\Users\your_user_name\Documents\StarCraft II\Accounts\your_nonsensical_sc2_number\your_other_nonsensical_sc2_number\Replays" "e:\replays" /COPY:DAT /E /ZB /R:1 /W:2 /XO /MON:1 /MOT:1 start "Copy to SC2 folder" /MIN robocopy "e:\replays" "C:\Users\your_user_name\Documents\StarCraft II\Accounts\your_nonsensical_sc2_number\your_other_nonsensical_sc2_number\Replays" /COPY:DAT /E /ZB /R:1 /W:2 /XO /MON:1 /MOT:1 This will open two minimized windows which synchronize every new file that's added to either of the folders. Synchronization happens every minute and using this method it will be running as a minimized command prompt which outputs the changes it makes. Robocopy is a cp[y tool available in both Vista and Windows 7 and can be downloaded for Windows XP.
Well, looks good, but i still believe "my" method is better for 3 reasons: 1: files are only stored 1 place 2: it doesn't open windows 3: its instantanious
edit: posted before i was done typing, damn phone
|
thx alot! xtreme replays/screenies syncing
|
|
|
|