Jump to content

Sign in to follow this  
Boeing or not going

Why 2 locations for exe.xml and dll.xml?

Recommended Posts

The one in Program Data is the default location (where the scenery.cfg is located) (use to be in the same folder as the P3D.cfg in earlier versions V1 and V2).  Some add-on developers still use the old default location (where the P3D.cfg resides) (well their installers do) so you have two locations.  Do not try to move the entries in the old default location and put them into the new dll.xml as I tried that once and had a lot of problems.  Just leave things as is.  Once of these days the installers will discover the new default location.

Best regards,

Jim

  • Upvote 1

Jim Young | AVSIM Online! - Simming's Premier Resource!

Member, AVSIM Board of Directors - Serving AVSIM since 2001

Submit News to AVSIM
Important other links: Basic FSX Configuration Guide | AVSIM CTD Guide | AVSIM Prepar3D Guide | Help with AVSIM Site | Signature Rules | Screen Shot Rule | AVSIM Terms of Service (ToS)

I7 8086K  5.0GHz | GTX 1080 TI OC Edition | Dell 34" and 24" Monitors | ASUS Maximus X Hero MB Z370 | Samsung M.2 NVMe 500GB and 1TB | Samsung SSD 500GB x2 | Toshiba HDD 1TB | WDC HDD 1TB | Corsair H115i Pro | 16GB DDR4 3600C17 | Windows 10 

 

Share this post


Link to post
3 hours ago, 777200lrf said:

What is the difference? Thanks.

In addition to what Jim explained, the <user>\appData\ area is consider to be owned or controlled if you will by the program.  Developers have clear instructions in the SDK how and where to configure addons.  The use of dll.xml and exe.xml in either location is expected to decline as they start to comply with the SDK and provide the appropriate entries to the add-on.cfg and add-on.xml files.

  • Upvote 1

Dan Downs KCRP

Share this post


Link to post

Add-on packages are a relatively new concept, but by using the dll.xml and exe.xml files you still comply with the SDK:

"The priority for how content based add-on configuration files are initialized is as follows:

Local: Configuration files found at: %LOCALAPPDATA%\Lockheed Martin\Prepar3D v3
Roaming: Configuration files found at: %APPDATA%\Lockheed Martin\Prepar3D v3
ProgramData: Configuration files found at: %PROGRAMDATA%\Lockheed Martin\Prepar3D v3

The priority for how add-on library (DLL) and application (EXE) configuration files differs from content and is initialized as follows:

ProgramData: Configuration files named dll.xml or exe.xml found at: %PROGRAMDATA%\Lockheed Martin\Prepar3D v3
Roaming: Configuration files named dll.xml or exe.xml found at: %APPDATA%\Lockheed Martin\Prepar3D v3

If multiple configuration files are found, then the list of paths are merged together when processed according to the above priority."

Maarten

  • Upvote 2

Maarten Boelens ([m][a:][R][t][ʏ][n])
Developer of SimLauncherX

ftx_supporter_avsim.gifC172Siggy1_zps11944daf.jpg

Share this post


Link to post
5 hours ago, 777200lrf said:

I am new to P3D. In v4 I have separate locations with an exe.xml and dll.xml

c:\programdata\...

c:\users\...

What is the difference? Thanks.

The difference is that a configuration for all users is loaded followed by a configuration for the particular user logged in, as it specifies the merged order in the excerpt Maarten posted.

Put simply, if all cfgs and addon xmls exist only for a particular logged in user then nothing works when another user logs in.

A PC can be set up for more than one user with a base configuration that's applied no matter what user logged in followed by a setup tailored to the specific user.

  • Upvote 1

Steve Waite: Engineer at codelegend.com

Share this post


Link to post

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.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    45%
    $11,475.00 of $25,000.00 Donate Now
×
×
  • Create New...