Jump to content

Sign in to follow this  
theskyisthelimit

Confusion on dll.xml exe.xml locations and entries in both or just one location? Programdata vs users

Recommended Posts

Running p3d v3.4.9 along with simstarter NG (i assume simstarter doesnt play a role in any of this, but figured i'd mention it), along with flyinsidefsx for p3d.

 

I know at some point the path for things like dll.xml became two locations..

I'm unclear on if i should make sure all entries are just in one of the two (and merge the missing entries).. and if it doesnt matter, if it matters if entries overlap.. i assume things wont load twice ( i may have some in both)..

 

Of course the main path is %userprofile%\AppData\Roaming\Lockheed Martin\Prepar3D v3  while what i think should be the only location is..

C:\ProgramData\Lockheed Martin\Prepar3D v3

 

So.. best to just move the entries into the one in the programdata or do they need to be in both places (duplicated) for certain older addons to work?  (same thing with exe.xml etc)..

 

Thanks in advance for any clarity here

 

 


P3D Settings (GEX, UTX, Vector, FTX, REX)

P3D v3.3 VR thread; XP11 SMP vs Default vs XE(video)

Asus Maximus X Hero Z370; 850watt Seasonic psu; SL Delid 8700k 5.1 at 1.39 and avx-1; F4-3200C15D-32GTZ @1.41 and 3400; TT 3.0 Riing Ultimate Water-64C Prime95B(24c ambient)-70c normally; Thermaltake v51 Case; Evga 1080FTW Hybrid Water; VR-Rift/Vive;

Flight-Stew | Tech-Stew

Share this post


Link to post

No need to move anything. Seems that LM recommends that all addon entries are located into the dll and exe files in C:\ProgramData, but in case you still have entries in both directories (ProgramData and AppData), at P3D start it will merge both exe and both dll files for you.

Cheers, Ed


Ed Patino

P3Dv4.5 hf2 - Win 10 Home x64 // Rig: Corsair Graphite 780T Full Tower - ASUS MBoard Maximus XI Hero Z390 - CPU Intel i7-8086k 6-cores - 32GB RAM - MSI Nvidia GeForce GTX1080Ti 11GB - 3 x SSD x 1TB Crucial/Samsung + 1 x SSD 2TB Crucial + 1 HDD Seagate 2TB + 1 HDD External Seagate 2TB - Monitor LG 29UC97C UWHD Curved - PSU Corsair RM1000x - VR Oculus Rift // P3Dv4.5 hf2 & Aerofly FS 2 - Win 10 Home x64 - Gaming Laptop CUK ASUS Strix - CPU Intel i7-8750H - 32GB RAM - Nvidia RTX 2070 - 2TB SSD - 2TB HDD // Thrustmaster FCS & MS XBOX Controllers

Share this post


Link to post

No need to move anything. Seems that LM recommends that all addon entries are located into the dll and exe files in C:\ProgramData, but in case you still have entries in both directories (ProgramData and AppData), at P3D start it will merge both exe and both dll files for you.

Cheers, Ed

...sooooo...I can merge the two into the programData XMLs and delete the one in AppData?

 

Thanks,

 

Chas


My first sim flight simulator pD25zEJ.jpg

 

Take a ride to Stinking Creek! http://youtu.be/YP3fxFqkBXg Win10 Pro, GeForce GTX 1080/i7-6700K CPU OCd,16 GB RAM,3x1920 x 1080, 60Hz , 27" Dell TouchScreen,TM HOTAS Warthog,TrackIR5,Saitek Combat Rudder Pedals.

Share this post


Link to post

...sooooo...I can merge the two into the programData XMLs and delete the one in AppData?

 

Thanks,

 

Chas

 

You don't have to. P3D will do the merge for you everytime during its start-up. On my two machines, I have the two sets in the two directories.

Cheers, Ed


Ed Patino

P3Dv4.5 hf2 - Win 10 Home x64 // Rig: Corsair Graphite 780T Full Tower - ASUS MBoard Maximus XI Hero Z390 - CPU Intel i7-8086k 6-cores - 32GB RAM - MSI Nvidia GeForce GTX1080Ti 11GB - 3 x SSD x 1TB Crucial/Samsung + 1 x SSD 2TB Crucial + 1 HDD Seagate 2TB + 1 HDD External Seagate 2TB - Monitor LG 29UC97C UWHD Curved - PSU Corsair RM1000x - VR Oculus Rift // P3Dv4.5 hf2 & Aerofly FS 2 - Win 10 Home x64 - Gaming Laptop CUK ASUS Strix - CPU Intel i7-8750H - 32GB RAM - Nvidia RTX 2070 - 2TB SSD - 2TB HDD // Thrustmaster FCS & MS XBOX Controllers

Share this post


Link to post

Whatever you do, do not merge the files.  Most likely you will run into issues.  I had actually recommended doing just that in the CTD Forum and many people did merge them but ran into problems.  I had problems too.  Moving the entries in the dll.xml in your P3D.cfg folder to the dll.xml in your scenery.cfg folder is dangerous.  Eventually developers will start placing their startup modules in the correct folder.  Meanwhile, please do not merge them.  Evidently, some developers have programs expecting to find their dll.xml entries in the original folder located in the P3D.cfg folder.  If you do try it, please back it up first or you will have major problems figuring out what was in what dll.xml.  It does not affect performance.

 

Ed, P3D will read both files but will not merge them. 

 

Best regards,

Jim


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

Whatever you do, do not merge the files.  Most likely you will run into issues.  I had actually recommended doing just that in the CTD Forum and many people did merge them but ran into problems.  I had problems too.  Moving the entries in the dll.xml in your P3D.cfg folder to the dll.xml in your scenery.cfg folder is dangerous.  Eventually developers will start placing their startup modules in the correct folder.  Meanwhile, please do not merge them.  Evidently, some developers have programs expecting to find their dll.xml entries in the original folder located in the P3D.cfg folder.  If you do try it, please back it up first or you will have major problems figuring out what was in what dll.xml.  It does not affect performance.

 

Ed, P3D will read both files but will not merge them. 

 

Best regards,

Jim

Yikes.. good tip then.. what about the duplicate entries.. i guess just leave the dupes on both ends, no harm?


P3D Settings (GEX, UTX, Vector, FTX, REX)

P3D v3.3 VR thread; XP11 SMP vs Default vs XE(video)

Asus Maximus X Hero Z370; 850watt Seasonic psu; SL Delid 8700k 5.1 at 1.39 and avx-1; F4-3200C15D-32GTZ @1.41 and 3400; TT 3.0 Riing Ultimate Water-64C Prime95B(24c ambient)-70c normally; Thermaltake v51 Case; Evga 1080FTW Hybrid Water; VR-Rift/Vive;

Flight-Stew | Tech-Stew

Share this post


Link to post

If there are duplicate entries, then those should be removed as it could result in a CTD (we have many cases in the CTD Forum where removing duplicate entries resolved crashes).  The only possible way for a duplicate entry is in the same dll.xml.  The developer's installers do not install their entries in both locations.  But, some, like me, have tried to move the entries in the old location to the new location and that's one way how it could result in duplicate entries.  Also, manually placing an entry into the file.  I have a lot of software and modules and this is what is located in the dll.xml in the original location (where the p3d.cfg is located):

 

<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="Launch" version="1,0">
  <Descr>Launch</Descr>
  <Filename>dll.xml</Filename>
  <Disabled>False</Disabled>
  <Launch.ManualLoad>False</Launch.ManualLoad>
  <Launch.Addon>
    <Name>ObjectFlow</Name>
    <Disabled>False</Disabled>
    <ManualLoad>False</ManualLoad>
    <Path>K:\Prepar3D_v3\ORBX\FTX_AU\FTXAA_ORBXLIBS\Scenery\ObjectFlow_P3D.dll</Path>
  </Launch.Addon>
  <Launch.Addon>
    <Name>FSUIPC 4</Name>
    <Disabled>False</Disabled>
    <Path>Modules\FSUIPC4.dll</Path>
  </Launch.Addon>
  <Launch.Addon>
    <Name>as_connect</Name>
    <Disabled>False</Disabled>
    <Path>as_srv\as_btstrp.dll</Path>
  </Launch.Addon>
</SimBase.Document>

 

Everything else is in the new location so things are slowly being moved to the new location by developers.

 

Best regards,

Jim


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

If there are duplicate entries, then those should be removed as it could result in a CTD (we have many cases in the CTD Forum where removing duplicate entries resolved crashes).  The only possible way for a duplicate entry is in the same dll.xml.  The developer's installers do not install their entries in both locations.  But, some, like me, have tried to move the entries in the old location to the new location and that's one way how it could result in duplicate entries.  Also, manually placing an entry into the file.  I have a lot of software and modules and this is what is located in the dll.xml in the original location (where the p3d.cfg is located):

 

 

 

Everything else is in the new location so things are slowly being moved to the new location by developers.

 

Best regards,

Jim

 

Maybe i didnt clarify on the dupes thing sorry.. i guess what i meant was.. if the users folder location has the same entry as the programdata dll.xml.. how does it handle it.. will it cause a ctd having the same entry in both folder files potentially.. i think you meant duplicates in the same file itself?  Or if you meant duplicates in both areas.. then where should the remaining entry stay put at... the old spot in users?


P3D Settings (GEX, UTX, Vector, FTX, REX)

P3D v3.3 VR thread; XP11 SMP vs Default vs XE(video)

Asus Maximus X Hero Z370; 850watt Seasonic psu; SL Delid 8700k 5.1 at 1.39 and avx-1; F4-3200C15D-32GTZ @1.41 and 3400; TT 3.0 Riing Ultimate Water-64C Prime95B(24c ambient)-70c normally; Thermaltake v51 Case; Evga 1080FTW Hybrid Water; VR-Rift/Vive;

Flight-Stew | Tech-Stew

Share this post


Link to post

 

 


if the users folder location has the same entry as the programdata dll.xml.. how does it handle it..

 

It will load the module.

 


will it cause a ctd having the same entry in both folder files potentially..

 

It will not cause a CTD if the same entry is in both folders.  I have had duplicate entries in the file located in the same folder as the p3d.cfg for a long period of time w/o a crash.  So it will not immediately trigger a crash.  However, when I had an NTDLL.dll error once, I checked my dll.xml entries and found two duplicate PMDG entries and removed one and the crashes stopped.  It is possible the first entry got corrupted and not seen by the installer when a PMDG product was updated.  In any case I did not put it there. 

 

 

 


Or if you meant duplicates in both areas.. then where should the remaining entry stay put at... the old spot in users?

 

It is almost impossible to have duplicate entries in both areas (I stated that in my response).  The only way it could happen is if you manually entered the entry in the dll.xml at the new location or tried to merge them.

 

Best regards,

Jim


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

 

 


Ed, P3D will read both files but will not merge them.

 

Hi Jim:

That's exactly what I meant, P3D will take data from both files, probably "merge" is not the correct term for that action.

Thanks, Ed


 

 


It will not cause a CTD if the same entry is in both folders. I have had duplicate entries in the file located in the same folder as the p3d.cfg for a long period of time w/o a crash. So it will not immediately trigger a crash. However, when I had an NTDLL.dll error once, I checked my dll.xml entries and found two duplicate PMDG entries and removed one and the crashes stopped. It is possible the first entry got corrupted and not seen by the installer when a PMDG product was updated. In any case I did not put it there.

 

For general information, the installer for WX Advantage Radar (Milviz/REX) puts the same entry in both dll.xml files located in AppData and ProgramData folders:

 

<Launch.Addon>
        <Name>WXAdvantage</Name>
        <Disabled>False</Disabled>
        <Path>Modules\MV_WXM.dll</Path>
        <DLLStartName>module_init</DLLStartName>
        <DLLStopName>module_deinit</DLLStopName>
</Launch.Addon>

 

I have not modified this yet, as it is not causing trouble to me (CTDs).

 

Cheers, Ed


Ed Patino

P3Dv4.5 hf2 - Win 10 Home x64 // Rig: Corsair Graphite 780T Full Tower - ASUS MBoard Maximus XI Hero Z390 - CPU Intel i7-8086k 6-cores - 32GB RAM - MSI Nvidia GeForce GTX1080Ti 11GB - 3 x SSD x 1TB Crucial/Samsung + 1 x SSD 2TB Crucial + 1 HDD Seagate 2TB + 1 HDD External Seagate 2TB - Monitor LG 29UC97C UWHD Curved - PSU Corsair RM1000x - VR Oculus Rift // P3Dv4.5 hf2 & Aerofly FS 2 - Win 10 Home x64 - Gaming Laptop CUK ASUS Strix - CPU Intel i7-8750H - 32GB RAM - Nvidia RTX 2070 - 2TB SSD - 2TB HDD // Thrustmaster FCS & MS XBOX Controllers

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.


    22%
    $5,540.00 of $25,000.00 Donate Now
×
×
  • Create New...