June 1, 201610 yr Hi. Thanks for looking at the post... As so often, when I decompile a stock airport bgl file (using NewBglAnalyze.exe), recompiling it (with bglcomp.exe from the SDK), fails to produce a bgl file again. With CompileHelper.exe I get a whole list of errors. I assume that these were introduced by NewBglAnalyze (??). In this case, I am simply trying to change the ICAO code FAJS to FAOR (AP955410.BGL), but if I can't recompile even before I make any changes, I am off to a really bad start! Can anyone help me with the "errors" that come up (below) on this one? The result below is from trying to recompile the stock bgl to xml, no changes made by me inbetween. Is there a more reliable way to edit stock bgl files (without a huge learning curve!)? Maybe I need to purchase AFX? Or, I do have ADE9x, but not the full ProKey - it would be a lot cheaper to buy the ProKey than the relatively expensive AFX.... but as far as I can see the ADE ProKey is only good for stock airports (I am running the 15-day evaluation version at the moment, to test it out). Basically I can't see how to change the ICAO of a third party airport (which uses an AFX type AFCAD) other than buying AFX - I can do it in AFCAD2, but will lose data. Thanks, Martin Parsing document: E:\FS9 Utilities\BGL Decompilers\AP955410.xml ERROR C2033: XML Parse Error (line, column, error) ERROR: 12730, 10, enumeration constraint failed. The attribute: 'fixType' has an invalid value according to its data type. ERROR: Bad Fix Type.ERROR C2031: Failed element parse <Leg> ERROR C2032: XML Parse Error! Element tree follows: ERROR: <FSData ERROR: version = 9.0 ERROR: > ERROR: <Airport ERROR: ident = FAJS ERROR: region = ERROR: country = South Africa ERROR: state = ERROR: city = Johannesburg ERROR: name = Johannesburg Intl ERROR: lat = S26 8.02167 ERROR: lon = E028 14.53900 ERROR: alt = 1694.08M ERROR: magvar = 16.90 ERROR: > ERROR: <Approach ERROR: type = ILS ERROR: gpsOverlay = FALSE ERROR: runway = 3 ERROR: designator = LEFT ERROR: fixType = TERMINAL_WAYPOINT ERROR: fixIdent = OM03L ERROR: fixRegion = FA ERROR: heading = 15.18 ERROR: altitude = 8000.00F ERROR: missedAltitude = 8000.00F ERROR: > ERROR: <MissedApproachLegs ERROR: > ERROR: <Leg ERROR: type = VM ERROR: fixType = ERROR: fixRegion = ERROR: fixIdent = ERROR: turnDirection = L ERROR: magneticCourse = 213.0 ERROR: altitudeDescriptor = A ERROR: altitude1 = 8000.00F ERROR: > ERROR: ERROR C2033: XML Parse Error (line, column, error) ERROR: 12917, 10, enumeration constraint failed. The attribute: 'fixType' has an invalid value according to its data type. ERROR: Bad Fix Type.ERROR C2031: Failed element parse <Leg> ERROR C2032: XML Parse Error! Element tree follows: ERROR: <FSData ERROR: version = 9.0 ERROR: > ERROR: <Airport ERROR: ident = FAJS ERROR: region = ERROR: country = South Africa ERROR: state = ERROR: city = Johannesburg ERROR: name = Johannesburg Intl ERROR: lat = S26 8.02167 ERROR: lon = E028 14.53900 ERROR: alt = 1694.08M ERROR: magvar = 16.90 ERROR: > ERROR: <Approach ERROR: type = ILS ERROR: gpsOverlay = FALSE ERROR: runway = 3 ERROR: designator = RIGHT ERROR: fixType = TERMINAL_WAYPOINT ERROR: fixIdent = OM03R ERROR: fixRegion = FA ERROR: heading = 15.61 ERROR: altitude = 8000.00F ERROR: missedAltitude = 8000.00F ERROR: > ERROR: <MissedApproachLegs ERROR: > ERROR: <Leg ERROR: type = VM ERROR: fixType = ERROR: fixRegion = ERROR: fixIdent = ERROR: turnDirection = R ERROR: magneticCourse = 213.0 ERROR: altitudeDescriptor = A ERROR: altitude1 = 8000.00F ERROR: > ERROR: ERROR C2033: XML Parse Error (line, column, error) ERROR: 13104, 10, enumeration constraint failed. The attribute: 'fixType' has an invalid value according to its data type. ERROR: Bad Fix Type.ERROR C2031: Failed element parse <Leg> ERROR C2032: XML Parse Error! Element tree follows: ERROR: <FSData ERROR: version = 9.0 ERROR: > ERROR: <Airport ERROR: ident = FAJS ERROR: region = ERROR: country = South Africa ERROR: state = ERROR: city = Johannesburg ERROR: name = Johannesburg Intl ERROR: lat = S26 8.02167 ERROR: lon = E028 14.53900 ERROR: alt = 1694.08M ERROR: magvar = 16.90 ERROR: > ERROR: <Approach ERROR: type = ILS ERROR: gpsOverlay = FALSE ERROR: runway = 21 ERROR: designator = LEFT ERROR: fixType = TERMINAL_WAYPOINT ERROR: fixIdent = OM21L ERROR: fixRegion = FA ERROR: heading = 195.60 ERROR: altitude = 8000.00F ERROR: missedAltitude = 8000.00F ERROR: > ERROR: <MissedApproachLegs ERROR: > ERROR: <Leg ERROR: type = VM ERROR: fixType = ERROR: fixRegion = ERROR: fixIdent = ERROR: turnDirection = L ERROR: magneticCourse = 37.0 ERROR: altitudeDescriptor = A ERROR: altitude1 = 8000.00F ERROR: > ERROR: ERROR C2033: XML Parse Error (line, column, error) ERROR: 13292, 10, enumeration constraint failed. The attribute: 'fixType' has an invalid value according to its data type. ERROR: Bad Fix Type.ERROR C2031: Failed element parse <Leg> ERROR C2032: XML Parse Error! Element tree follows: ERROR: <FSData ERROR: version = 9.0 ERROR: > ERROR: <Airport ERROR: ident = FAJS ERROR: region = ERROR: country = South Africa ERROR: state = ERROR: city = Johannesburg ERROR: name = Johannesburg Intl ERROR: lat = S26 8.02167 ERROR: lon = E028 14.53900 ERROR: alt = 1694.08M ERROR: magvar = 16.90 ERROR: > ERROR: <Approach ERROR: type = NDB ERROR: gpsOverlay = FALSE ERROR: runway = 3 ERROR: designator = LEFT ERROR: fixType = NDB ERROR: fixIdent = JS ERROR: fixRegion = FA ERROR: heading = 15.17 ERROR: altitude = 6800.00F ERROR: missedAltitude = 8000.00F ERROR: > ERROR: <MissedApproachLegs ERROR: > ERROR: <Leg ERROR: type = VM ERROR: fixType = ERROR: fixRegion = ERROR: fixIdent = ERROR: turnDirection = L ERROR: magneticCourse = 213.0 ERROR: altitudeDescriptor = A ERROR: altitude1 = 8000.00F ERROR: > ERROR: ERROR: Compilation errors detected, compilation failed! Parse complete! Martin Stebbing, EGLF (UK)
Create an account or sign in to comment