Skip to content

Instantly share code, notes, and snippets.

@rodogir
Last active June 20, 2024 16:50
Show Gist options
  • Save rodogir/89aa1b26bc2a490ebf65f9515e205ce4 to your computer and use it in GitHub Desktop.
Save rodogir/89aa1b26bc2a490ebf65f9515e205ce4 to your computer and use it in GitHub Desktop.

How To Sync Addons, Settings and Screenshots

Setup

OneDrive

  1. Create a folder in OneDrive. For these instructions we'll use "World of Warcraft Settings" and will refer to it as Settings folder.
  2. Right click on the folder and make sure the "Always keep on this device" is checked.
  3. Copy the WTF, Interface and Screenshots folders to the Settings folder.

Create Junction Points

Open the command prompt as administrator and run the following commands.

Change the WowInstallDir and WowSyncDir to match your setup.

set "WowInstallDir=C:\Games\World of Warcraft\_classic_"
set "WowSyncDir=%OneDrive%\World of Warcraft Settings"
mklink /J "%WowInstallDir%\WTF" "%WowSyncDir%\WTF"
mklink /J "%WowInstallDir%\Interface" "%WowSyncDir%\Interface"
mklink /J "%WowInstallDir%\Screenshots" "%WowSyncDir%\Screenshots"

That's it. Have fun

Adding a New PC

  1. Make sure the OneDrive folder with your settings in synced.
  2. Right click on the folder and make sure the "Always keep on this device" is checked.
  3. Delete or rename the WTF, Interface and Screenshots folders in your WoW install dir.
  4. Run the commands described in Create Junction Points.

Restore after an Update

Usually the original folders are restored after the installation of a patch. To quickly recreate the setup you can create a .bat file that deletes the normal folders and creates the links.

set "WowInstallDir=C:\Games\World of Warcraft\_classic_"
set "WowSyncDir=%OneDrive%\World of Warcraft Settings"
rmdir "%WowInstallDir%\WTF"
rmdir "%WowInstallDir%\Interface"
rmdir "%WowInstallDir%\Screenshots"
mklink /J "%WowInstallDir%\WTF" "%WowSyncDir%\WTF"
mklink /J "%WowInstallDir%\Interface" "%WowSyncDir%\Interface"
mklink /J "%WowInstallDir%\Screenshots" "%WowSyncDir%\Screenshots"
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment