Please read first!
Save all your community stuff to another folder!Thats why you should create folders with your content for aircrafts, liveries, payware and so on.
Then you copy your community stuff to this folders and change the path's in the download skript.
I don't want to copy liveries, landmarks, aircrafts or other community content to the community folder. I don't like redundancy, and I guess most of you don't either. So I wrote a little script that you can customize to suit your needs.
USE CASE
You download some new content and extract it into your new structure (see point 4 under explanation). Then run your script and all the symlinks are set. You start your Sim and everything is fine.If you have to reinstall your Sim or have problems with C: or have to reinstall your system => no problem if you save your community-data on a different partition like me.
The big advantage is that you never have to make changes in the community folder, because with every run of the script you delete all symlinks at first and then it creates new symlinks for all folders that you implemented in your script. My Script should only be a template and an inspiration for you. :-)
You should adapt and extend this script!
Explanation
- 1. at first you look at where your community folder is
- 2. copy your community path with all content to a backup folder
- 3. in this script my community path (not backup_path) is "C:\msfs2020\Community\"
- 4. under my directory "D:\msfs\" i have folders for aircrafts, liveries, payware, bushtrips etc
- Aircraft => "D:\msfs\Aircraft\"
- Livery => "D:\msfs\Livery\"
- payware => "D:\msfs\payware\"
- bushtrips => "D:\msfs\bushtrips\"
- and so on ..
- 5. copy your community stuff from your backup folder (point 2) to the new structure (point 4)
- you can only have aircrafts and so you delete the other lines, than you have only:
- createAircraftLinks.bat
@echo off
rem del all symbolic links
for /F "delims=" %%a in ('dir "C:\msfs2020\Community\" /b /AD') do rmdir "C:\msfs2020\Community\%%a"
rem aircrafts
for /F "delims=" %%a in ('dir "D:\msfs\aircrafts\" /b /AD') do mklink /J "C:\msfs2020\Community\%%a" "D:\msfs\aircrafts\%%a"pause
- 6. after your changes for community path (for me it is "C:\msfs2020\Community\") and your community content (aircrafts, liveries etc, for me it is th path "D:\msfs\...") you save the script and run it
- 7. check your community path, there should only be your aircrafts (symlinks under community path, for me it is "C:\msfs2020\Community\") or what you want to link with the help of my script
11 Comments
mtjoeng
The MSFS_AddonsLinker mod does this within a mature shell that has bells and whistles.
Retnavycpo1987
This sounds like a great idea, and something I would like to do. But could you please include a more detailed explanation on how to use it. Us old people need more information! Thx. Pete
Archer374
Thanks. But isn't that exactly what this tool does?
https://flightsim.to/file/1572/msfs-addons-linker
it's only a script and very fast.