Jump to content
Sign in to follow this  
arno

Library GUIDs and upload bldgs. Is there problem?

Recommended Posts

Guest Larrycx

Hi, I'm getting along pretty good with the Crawford (99V) Airport in Western Colorado USA "modernization". I have a nunber of buildings, a reservoir and an airport pond just about ready. THe water will be no problem because its LWM and CTP stuff. However the buildings were made with Gmax and the resulting models for FS2004 have GUIDs for the objects. I understand that Windows assigns these unique GUID values which means that my copy of windows knows what they mean. Can I upload only the BGLs or do I have to send one or more XMLs that have multiple objects in them along with all of the MDLS to allow recompile by any other users. The project has a few BGLs that I know can stand alone.Do any of the generated library objects exist outside of the MDLs and XMLs, if so where?Larry Costa

Share this post


Link to post
Share on other sites

Hi Larry,Only the BGL files is OK. In the XML code you can see the ModelDate tag which defines the object and attaches a GUID to the MDL. In the LibraryObject tag that GUID is then called again. So every PC knows which object belongs to the GUID.


Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites
Guest Larrycx

Thanks Arno,I wasn't at all sure about that. I guess I can tackle the upload mechanics now and what to include in it. I have a few details in the model to fix before I do that but it won't be long before I expose my work to this world. Larry

Share this post


Link to post
Share on other sites
Guest

IOW the GUID is used internally by the BGL compiler and registered internally inside the BGL (probably) so no registration in the Windows registry (like with ActiveX controls) is required.

Share this post


Link to post
Share on other sites

Yes, that is correct. It is stored in the BGL files and the scenery engine takes it from there. No interaction with Windows.So problems can only arise when you have the same GUID defined for more than one object.


Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites

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.
×
×
  • Create New...