tgibson
Resource contributor
- Messages
- 11,780
- Country

Hi Jim,
I do understand that Geo-Locked really means that the Orlando objects are locked outside of a 60 nm radius of the original location - IS *will* let you place these objects in the Orlando area. That is what I've always thought Geo-Locked meant.
I understand your example in FSX - the OBX28170.BGL file contains both SceneryObject placement code and ModelData sections. This is what I have always thought created geo-locked objects.
I also understand the geo-locking of FS9 objects specified in some OB files - there are both SceneryObject and ModelData sections for those in the same file. These would then be Geo-Locked.
But my question is about a file like Orlando.BGL in the FS9/Scenery/NAME/scenery folder. There appears to be no difference in the XML code as decompiled by BGL2XML (and by BglXML.exe as well) between a BGL file available world wide and the Orlando.BGL file that is locked into a 60 nm radius. The code for an example object in the Orlando.bgl file:
There is no other mention of this GUID in this Orlando.BGL file.
The placement code appears to be in the file OB9NAME0.BGL:
This is the only time this GUID is mentioned in this file, and it is not mentioned in any of the other 4 OB files in the NAME/scenery folder. Instant Scenery cannot find this object in any other OB file available while sitting at KORL (oddly enough that includes 4 OB9NAMC files (6 through 9) and the OB9NAMW1 file!). I can confirm that an object from the OB9NAMW1 file does appear just fine in FS9 at Orlando. I can also report that geo-locked objects in OB9OCEN1.BGL (placed in Hawaii and the South Pacific, I checked) are also available at KSFO but not at KORL (!).
So the Orlando.BGL file contains the ModelData lines but no SceneryObject placement code (as decompiled by BGL2XML), and the OB9NAME0.BGL file contains only SceneryObject placement code and no ModelData lines (again, as decompiled by BGL2XML), yet the Orlando.BGL file appears to be geo-locked. So is the required code either incorrectly missing from the decompiled XMl file or is FS9 using some other method of defining geo-locked objects in this case?
Very interesting...
I do understand that Geo-Locked really means that the Orlando objects are locked outside of a 60 nm radius of the original location - IS *will* let you place these objects in the Orlando area. That is what I've always thought Geo-Locked meant.
I understand your example in FSX - the OBX28170.BGL file contains both SceneryObject placement code and ModelData sections. This is what I have always thought created geo-locked objects.
I also understand the geo-locking of FS9 objects specified in some OB files - there are both SceneryObject and ModelData sections for those in the same file. These would then be Geo-Locked.
But my question is about a file like Orlando.BGL in the FS9/Scenery/NAME/scenery folder. There appears to be no difference in the XML code as decompiled by BGL2XML (and by BglXML.exe as well) between a BGL file available world wide and the Orlando.BGL file that is locked into a 60 nm radius. The code for an example object in the Orlando.bgl file:
Code:
<ModelData
name="060545a54d80527bbd03ffb4e3d0f9ad"
sourceFile="060545a54d80527bbd03ffb4e3d0f9ad.mdl"
fileOffset="0"/>
There is no other mention of this GUID in this Orlando.BGL file.
The placement code appears to be in the file OB9NAME0.BGL:
Code:
<SceneryObject
lat="28.1642273068428"
lon="-81.8072211742401"
alt="0.0M"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="136.049194335938"
imageComplexity="SPARSE">
<LibraryObject
name="060545a54d80527bbd03ffb4e3d0f9ad"
scale="1.00"
/>
</SceneryObject>
This is the only time this GUID is mentioned in this file, and it is not mentioned in any of the other 4 OB files in the NAME/scenery folder. Instant Scenery cannot find this object in any other OB file available while sitting at KORL (oddly enough that includes 4 OB9NAMC files (6 through 9) and the OB9NAMW1 file!). I can confirm that an object from the OB9NAMW1 file does appear just fine in FS9 at Orlando. I can also report that geo-locked objects in OB9OCEN1.BGL (placed in Hawaii and the South Pacific, I checked) are also available at KSFO but not at KORL (!).
So the Orlando.BGL file contains the ModelData lines but no SceneryObject placement code (as decompiled by BGL2XML), and the OB9NAME0.BGL file contains only SceneryObject placement code and no ModelData lines (again, as decompiled by BGL2XML), yet the Orlando.BGL file appears to be geo-locked. So is the required code either incorrectly missing from the decompiled XMl file or is FS9 using some other method of defining geo-locked objects in this case?
Very interesting...
