Misty Moorings Forums

Return to Misty Moorings (FSX/P3D/MSFS2020) => Addon Scenery and Enhancements => Topic started by: nbrich1 on July 29, 2020, 07:13:38 PM

Title: Add-ons - Fire an add-on from Other than default Add-ons folder (Prepar3Dv4v5)
Post by: nbrich1 on July 29, 2020, 07:13:38 PM
To fire an add-on contents in P3Dv4 or v5 from other than the default  xx:\Documents\Prepar3D xx Add-ons
folder add a Discovery Path entry in the add-ons.cfg file (C:\ProgramData\Lockheed Martin\Prepar3D vx):

IE:To fire up the new RTMM add-on (or any add-on for that matter) from any alternate location on your PC:

1. Move the contents of the add-on (as is) to your desired location.
2. Open the add-on.cfg file (notepad) (in  hidden folder C:\ProgramData\Lockheed Martin\Prepar3D v4 or 5
3. Add a "Discovery Path" Entry in the add-ons.cfg file (number accordingly), ensure the path is correct. Save.

IE: For P3Dv5 - Edit the add-ons.cfg file located in folder: C:\ProgramData\Lockheed Martin\Prepar3D v5 (add-on.cfg edit with notepad).:

[DiscoveryPath.0]
PATH=F:\Add-ons\Orbx Library\p3dv5
TITLE=Orbx Main Library
ACTIVE=true
REQUIRED=false

(Add a new discovery path:) 
[DiscoveryPath.1]
PATH=F:\Add-ons\RTMM Add-on (P3Dv5)
TITLE=RTMM Add-on Scenery Package
ACTIVE=true
REQUIRED=false



When Prepar3D v5 is started it will read the add-on.cfg file and see that the RTMM Add-on (P3Dv5) is located at F:\Add-ons\RTMM Add-on (P3Dv5) and it will fire the add-on.xml file that is in the folder
"RTMM Add-on (P3Dv5)"

So by using a discovery path entry, you can place any add-on anywhere and as long as the add-on.cfg entry matches the path - then the add-on will be seen by the sim- and an enable window to load that add-on will appear during the sim load.

RTMM Add-on was released here on the site today. (One for P3Dv4 and the other for P3Dv5. They are different! so if you're going to use them, ensure that you download the correct version for you sim). 

This add-on will be recognized on startup of the sim if the RTMM Add-on folder is simply placed is in the default x:\documents\Prepar3D Add-ons vx folder, or be found at an alternate location if a discovery path entry is used so that the sim is directed to find and load it, as is shown above. So the add-on (and all of it contents inside the add-on), can be configured/directed to run from the default add-on location or from any other location as specified by the user. 

Norm
Title: Re: Add-ons - Fire an add-on from Other than default Add-ons folder (Prepar3Dv4v5)
Post by: Penzoil3 on August 05, 2020, 03:10:17 PM
 8) Thanks, this got it working. I'd been beating my head on the wall for a couple days...
 Sue
Title: Re: Add-ons - Fire an add-on from Other than default Add-ons folder (Prepar3Dv4v5)
Post by: Garry on August 06, 2020, 03:07:36 PM
Hi Sue

Have you tried the Lorby SI Add On Organiser freeware?
It will create the add-on xml file for you. Great for us lazy simmers!
Recommended freeware if you use the xml method.