Author Topic: GSX Seated Passengers Maddog MD80  (Read 10146 times)

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 52835
    • VIRTUALI Sagl
Re: GSX Seated Passengers Maddog MD80
« Reply #15 on: August 19, 2024, 04:14:02 pm »
If there was an issue with that, it would happen to everybody and of course I could replicate it, which I couldn't. You said it happens even with no liveries installed, in this case, the ONLY file modified by GSX is this one:

lsh-maddogx-aircraft\SimObjects\Airplanes\MaddogX\model\MaddogX_exterior.xml

Can you post it before and after enabling passengers in GSX ?

Bananimal

  • Newbie
  • *
  • Posts: 8
Re: GSX Seated Passengers Maddog MD80
« Reply #16 on: August 19, 2024, 11:47:47 pm »
Just for giggles. I did a Rip/Replace of the aircraft. On first run, the default MD-82 was fine, the default MD-83 was missing the external model and then the default MD-88 was fine. Without restarting the sim, I loaded the MD-83 again after having just loaded the MD-88 and this time it was fine. So, even though I'd done this before and it didn't work then, it did this time.

Here are the steps for livery additions if you are using add-on linker like I am:

1. Enable the skins in Add-on Linker
2. Open the Fly the MaddogX Load Manager.
3. Within the load manager, select the aircraft you have added skins you enabled in Add-on Linker and then click the Liver Manager Button. You should see all your liveries in the Added column.
4. Click the Apply button in the liveries manager.
5. Open GSX and enable the MaddogX

That should work. It's working on my end, although I think I'm running into a skin number limitation for the MD-82 in the load manager. It appears it doesn't like more that 332 skins for some reason. Still trying to figure that one out, but for this model issue, the recommended rip/replace has worked and the steps above allow for the seated passengers.

Sorry I didn't get a chance to post this earlier.

icebird4all

  • Newbie
  • *
  • Posts: 15
Re: GSX Seated Passengers Maddog MD80
« Reply #17 on: September 22, 2024, 11:00:13 am »
it seems it was a problem with certain liveries.

That's why I asked which ones:

Quote
If you are noticing this with a particular livery, please provide a link or a reference to which livery is, exactly.

here are some screenshots - when activating the seated pax - a new folder model is made - not in all liveries but in many - and the model.cfg - which is made in this folder, has the wrong path - so the exterior model gets destroyed!

icebird4all

  • Newbie
  • *
  • Posts: 15
Re: GSX Seated Passengers Maddog MD80
« Reply #18 on: September 22, 2024, 01:30:05 pm »
to my post before - this are the affected liveries in my case:

lsh-maddogx-aircraft\SimObjects\Airplanes\MaddogX83\model.AAL
lsh-maddogx-aircraft\SimObjects\Airplanes\MaddogX88\model.DAL
lsh-maddogx-livery-AAL_METAL\SimObjects\Airplanes\MaddogX-livery-AAL_METAL\model.AAL
lsh-maddogx-livery-AeroMexico\SimObjects\Airplanes\MaddogX-Livery-AeroMexico\model.AMX
lsh-maddogx-livery-ALITALIA\SimObjects\Airplanes\MaddogX-Livery-ALITALIA\model.AZA
lsh-maddogx-livery-AMERICAN AIRLINES N501AA\SimObjects\Airplanes\MaddogX-Livery-AMERICAN AIRLINES N501AA\model.AAL
lsh-maddogx-livery-AMX\SimObjects\Airplanes\MaddogX-Livery-AMX\model.AMX
lsh-maddogx-livery-ARG90\SimObjects\Airplanes\MaddogX-Livery-ARG90\model.ARG
lsh-maddogx-livery-CSN\SimObjects\Airplanes\MaddogX-Livery-CSN\model.CSN
lsh-maddogx-livery-DL7\SimObjects\Airplanes\MaddogX-Livery-DL7\model.DAL
lsh-maddogx-livery-GWI\SimObjects\Airplanes\MaddogX-Livery-GWI\model.GWI
lsh-maddogx-livery-HAWAIIAN\SimObjects\Airplanes\MaddogX-Livery-HAWAIIAN\model.HAL
lsh-maddogx-livery-HBIND\SimObjects\Airplanes\MaddogX-Livery-HBIND\model.SWR
lsh-maddogx-livery-laser-silver-bullet-new\SimObjects\Airplanes\MaddogX-Livery-laser-silver-bullet-new\model.SIL
lsh-maddogx-livery-LNRMN\SimObjects\Airplanes\MaddogX-Livery-LNRMN\model.SAS
lsh-maddogx-livery-N1003X\SimObjects\Airplanes\MaddogX-Livery-N1003X\model.AMX
lsh-maddogx-livery-OE-LDP\SimObjects\Airplanes\MaddogX-Livery-OE-LDP\model.AUA
lsh-maddogx-livery-OE-LDV\SimObjects\Airplanes\MaddogX-Livery-OE-LDV\model.AUA
lsh-maddogx-livery-OE-LDX\SimObjects\Airplanes\MaddogX-Livery-OE-LDX\model.AUA
lsh-maddogx-livery-OE-LMBM\SimObjects\Airplanes\MaddogX-Livery-OE-LMBM\model.AUA
lsh-maddogx-livery-OE-LMC\SimObjects\Airplanes\MaddogX-Livery-OE-LMC\model.AUA
lsh-maddogx-livery-Olympic\SimObjects\Airplanes\MaddogX-Livery-Olympic\model.OAL
lsh-maddogx-livery-Real_Madrid\SimObjects\Airplanes\MaddogX-Livery-RealMadrid\model.DLH
lsh-maddogx-livery-SAS\SimObjects\Airplanes\MaddogX-Livery-SAS\model.SAS
lsh-maddogx-livery-SaudiArabianHZAPM\SimObjects\Airplanes\MaddogX-Livery-SaudiArabianHZAPM\model.SVA
lsh-maddogx-livery-SEDMX\SimObjects\Airplanes\MaddogX-Livery-SEDMX\model.SAS
lsh-maddogx-livery-SWR\SimObjects\Airplanes\MaddogX-Livery-SWR\model.SWR
lsh-maddogx-livery-United-Airlines-Battleship\SimObjects\Airplanes\MaddogX-Livery-United-Airlines\model.UAL
lsh-maddogx-livery-XA-AMP\SimObjects\Airplanes\MaddogX-Livery-XA-AMP\model.AMX

the content which is new in the model folder (MaddogX-Livery-OE-LDP) can be found in the attachment.

davidcherrie

  • Full Member
  • ***
  • Posts: 116
Re: GSX Seated Passengers Maddog MD80
« Reply #19 on: January 05, 2025, 12:50:50 pm »
Did that already. Results are the same. I'm well, well versed in files related to getting liveries working in the sim. I have over 4TB of skins all managed with PS scripting. So, there is definitely something wrong when the default install and default skins fail to load the external model with no custom skins installed. Remove GSX and the default skins go back to working. That tells me there is a potential issue in the XML file that GSX writes to the model.cfg file for the aircraft/skin.

Exactly the same with me. GSX causes the default aircraft with no liveries to disappear.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 52835
    • VIRTUALI Sagl
Re: GSX Seated Passengers Maddog MD80
« Reply #20 on: January 07, 2025, 01:50:26 pm »
Please provide the precise, exact link to a livery that has this problem, so I can check that.

davidcherrie

  • Full Member
  • ***
  • Posts: 116
Re: GSX Seated Passengers Maddog MD80
« Reply #21 on: January 17, 2025, 05:42:45 am »
Did that already. Results are the same. I'm well, well versed in files related to getting liveries working in the sim. I have over 4TB of skins all managed with PS scripting. So, there is definitely something wrong when the default install and default skins fail to load the external model with no custom skins installed. Remove GSX and the default skins go back to working. That tells me there is a potential issue in the XML file that GSX writes to the model.cfg file for the aircraft/skin.

Am exactly the same. Reinstalled multiple times with no other liveries installed and the default aircraft disappears and just shows the cabin when I turn on Seated Passengers.

WinterMelon

  • Newbie
  • *
  • Posts: 1
Re: GSX Seated Passengers Maddog MD80
« Reply #22 on: April 18, 2025, 08:08:55 pm »
For me, it happen in livery which install in md88, if I install the livery in md82, exterior works normal.
The livery I use come from Maddog https://www.flythemaddog.com/forum/index.php?/topic/13445-delta-airlines-oc-n995dl-md-88/

davidcherrie

  • Full Member
  • ***
  • Posts: 116
Re: GSX Seated Passengers Maddog MD80
« Reply #23 on: May 30, 2025, 08:05:52 am »
Still an issue. Tried to fly the MD88 in 2024 and still getting the same issue 10 months ago.

Jonwait

  • Newbie
  • *
  • Posts: 9
Re: GSX Seated Passengers Maddog MD80
« Reply #24 on: May 31, 2025, 06:18:02 pm »
Ooooooh !
I just discovered the model issue in FS24 comes from GSX ?

I was so annoyed at leonardo’s for having a bugged md80 with wheels disappearing after a while..

GSX with all it’s bugs is starting to annoy me, inbetween the fact that it’s disabled in cruise, even if the option is not checked, since last update couatl doesn’t even start, the boarding sequence is bugged, the gates stops are a mess.
Sigh

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 52835
    • VIRTUALI Sagl
Re: GSX Seated Passengers Maddog MD80
« Reply #25 on: May 31, 2025, 06:35:17 pm »
Ooooooh ! I just discovered the model issue in FS24 comes from GSX ?

Not exactly, it's a side effect of having enabled seated passengers in GSX, yes, but the REAL reason seems to be caused by an inconsistent (or not very logical) handling by the sim of upper/lower case in the various paths used in the config files, as I posted here after further testing:

https://www.fsdreamteam.com/forum/index.php/topic,33007.msg209001.html#msg209001

As I've said in the other thread, The problem begins with how the original model.cfg (before GSX modifications) is made:

[models]
exterior=..\..\MaddogX\Model\MaddogX_exterior.xml
interior=..\..\MaddogX\Model\MaddogX_interior.xml

But the model is installed into a folder called "model" in lower case. This shouldn't be a problem, because Windows is a case-insensitive filesystem, so a file located in a "model" or "Model" folder should always be found and, in fact, it works normally.

However, there must be *something* in the way MSFS 2020 loads the model (maybe while parsing the model.xml instead), where the case MATTERS and this causes a strange effect, at least this is what happened when I tested it just yesterday:

On MSFS 2020
On the initial loading, the cabin is missing. However, if you enter the HANGAR and select the Livery from the bottom scrollable list, the cabin loads normally and, if you enter a flight after doing this, it works and stay loaded for the rest of the session.

This seems to indicate, the Hangar has a different method of loading liveries than the normal loading, a method which makes more sense for Windows, being a case-insensitive filesystem.


On MSFS 2024
I tested with the SU3 Beta, and the livery that didn't work in MSFS 2020 unless you went to the Hangar first, worked at a first try. The other poster, who is the livery author, said it doesn't work with the regular SU2.

So, it's possible that, since it's very likely that using case-sensitive comparison on a case-insensitive filesystem like Windows would like have caused several other issues to all kind of airplanes (it's very easy to not notice a difference of case in path), it might have been reported to MS/Asobo and it was fixed in SU3, by making any file-loading check case-insensitive, which is the more logical choice in Windows.

That would be the only explanation I have why the livery that was reported as not working, worked for me at the first try.

Quote
GSX with all it’s bugs is starting to annoy me, inbetween the fact that it’s disabled in cruise, even if the option is not checked, since last update couatl doesn’t even start, the boarding sequence is bugged, the gates stops are a mess.Sigh

I don't know what this has to do with this thread.

Make a proper report of ALL these issues in their appropriate thread, with reproduction steps and description. That's the only way to have bug fixed: how can we fix bugs if we don't even know they exists ?
« Last Edit: May 31, 2025, 06:39:24 pm by virtuali »

davidcherrie

  • Full Member
  • ***
  • Posts: 116
Re: GSX Seated Passengers Maddog MD80
« Reply #26 on: June 01, 2025, 03:47:27 am »
Ooooooh !
I just discovered the model issue in FS24 comes from GSX ?

Yep, but although it is caused entirely by GSX, Umberto as shown will blame Asobo in a massive post rather than fixing the issue with an if statement.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 52835
    • VIRTUALI Sagl
Re: GSX Seated Passengers Maddog MD80
« Reply #27 on: June 01, 2025, 11:33:05 am »
Yep, but although it is caused entirely by GSX, Umberto as shown will blame Asobo in a massive post rather than fixing the issue with an if statement.

And somehow, you managed to be wrong, again:

We are talking about a failure to LOAD A FILE. And why is failing to load ? Because somewhere in the MSFS code, there must be a comparison on that file name/path using case-sensitivity. Read this again a case-sensitive comparison to decide to LOAD a file, on a CASE-INSENSITIVE filesystem!.

Considering how easy for anyone, like a repainter/modder, not not notice a single upper/lower case change when changing a file, I'm sure this must have happened to others, without using GSX so no, it's NOT caused "entirely by GSX", you might say it's a side effect of the way GSX patches the model PATHS in the exterior.xml, which requires taking the relative path from the model.cfg, the original one made by Leonardo BEFORE any changes, I'll post it again so, maybe, you'll understand this time:

[models]
exterior=..\..\MaddogX\Model\MaddogX_exterior.xml
interior=..\..\MaddogX\Model\MaddogX_interior.xml

However, the actual name of the model folder is model, all lower case. This WORKS, and of course anybody would expect to, Windows filesystem is a case-insensitive, so any standard file opening routine will surely found the file, even if the name is not *exactly* the same so no, I'm not "blaming" Leonardo for this, it's entirely understandable that anybody wouldn't pay attention to this.

However, when it must patch a livery, GSX must copy the original exterior XML, which points to the .gltf model, and change the name without any path (because the xml is copied from the base model) and add a relative path. So where the relative path is coming from ? From that model.cfg ABOVE, the one before any modifications!

So this line in the exterior .xml

<LOD minSize="0" ModelFile="MaddogX_exterior.gltf" />

Had to be changed to this:

<LOD minSize="0" ModelFile="..\..\MaddogX\Model\MaddogX_exterior.gltf" />

With the new relative path obviously taken from the above MODEL.CFG, as it supplied with the airplane. This line LOADS the .gltf model, which is a file, so you would think it ..\..\MaddogX\Model\MaddogX_exterior.gltf on Windows is the same as ..\..\MaddogX\model\MaddogX_exterior.gltf as loading files are concerned.

In fact, considering the model.cfg with the "wrong" path WORKS, why one could possibly guess the same "wrong" path wouldn't work anymore, when is used in the exterior model ?

But apparently this is what is happening. Either somewhere in the MSFS code a string comparison is made using case-sensitivity, or it's related to the fact MSFS uses a Virtual Filesystem so they use custom loading routine that don't work like the normal Windows filesystem, those are the most likely causes, we just happened to have discovered this due to the way GSX works, but it should be clear to anybody that using case-sensitivity when handling file loading on a case-insensitive OS, would surely soon or later cause problems.

And, it seems the Hangar view in some way "fixes" this, perhaps the code the loads the exterior model in the Hanger is DIFFERENT than the one the does the normal loading, so it explains why entering the hangar to select the Livery would fix the problem and the livery worked for the rest of the session.

And with MSFS 2024 SU3 Beta it loads right away, so maybe somebody else must have reported this, or it's just Asobo themselves who have thought that yes, maybe it's not the best idea loading stuff using case-sensitivity on Windows.

But that's besides the point. The point is that now the real issue is finally clear, I was able to modify the installer to CHECK these cases where there's an incoherency in casing in the model.cfg compared to the real name of the folder. You think that was easy ? It took a lot of effort because, almost every standard Windows path handling routine IGNORE the case, as it should be! But in the end it worked so now, the current version of the installer, explicitly checks for this case.

And while doing the fix, I could check all the airplanes supported by the Seated Passengers and, of all of them, only TWO had a case of incoherent case in the path names:

- The Leonardo Maddog, with the relative path in the model.cfg not matching the case of the path the airplane is installed into ( "Model" instead of "model" )

- The FBW A380, which comes in a folder named "Simobjects\AirPlanes" instead of "Simobjects\Airplanes" which is the actual name in the sim. However, due to the different way the airplane files are structured, this wasn't a problem for GSX, since we didn't need to look at that path when patching the copied exterior xml.

And again no, I'm not "blaming" Leonardo for this! We just happened to find an unknown quirk of MSFS that surfaced because the way GSX needs to create a new path by taking the one from the model.cfg.

About your "a massive post rather than fixing", the updated installer is already online since yesterday (before you wrote this) because, as always, when issues are found, they are ALWAYS fixed.
« Last Edit: June 02, 2025, 01:08:52 pm by virtuali »

davidcherrie

  • Full Member
  • ***
  • Posts: 116
Re: GSX Seated Passengers Maddog MD80
« Reply #28 on: June 02, 2025, 07:34:11 am »
It's only taken 10 months to fix... and I bet it took less time to fix than for you to write that entire post.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 52835
    • VIRTUALI Sagl
Re: GSX Seated Passengers Maddog MD80
« Reply #29 on: June 02, 2025, 01:16:44 pm »
Quote
and I bet it took less time to fix than for you to write that entire post.

How you manage to be always wrong, no matter what ?

It took considerable effort to "fix" something I shouldn't even had to fix on Windows, because almost every Windows standard file-opening, path handling and file comparison routing that is normally used, REFUSE to consider folders like "Model" and "model" to be different because, of course, on Windows, they ARE for all kind and purposes, equivalent.

And this is even complicated more by the fact, since the installer *must* use UNC pathnames (to support extra-long filenames), there are even less ways to recognize the "real" case of a folder, so you need to find some specific API calls (outside of .NET) which can give you the real pathname, including casing.

Not to mention this "fix" has obviously made scanning for airplanes slower, since all these tests and extra API calls over each file involved are not free: the require extra processing, extra care. All of this would have been totally unnecessary, if MSFS applied the standard Windows filesystem rules when dealing with pathnames in all situations, not just the hangar view.

And guess what, in MSFS 2024 the problem seems to have been fixed.