Jump to content
Sign in to follow this  
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.


Ray (Cheshire, England).
System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke.
Cheadle Hulme Weather

Share this post


Link to post
Share on other sites

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


LORBY-SI

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

 

 


Cheers, Ed

MSFS Steam - Win10 Home x64 // Rig: Corsair Graphite 760T Full Tower - ASUS MBoard Maximus XII Hero Z490 - CPU Intel i9-10900K - 64GB RAM - MSI RTX2080 Super 8GB - [1xNVMe M.2 1TB + 1xNVMe M.2 2TB (Samsung)] + [1xSSD 1TB + 1xSSD 2TB (Crucial)] + [1xSSD 1TB (Samsung)] + 1 HDD Seagate 2TB + 1 HDD Seagate External 4TB - Monitor LG 29UC97C UWHD Curved - PSU Corsair RM1000x - VR Oculus Rift // MSFS Steam - Win 10 Home x64 - Gaming Laptop CUK ASUS Strix - CPU Intel i7-8750H - 32GB RAM - RTX2070 8GB - SSD 2TB + HDD 2TB // Thrustmaster FCS & MS XBOX Controllers

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:


Ray (Cheshire, England).
System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke.
Cheadle Hulme Weather

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.


Ray (Cheshire, England).
System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke.
Cheadle Hulme Weather

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


LORBY-SI

Share this post


Link to post
Share on other sites

Thanks for explaining the process Oliver. :smile:


Ray (Cheshire, England).
System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke.
Cheadle Hulme Weather

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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...