Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can Addons Linker Fix CTD's? - Possibly!

Featured Replies

Something I tried today with some nice results that I'm hoping are not Imaginary.

Within Addon Linker, under the TOOLS dropdown, you will find 2 options relevant to this thread. The options are:

  • ModelLib Changer
  • MaterialLibs Changer

These Options were created based on findings from a thread at the MSFS Forums, that can be found here

Synopsis Of The Problem From the Original Thread

Quote

 

I was trying to troubleshoot some scenery conflicts that were causing CTDs yesterday when I noticed something concerning. It seems that a lot of scenery creators are not changing the location of the modelLib.BGL that is output by default for an ArtProj. I wrote a quick python script to scan every layout.json in my airport folder, and out of 170-some add-on airports that I have almost 40 are shipping a file named scenery/global/scenery/modelLib.BGL. This is less than ideal.

For those who don’t understand how the MSFS VFS works, the short version is that when the sim starts it loads all its own files first, then it reads the layout.json of everything in the Community folder in alphabetical order and “stacks” those layouts on top of each other. If ever two packages have files with exactly the same name in exactly the same path whichever one was loaded first does not get its own copy – it gets the other package’s copy.

This is the output from my script just for the path scenery/global/scenery/modelLib.BGL. Each line represents an airport that is trying to put something in that location. There are 38 of these. That means if everything is enabled, 37 of those airports are not going to have that file contain what they want it to contain. Needless to say, that can cause problems.

 

The poster has created a standalone tool attempting to correct the issue, and functionality building off of that idea was added to Addon Linker

USAGE

  1. On the MSFS Addons Linker main screen, load all of your addons into the community folder
  2. You may wish to backup Your community folder before making any changes, just in case!
  3. Once the previous step is complete, move to the tools dropdown, and choose the MaterialLibs Changer or the ModelLib Changer
  4. Click on "Step 1" of the chosen option, and you will be given a list of files with ModelLib.bgl or MaterialLibs conflicts
  5. Click "Step 2" of the chosen option, and the conflicting files will be renamed!

Congtatz! Hopefully this may help some of you experiencing CTD's possibly caused by this issue!

BTiktp.png

 

Edited by HiFlyer

We are all connected..... To each other, biologically...... To the Earth, chemically...... To the rest of the Universe atomically.
 
Devons rig
Intel Core i5 13600K @ 5.1GHz / G.SKILL Trident Z5 RGB Series Ram 64GB / GIGABYTE GeForce RTX 4070 Ti GAMING OC 12G Graphics Card / Sound Blaster Z / Meta Quest 2 VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 1x Samsung SSD 850 EVO 500GB / 2x Samsung SSD 860 EVO 1TB /  1x Samsung - 970 EVO Plus 2TB NVMe /  1x Samsung 980 NVMe 1TB / 2 other regular hd's with up to 10 terabyte capacity / Windows 11 Pro 64-bit / Gigabyte Z790 Aorus Elite AX Motherboard LGA 1700 DDR5
  • Commercial Member

That's true, but i also use linker to avoid CTDs by enabling just what i need for every flight. It was a moment when having everything enabled rose up the rate of CTDs for me.

__________________________________________________________________________________________
My FS Photos - My MSFS Settings - i7-14700K / 64GB RAM / MSI 4070 Ti SUPER / 1440p
 

Hi,

Thanks HiFlyer!

I did it and I found a lot of possible scenery conflicts.

The tool has corrected them.

Best regards.

 

I really love this little piece of software, very well done.  

CPU: Core i5-6600K 4 core (3.5GHz) - overclock to 4.3 | RAM: (1066 MHz) 16GB
MOBO: ASUS Z170 Pro |  GeForce GTX 1070 8GB | MONITOR: 2560 X 1440 2K

Thanks for the tip, I found a lot of possible scenery conflicts that are now resolved.

System: I ASRock X670E | AMD 7800X3D | 64Gb DDR5 6000 | RTX 4090 | 2TB NVMe | Seasonic Vertex 1000W I LG Ultra Gear 34 UW I

Does the modellib.bgl thing still cause issues? I know the MaterialLibs issue will definitely cause CTDs but I don't think I've ever encountered an issue stemming from the modellib.bgl being the same. Any thoughts? 

Former Child, Current Adult

  • Author
2 hours ago, liamp51 said:

Does the modellib.bgl thing still cause issues? I know the MaterialLibs issue will definitely cause CTDs but I don't think I've ever encountered an issue stemming from the modellib.bgl being the same. Any thoughts? 

I have no Idea. But using this does not apparently hurt anything, and it just might help, sooooo.......

We are all connected..... To each other, biologically...... To the Earth, chemically...... To the rest of the Universe atomically.
 
Devons rig
Intel Core i5 13600K @ 5.1GHz / G.SKILL Trident Z5 RGB Series Ram 64GB / GIGABYTE GeForce RTX 4070 Ti GAMING OC 12G Graphics Card / Sound Blaster Z / Meta Quest 2 VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 1x Samsung SSD 850 EVO 500GB / 2x Samsung SSD 860 EVO 1TB /  1x Samsung - 970 EVO Plus 2TB NVMe /  1x Samsung 980 NVMe 1TB / 2 other regular hd's with up to 10 terabyte capacity / Windows 11 Pro 64-bit / Gigabyte Z790 Aorus Elite AX Motherboard LGA 1700 DDR5

Of course scenery developers should know by now that this is bad practise…

When coming across this, you should drop them ( the dev) a note asking them politely to fix this. The comments sections at flightsim.to have many such requests and devs usually comply quickly.

GregH

Intel Core i7 14700K / Palit RTX4070Ti Super OC / Corsair 32GB DDR5 6000 MHz / MSI Z790 M/board / Corsair NVMe 9500 read, 8500 write / Corsair PSU1200W / CH Products Yoke, Pedals & Quad; Airbus Side Stick, Airbus Quadrant / TrackIR, 32” 4K 144hz 1ms Monitor

This is very very interesting, thanks for sharing. I just got the AOL and so Im a n00b but already I can see just how impressive it is. 

I like every mod activated all the time and over time AOL will have to deal with hundreds of them. I have 86 mods now and so far so good no issues. 

So renaming the conflicting files won't ruin any of the scenery? And should we do this for both Materiallibs and Modellib?

AMD Ryzen R9 9950X3D | Asus Astral RTX 5080 OC | 32 GB DDR5 6000 CL30 | 3440x1440 G-Sync | Logitech Pro Throttles Rudder Yoke Panels | Thrustmaster T.16000M FCS | TrackIR 5 | Oculus Rift S

  • Author
22 minutes ago, Republic3D said:

So renaming the conflicting files won't ruin any of the scenery? And should we do this for both Materiallibs and Modellib?

The original poster over at the MSFS forum, and creator of the tool that was eventually incorporated into Addons Linker is Kaosfere from Working Title, so I kind of trust him on this.

His original tool was for the ModelLib, so that one is relevant to his post. The MaterialsLib is optional, depending on if you find conflicts.

We are all connected..... To each other, biologically...... To the Earth, chemically...... To the rest of the Universe atomically.
 
Devons rig
Intel Core i5 13600K @ 5.1GHz / G.SKILL Trident Z5 RGB Series Ram 64GB / GIGABYTE GeForce RTX 4070 Ti GAMING OC 12G Graphics Card / Sound Blaster Z / Meta Quest 2 VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 1x Samsung SSD 850 EVO 500GB / 2x Samsung SSD 860 EVO 1TB /  1x Samsung - 970 EVO Plus 2TB NVMe /  1x Samsung 980 NVMe 1TB / 2 other regular hd's with up to 10 terabyte capacity / Windows 11 Pro 64-bit / Gigabyte Z790 Aorus Elite AX Motherboard LGA 1700 DDR5

I only run a small set of add-ons so no conflicts, but it is nice to know that I do not have any at this point. Will scan after adding new add-ons. Great tool. 

7950X3D | RTX 4090 | 96GB DDR5 | 4K G-Sync | Win11 Pro

3 minutes ago, HiFlyer said:

The original poster over at the MSFS forum, and creator of the tool that was eventually incorporated into Addons Linker is Kaosfere from Working Title, so I kind of trust him on this.

His original tool was for the ModelLib, so that one is relevant to his post. The MaterialsLib is optional, depending on if you find conflicts.

Thank you! This could be really useful.

AMD Ryzen R9 9950X3D | Asus Astral RTX 5080 OC | 32 GB DDR5 6000 CL30 | 3440x1440 G-Sync | Logitech Pro Throttles Rudder Yoke Panels | Thrustmaster T.16000M FCS | TrackIR 5 | Oculus Rift S

On 9/27/2021 at 3:57 AM, HiFlyer said:

Something I tried today with some nice results that I'm hoping are not Imaginary.

Within Addon Linker, under the TOOLS dropdown, you will find 2 options relevant to this thread. The options are:

  • ModelLib Changer
  • MaterialLibs Changer

These Options were created based on findings from a thread at the MSFS Forums, that can be found here

Synopsis Of The Problem From the Original Thread

The poster has created a standalone tool attempting to correct the issue, and functionality building off of that idea was added to Addon Linker

USAGE

  1. On the MSFS Addons Linker main screen, load all of your addons into the community folder
  2. You may wish to backup Your community folder before making any changes, just in case!
  3. Once the previous step is complete, move to the tools dropdown, and choose the MaterialLibs Changer or the ModelLib Changer
  4. Click on "Step 1" of the chosen option, and you will be given a list of files with ModelLib.bgl or MaterialLibs conflicts
  5. Click "Step 2" of the chosen option, and the conflicting files will be renamed!

Congtatz! Hopefully this may help some of you experiencing CTD's possibly caused by this issue!

BTiktp.png

 

I think this a must for the tips & tricks subforum. You may shorten it a bit but it should be pinned overthere.

- Harry 

9800x3D (Strix x870e-E)  -  64GB RAM (DDR5 6000, CL 30)  -  RTX 5090, 34'' 1440p OLED HDR  -  Windows 11 Pro (1TB M.2)  -  MSFS 2024 (MS Store, 4TB M.2).

thanks for this just had ctd first time for a few weeks gonna try this

jeff storey

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.