SDE Build 2590 - Please Help!

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
#1
New build is available at:

www.scruffyduck.co.uk/files/sde_current_build.zip.

This build includes a number of changes and fixes. Primarily it is now possible to load and save in XML formats. Also a number of other changes internally. The program can now read multiple ILS/Localizers for a single runway end and place them correctly in the XML code and object tree. I hope this will help the airport designers and enhancers among you :) (thank to Jim and Reggie for pushing me along to get this sorted out).

Given the wide range of changes and the fact that this should be an almost complete build I really would appreciate as many people as possible testing it out for me and letting me know of any problems. I am aware of some things that do not work and these are listed in the release notes. For developers I have not updated the developers notes and there are a few changes in how things work. I will do that once I know that the engine is reasonably stable.

Thanks in advance for your help and support
 

rhumbaflappy

Moderator
Staff member
Resource contributor
#3
Hi Jon.

I'm having problems with XML code that contains ModelData.

Code:
<ModelData sourceFile="testx.MDL" />
Dick
 
#4
I hope it is me but I am getting many SDE errors that stop the program.

So I tried something simple like add a Service to a airport.

That works fine and the service plus AVGAS and Jet is added at the bottom of the airport tree. I save as a XML in work folder, I close SDE and reopen to look at the xml. When I go to work folder and choose the service xml, SDE will not open and wants to shut down with the "if you continue" window expect problems etc. I check the XML with Cooktop and it is perfect.

Adding an approach to the airport tree works and allows all property to be entered until I now want to add the first legtype. Again SDE wants to shutdown because it says the TERMINAL_WAYPOINT is not recognized or valid.

I am using valid TERMINAL_WAYPOINTS listed for that airport record.

Don't jump on these issues yet until I get more famialiar with save and other issues that could be me.
 

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
#6
I hope it is me but I am getting many SDE errors that stop the program.

So I tried something simple like add a Service to a airport.

That works fine and the service plus AVGAS and Jet is added at the bottom of the airport tree. I save as a XML in work folder, I close SDE and reopen to look at the xml. When I go to work folder and choose the service xml, SDE will not open and wants to shut down with the "if you continue" window expect problems etc. I check the XML with Cooktop and it is perfect.

Adding an approach to the airport tree works and allows all property to be entered until I now want to add the first legtype. Again SDE wants to shutdown because it says the TERMINAL_WAYPOINT is not recognized or valid.

I am using valid TERMINAL_WAYPOINTS listed for that airport record.

Don't jump on these issues yet until I get more famialiar with save and other issues that could be me.

Hi Jim
Can I just confirm that these problems are coming from opening and saving in FS XML Format and not in loading from BGL? A screenshot of the error message is always helpful :)

Also when you say SDE wants to shut down could you tell me exactly what the error message is and when it happens? Are these coming from BGLComp when you try to compile? I will wait on doing anything for a bit :)
 

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
#7
One immediate thing to be careful of in saving to xml is that you will save only the xml that starts with the object you have highlighted. I need to add something in the test app (as with compiling) to stop users from saving snippets of XML or SDE (my mistake :eek: ). The only safe way to save XML or SDE is to make sure that the top node of the tree is highlighted first.

EDIT

I have found one problem with adding legs - I think I need to go back and check the XML code generators. At the moment they thow an error if the information they are getting is not recognized. Unfortunately in the case of legs, a new leg is created with an UNKNOWN type and the code generator does not recognize this and crashes as soon as you click on it. I will fix this and update the current build for download today.

EDIT 2

Found another bug in how things get initialized when you create a new object. Also creating a new boundary gives a problem with the way I have implemented the boundaryStart. I will change that today also. I think all the bugs so far relate to the way that SDE loads and saves XML (both FS XML and the SDE zipped format).
 
Last edited:

rhumbaflappy

Moderator
Staff member
Resource contributor
#8
Hi Jon.

SDE cannot process an XML with ModelData. The error is this:

System.Exception: Unexpected Type: ModelData Encountered

Code:
<?xml version="1.0"?>
<FSData
     version="9.0"
     xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
     xsi:noNamespaceSchemaLocation="bglcomp.xsd" >

<SceneryObject
      lat="42.6205089361821"
      lon="-88.5860883767104"
      alt="10.0"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="324.831184204198"
      imageComplexity="SPARSE">

      <LibraryObject
            name="{40656568-cda1-4432-8300-e6775aad6e95}"
            scale="1.0"/>
</SceneryObject>

<ModelData sourceFile="RedCube.MDL" />

</FSData>
Dick
 

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
#9
OK thanks Dick - that is a problem! SDE can't handle model code at the moment. I am just fixing some bugs in xml read/write and then I will look at that.

EDIT

I have fixed the exception error for the current build but the XML for ModelData won't compile in build 2591
 
Last edited:
Top