Running Flagrum on a Different Drive - Kizari/Flagrum GitHub Wiki

Introduction

You may wish to run Flagrum on a separate drive if space is limited on your main storage device. While this isn't inherently supported and Flagrum will always be installed to %LOCALAPPDATA% on your main drive, you can use a symlink to trick your PC into thinking it's still there while it's off in your preferred location.
 

The Process

It's really quite simple. After installing Flagrum (or if you already have it installed), move the Flagrum folder to the location you want it to be from now on. For example, on my machine, Flagrum automatically installed in C:\Users\Kizari\AppData\local\Flagrum. I moved this folder so that it is now located at D:\Modding\Flagrum.

Next, open the command prompt. A quick way to do this is Windows + R > Type "cmd" > Hit enter.

Now you need to enter the following command. What this command does is create a symlink junction (think of this like a shortcut, but more concrete) where your Flagrum folder was, and this link points to where it is now.

Make sure you replace the placeholders with your actual information!

mklink /J YOUR_ORIGINAL_FLAGRUM_PATH YOUR_NEW_FLAGRUM_PATH

For example, I entered the following command because my original installation was at C:\Users\Kizari\AppData\local\Flagrum, and I moved the folder to D:\Modding\Flagrum.

mklink /J "C:\Users\Kizari\AppData\local\Flagrum" "D:\Modding\Flagrum"

That's all there is to it. Flagrum should now continue working exactly as it did before, but it's now in a new location!
 

Troubleshooting

If Flagrum has ceased to function as expected, make sure you have created the symlink correctly. The /J in the command is not optional, do not forget it! Also ensure the link exists in %LOCALAPPDATA% and that when you click on it, you end up inside the folder with Flagrum.exe, Flagrum.db, etc. If you end up anywhere else, your link is wrong and you will need to follow the guide again.

⚠️ **GitHub.com Fallback** ⚠️