Actually I went a step further and started testing the Shuttle Fleet 4.7 install file by file to see which one either:
1. Caused Orbiter to CTD on program launch
2. Caused Orbiter to CTD after initializing GlideslopeMFD
So here are my findings. (all testing done with
Space Shuttle Atlantis/Atlantis docked at ISS default stock scenario)
I limited my testing to the Base folder only, since the initialization caused the original CTD after getting to a certain base file, namely Doberai.
Wishbone you were 100% correct, the file it first had trouble reading was Edwards.cfg.
The files are completely different in terms of code.
(however, GlideslopeMFD crashing Orbiter wasn't just limited to the Edwards.cfg file. Once I remedied Edwards, I found another issue. Details below)
Here is the default Edwards.cfg file:
Code:
BASE-V2.0
Name = Edwards
Location = -117.89 +34.92
Size = 2000
BEGIN_OBJECTLIST
LPAD2
POS 0 0 0
SCALE 0 0 0
TEX Lpad02
NAV 128.05
END
END_OBJECTLIST
And here is the modified Edwards.cfg provided by the Shuttle Fleet 4.7 install:
Code:
BASE-V2.0
Name = EDW - Edwards AFB
Location =-117.92 +34.892
Size = 200
MapObjectsToSphere = TRUE
BEGIN_NAVBEACON
VOR EDWX -117.92 34.892 112.55 1500
END_NAVBEACON
BEGIN_OBJECTLIST
BLOCK
POS -1645.882513 0 1453.751956
SCALE 3 3 0.01
ROT 35
TEX1 mark15 1 1
TEX2
TEX3
END
BLOCK
POS -1717.553331 0 1368.338001
SCALE 3 3 0.01
ROT 35
TEX1 mark15 1 1
TEX2
TEX3
END
BLOCK
POS 1717.553331 0 -1368.338001
SCALE 3 3 0.01
ROT 35
TEX1 mark15 1 1
TEX2
TEX3
END
BLOCK
POS 1645.882513 0 -1453.751956
SCALE 3 3 0.01
ROT 35
TEX1 mark15 1 1
TEX2
TEX3
END
BLOCK
POS -1412.389327 0 1257.82791
SCALE 3 3 0.01
ROT 35
TEX1 mark14 1 1
TEX2
TEX3
END
BLOCK
POS -1484.060146 0 1172.413955
SCALE 3 3 0.01
ROT 35
TEX1 mark14 1 1
TEX2
TEX3
END
BLOCK
POS 1484.060146 0 -1172.413955
SCALE 3 3 0.01
ROT 35
TEX1 mark14 1 1
TEX2
TEX3
END
BLOCK
POS 1412.389327 0 -1257.82791
SCALE 3 3 0.01
ROT 35
TEX1 mark14 1 1
TEX2
TEX3
END
BLOCK
POS -1178.896142 0 1061.903864
SCALE 3 3 0.01
ROT 35
TEX1 mark13 1 1
TEX2
TEX3
END
BLOCK
POS -1250.56696 0 976.4899089
SCALE 3 3 0.01
ROT 35
TEX1 mark13 1 1
TEX2
TEX3
END
BLOCK
POS 1250.56696 0 -976.4899089
SCALE 3 3 0.01
ROT 35
TEX1 mark13 1 1
TEX2
TEX3
END
BLOCK
POS 1178.896142 0 -1061.903864
SCALE 3 3 0.01
ROT 35
TEX1 mark13 1 1
TEX2
TEX3
END
BLOCK
POS -945.4029564 0 865.9798184
SCALE 3 3 0.01
ROT 35
TEX1 mark12 1 1
TEX2
TEX3
END
BLOCK
POS -1017.073775 0 780.565863
SCALE 3 3 0.01
ROT 35
TEX1 mark12 1 1
TEX2
TEX3
END
BLOCK
POS 1017.073775 0 -780.565863
SCALE 3 3 0.01
ROT 35
TEX1 mark12 1 1
TEX2
TEX3
END
BLOCK
POS 945.4029564 0 -865.9798184
SCALE 3 3 0.01
ROT 35
TEX1 mark12 1 1
TEX2
TEX3
END
BLOCK
POS -711.9097709 0 670.0557726
SCALE 3 3 0.01
ROT 35
TEX1 mark11 1 1
TEX2
TEX3
END
BLOCK
POS -783.5805893 0 584.6418172
SCALE 3 3 0.01
ROT 35
TEX1 mark11 1 1
TEX2
TEX3
END
BLOCK
POS 783.5805893 0 -584.6418172
SCALE 3 3 0.01
ROT 35
TEX1 mark11 1 1
TEX2
TEX3
END
BLOCK
POS 711.9097709 0 -670.0557726
SCALE 3 3 0.01
ROT 35
TEX1 mark11 1 1
TEX2
TEX3
END
BLOCK
POS -478.4165853 0 474.1317267
SCALE 3 3 0.01
ROT 35
TEX1 mark10 1 1
TEX2
TEX3
END
BLOCK
POS -550.0874038 0 388.7177713
SCALE 3 3 0.01
ROT 35
TEX1 mark10 1 1
TEX2
TEX3
END
BLOCK
POS 550.0874038 0 -388.7177713
SCALE 3 3 0.01
ROT 35
TEX1 mark10 1 1
TEX2
TEX3
END
BLOCK
POS 478.4165853 0 -474.1317267
SCALE 3 3 0.01
ROT 35
TEX1 mark10 1 1
TEX2
TEX3
END
BLOCK
POS -244.9233998 0 278.2076808
SCALE 3 3 0.01
ROT 35
TEX1 mark9 1 1
TEX2
TEX3
END
BLOCK
POS -316.5942183 0 192.7937254
SCALE 3 3 0.01
ROT 35
TEX1 mark9 1 1
TEX2
TEX3
END
BLOCK
POS 316.5942183 0 -192.7937254
SCALE 3 3 0.01
ROT 35
TEX1 mark9 1 1
TEX2
TEX3
END
BLOCK
POS 244.9233998 0 -278.2076808
SCALE 3 3 0.01
ROT 35
TEX1 mark9 1 1
TEX2
TEX3
END
BLOCK
POS -11.43021424 0 82.28363497
SCALE 3 3 0.01
ROT 35
TEX1 mark8 1 1
TEX2
TEX3
END
BLOCK
POS -83.10103272 0 -3.130320438
SCALE 3 3 0.01
ROT 35
TEX1 mark8 1 1
TEX2
TEX3
END
BLOCK
POS -1645.782513 0 1453.751956
SCALE 3 3 0.01
ROT 35
TEX1 mark1 1 1
TEX2
TEX3
END
BLOCK
POS -1717.453331 0 1368.338001
SCALE 3 3 0.01
ROT 35
TEX1 mark1 1 1
TEX2
TEX3
END
BLOCK
POS 1717.453331 0 -1368.338001
SCALE 3 3 0.01
ROT 35
TEX1 mark1 1 1
TEX2
TEX3
END
BLOCK
POS 1645.782513 0 -1453.751956
SCALE 3 3 0.01
ROT 35
TEX1 mark1 1 1
TEX2
TEX3
END
BLOCK
POS -1412.289327 0 1257.82791
SCALE 3 3 0.01
ROT 35
TEX1 mark2 1 1
TEX2
TEX3
END
BLOCK
POS -1483.960146 0 1172.413955
SCALE 3 3 0.01
ROT 35
TEX1 mark2 1 1
TEX2
TEX3
END
BLOCK
POS 1483.960146 0 -1172.413955
SCALE 3 3 0.01
ROT 35
TEX1 mark2 1 1
TEX2
TEX3
END
BLOCK
POS 1412.289327 0 -1257.82791
SCALE 3 3 0.01
ROT 35
TEX1 mark2 1 1
TEX2
TEX3
END
BLOCK
POS -1178.796142 0 1061.903864
SCALE 3 3 0.01
ROT 35
TEX1 mark3 1 1
TEX2
TEX3
END
BLOCK
POS -1250.46696 0 976.4899089
SCALE 3 3 0.01
ROT 35
TEX1 mark3 1 1
TEX2
TEX3
END
BLOCK
POS 1250.46696 0 -976.4899089
SCALE 3 3 0.01
ROT 35
TEX1 mark3 1 1
TEX2
TEX3
END
BLOCK
POS 1178.796142 0 -1061.903864
SCALE 3 3 0.01
ROT 35
TEX1 mark3 1 1
TEX2
TEX3
END
BLOCK
POS -945.3029564 0 865.9798184
SCALE 3 3 0.01
ROT 35
TEX1 mark4 1 1
TEX2
TEX3
END
BLOCK
POS -1016.973775 0 780.565863
SCALE 3 3 0.01
ROT 35
TEX1 mark4 1 1
TEX2
TEX3
END
BLOCK
POS 1016.973775 0 -780.565863
SCALE 3 3 0.01
ROT 35
TEX1 mark4 1 1
TEX2
TEX3
END
BLOCK
POS 945.3029564 0 -865.9798184
SCALE 3 3 0.01
ROT 35
TEX1 mark4 1 1
TEX2
TEX3
END
BLOCK
POS -711.8097709 0 670.0557726
SCALE 3 3 0.01
ROT 35
TEX1 mark5 1 1
TEX2
TEX3
END
BLOCK
POS -783.4805893 0 584.6418172
SCALE 3 3 0.01
ROT 35
TEX1 mark5 1 1
TEX2
TEX3
END
BLOCK
POS 783.4805893 0 -584.6418172
SCALE 3 3 0.01
ROT 35
TEX1 mark5 1 1
TEX2
TEX3
END
BLOCK
POS 711.8097709 0 -670.0557726
SCALE 3 3 0.01
ROT 35
TEX1 mark5 1 1
TEX2
TEX3
END
BLOCK
POS -478.3165853 0 474.1317267
SCALE 3 3 0.01
ROT 35
TEX1 mark6 1 1
TEX2
TEX3
END
BLOCK
POS -549.9874038 0 388.7177713
SCALE 3 3 0.01
ROT 35
TEX1 mark6 1 1
TEX2
TEX3
END
BLOCK
POS 549.9874038 0 -388.7177713
SCALE 3 3 0.01
ROT 35
TEX1 mark6 1 1
TEX2
TEX3
END
BLOCK
POS 478.3165853 0 -474.1317267
SCALE 3 3 0.01
ROT 35
TEX1 mark6 1 1
TEX2
TEX3
END
BLOCK
POS -244.8233998 0 278.2076808
SCALE 3 3 0.01
ROT 35
TEX1 mark7 1 1
TEX2
TEX3
END
BLOCK
POS -316.4942183 0 192.7937254
SCALE 3 3 0.01
ROT 35
TEX1 mark7 1 1
TEX2
TEX3
END
BLOCK
POS 316.4942183 0 -192.7937254
SCALE 3 3 0.01
ROT 35
TEX1 mark7 1 1
TEX2
TEX3
END
BLOCK
POS 244.8233998 0 -278.2076808
SCALE 3 3 0.01
ROT 35
TEX1 mark7 1 1
TEX2
TEX3
END
RUNWAY
END1 -1915.1 0 1606.969024
END2 1915.1 0 -1606.969024
WIDTH 91.5
ILS1 114.3
ILS2 114.3
RWTEX Runway2
NRWSEG 15
RWSEG1 1 0.025 0.5 0.75 1 0.852
RWSEG2 1 0.025 0.5 0.75 1 0.852
RWSEG3 1 0.007 0.5 0.75 0.852 0.7305
RWSEG4 1 0.06 0.5 0.75 0.5 0.03125
RWSEG5 1 0.007 0.5 0.75 0.7305 0.6133
RWSEG6 1 0.1 0.5 0.75 0.5 0.03125
RWSEG7 1 0.007 0.5 0.75 0.6133 0.5
RWSEG8 6 0.538 0.5 0.75 0.5 0.03125
RWSEG9 1 0.007 0.5 0.75 0.5 0.6133
RWSEG10 1 0.1 0.5 0.75 0.03125 0.5
RWSEG11 1 0.007 0.5 0.75 0.6133 0.7305
RWSEG12 1 0.06 0.5 0.75 0.03125 0.5
RWSEG13 1 0.007 0.5 0.75 0.7305 0.852
RWSEG14 1 0.025 0.5 0.75 0.852 1
RWSEG15 1 0.025 0.5 0.75 0.852 1
END
RUNWAYLIGHTS
END1 -1915.1 0 1606.969024
END2 1915.1 0 -1606.969024
WIDTH 91.5
PAPI 20.0 2.0 -2287
VASI 1.5 152 671
END
END_OBJECTLIST
At first I thought it had trouble reading the newer file because
Name = EDW - Edwards AFB instead of
Name = Edwards but turns out it didn't matter. Glideslope still caused a CTD both ways.
So I've determined that a part of the coding in the new Edwards.cfg is causing the CTD on Glideslope initialization, but I wanted to see if the other 3 base config files in the 4.7 install also caused issues.
My findings:
(Updated file) Canaveral.cfg - loaded correctly in Glideslope
(Updated file) Edwards.cfg - (previously discussed)
(Updated file) Vandenburg.cfg - loaded correctly in Glideslope
(NEW file) ZZA.cfg - loaded correctly in Glideslope BUT Orbiter randomly CTDs on program launch
I don't have experience editing .dll files so I have no way of knowing what kind of naming structure the module looks for when reading the base config files.
All I know is Shuttle Fleet's Edwards.cfg has something in it GlideslopeMFD doesn't like.
There could be more issues with additional files Shuttle Fleet adds to the Orbiter installation but all I tested were the four base config files it adds.
---------- Post added at 05:19 ---------- Previous post was at 05:12 ----------
I found the culprit.
The first part of the modified Edwards.cfg file:
Code:
BASE-V2.0
Name = EDW - Edwards AFB
Location =-117.92 +34.892
Size = 200
MapObjectsToSphere = TRUE
There's no space between
Location = and
-117.92. I know how touchy syntax can be, so I'm guessing since there's no space Glideslope can't read the location of Edwards AFB and crashes Orbiter.
For good measure I also deleted the extra spaces between -117.92 and +34.892.
Glideslope was able to completely load all bases using the same stock Atlantis scenario.
Now it's time to test out a full Shuttle Fleet 4.7 install.
---------- Post added at 05:26 ---------- Previous post was at 05:19 ----------
Tested the
Discovery on orbit scenario file provided by Shuttle Fleet 4.7.
Orbiter CTD'd on program launch 2 out of 5 times.
The three times it did launch though, all bases successfully loaded into GlideslopeMFD.
Hooray!
Now I have to figure out why Glideslope doesn't like the ZZA.cfg file. It's the only file that was added to the Base folder, so my thoughts are it's not somehow hard coded into the module?
Even though it reads it just fine as is.
This issue I may need some help with.