Ray Proudfoot

v 0.99 - Problem with location of add-ons.cfg in P3D v3.4

Recommended Posts

Hi Lorby,

Nice utility, thank you.

I have installed the Addon Organizer for use with P3D v3.4. I have a problem when trying to make a backup of my scenery configuration.

The message displayed is "Error when trying to write the backup file. Could not find file 'C:\Users\XXXX\AppData\Roaming\Lockheed Martin\Prepar3D v3\add-ons.cfg"

But with v3.4 this file resides in C:\ProgramData\Lockheed Martin\Prepar3D v3

I have selected the P3D v3.3+ option in the program v0.99.

Any help appreciated, thanks.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hello Ray,

sorry, about that, this is an oversight on my part. In V4 there are both add-ons.cfg files, in Program Data and in AppData too. On my system the file in AppData exists in V4 and V3, but that might be an artifact from testing the app. I have to double check again if it is created when you have auto-discovered addons in V3 (which is possible too, just like in V4, the path is just a little different).

As a work around, I suggest that you create an empty add-ons.cfg in AppData. The simulator doesn't care, and the P4AO is happy that it has something to back up.

Best regards

Share this post


Link to post
Share on other sites

Hi Oliver and Ray:

Just to help a bit, on my setup (main FS computer running W7) I have two "add-ons.cfg" files, the one located in C:\Users\XXXX\AppData\Roaming\Lockheed Martin\Prepar3D v3, and the other one in C:\ProgramData\Lockheed Martin\Prepar3D v3 folders. I think Ray is missing one of the two, so the idea of creating an empty one on the folder it's missing is a good way to go.

Cheers, Ed

 

 

Share this post


Link to post
Share on other sites

Hi Oliver & Ed,

I'm in the middle of a flight right now but will do as you suggest when able. I'm just really pleased we have people as clever as you to provide these great utilities.

Thanks! :smile:

Share this post


Link to post
Share on other sites

Gents,

I created an add-ons.cfg as suggested and the export worked fine. But I then noticed there were other backups in the same location which suggests the earlier exports did work even though the warning message suggests they didn't.

Share this post


Link to post
Share on other sites
13 hours ago, Ray Proudfoot said:

Gents,

I created an add-ons.cfg as suggested and the export worked fine. But I then noticed there were other backups in the same location which suggests the earlier exports did work even though the warning message suggests they didn't.

Hello Ray,

the other backup files were incomplete. The missing .cfg created an exception, so whatever came after it was not backed up.

I will catch this situation in v1.00.

For the record:

- The add-ons.cfg in "C:\Program Data\..." contains the packages that have been installed by using the command line tools that LM provides in the SDK

- The add-ons.cfg in "C:\Users\...\AppData\Roaming..." contains the packages that P3D has discovered automatically through the add-on.xml files. These XMLs must reside in the first level subfolders of "\Documents\Prepar3d V4 Add-ons\" or "\Documents\Prepar3d V3 Files\add-ons\"

For adding, enabling/disabling or removing packages through the GUI, the P4AO uses the latter method.

Best regards

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now