Disclaimer
This guide was written for players of Onion Gamers (OG) Arma 3 server for BMR Insurgency game mode. It addresses the problem of Steam Workshop file duplication, but isn't in any sense official nor endorced way of dealing with the problem.
Messing up the procedure might make your game unplayable and require reinstallation to fix. In extreme cases (such as deleting windows folder), it might break your computer. Author of this guide, as well as OG, Valve and your local IT guy, refuses to take any responsibility for any damages that may or may not be caused by following this guide.
What is it all about?
Steam Workshop is great and easy, albeit buggy way of distribution of Arma 3 mods. Unfortunately at this point it doubles disk space taken by mods. Typically Arma 3 keeps it's mods in game folder, while Steam Workshop requires files to be in steam library, under Workshop folder.
Suggested workaround uses mklink command. We'll create shortcut to workshop folder, that appears to be normal folder, thus removing mod duplicates.
Procedure
Start with turning Steam off.
Now open the console. To do it, press Windows + R, then type: cmd
Enter
First thing you want to do, is go to folder common in your Steam library folder. The one your Arma 3 is installed. By default it's on C: drive.
cd "Program Files (x86)\Steam\SteamApps\common"
Of course it can be in other folder folder, or other drive. In my case it's D:\SteamLibrary. In this case first switch to other drive.
d:
cd SteamLibrary\SteamApps\common
Before the fun can start, we'll need a backup. Go to Arma 3 folder (normally, with your mouse) and rename folders of all CUP mods. Just add _
in front of their names, so you end up with _@CUP Terrains - Core
, _@CUP Terrains - Maps
, _@CUP Units
, _@CUP Vehicles
, _@CUP Weapons
. Once everything works, we'll delete those folders. For good.
Now back in the console, type in some magic.
mklink /J "common\Arma 3\@CUP Terrains - Core" workshop\content\107410\583496184
mklink /J "common\Arma 3\@CUP Terrains - Maps" workshop\content\107410\583544987
mklink /J "common\Arma 3\@CUP Units" workshop\content\107410\497661914
mklink /J "common\Arma 3\@CUP Vehicles" workshop\content\107410\541888371
mklink /J "common\Arma 3\@CUP Weapons" workshop\content\107410\497660133
If at any point you get following error: Cannot create a file when that file already exists. it means you forgot to rename some of the folders.
Testing
If everything went well, you should have this folders in your Arma 3 folder:
@CUP Terrains - Core
@CUP Terrains - Maps
@CUP Units
@CUP Vehicles
@CUP Weapons
_@CUP Terrains - Core
_@CUP Terrains - Maps
_@CUP Units
_@CUP Vehicles
_@CUP Weapons
Now run the game, as you'd normally do and check if everything works. You can, and probably should switch mods profile, but do not change mods loaded by the profile! Launcher should detect five new mods, these are the renamed folders.
Everything works? Great! Now go to Arma 3 folder and remove backed up mods. Delete _@CUP Terrains - Core
, _@CUP Terrains - Maps
, _@CUP Units
, _@CUP Vehicles
, _@CUP Weapons
folders.
Have fun!
Uninstallation
Go to Arma folder (do not touch workshop folder) and delete _@CUP Terrains - Core
, _@CUP Terrains - Maps
, _@CUP Units
, _@CUP Vehicles
, _@CUP Weapons
folders.
Now Arma Launcher should update missing mods next time you run it (it will just copy workshop files duplicating them once again). If it does not, try verifying local cache and/or resubscribing to the mods. If it does not help, well, you'll have to redownload the mods. You have been warned, remember?