• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX Navigation Database Update

Messages
533
Country
france
Hello simmers and developers,

As some of you know, I release EasyFMC some years ago, a universal FMC that doesn't require a navigation database because it uses the sim internal database (fs9/FSX/P3D). EasyFMC uses the GPS software interface, explained in the great GPS guidebook, to read the database like the standard GPS does.
Everything was going OK until Hervé Sors had the great idea to propose a navdata update for FSX/P3D (http://www.aero.sors.fr/). He uses a BGL compiler to update the database according to AIRAC cycles.

The problem is that my EasyFMC doesn't work with his update. I tried to debug my EasyFMC until I realized it also fails with the standard GPS...
I made a test with the ROXER waypoint. As you can see on the image, it is visible on the map, it is alos in the BGL file, I checked this.

FSXMap.png


Then I tried to fly direct to ROXER using the standard GPS, and... it failed. ROXEN and ROXET were available, but no ROXER to be found...

UpdatedNavdata.png


If the standard GPS can't find it, I don't think my EasyFMC will ever be able to do it better.
Do you have any idea why this waypoint is there, visible on the map, but not accessible through the GPS?
Did Hervé miss something when he generated the BGL files of his update?

Any information is greatly welcome.

Thank you !!
Eric
 
Hi Eric,

I've never gotten into BGL files or editing the navigation database, so I don't know the proper way to permanently, and correctly, do that. However, your question reminded me of something that I've seen before, and it might be related. See what you think ...

One can edit a flight plan to add a 'USER' waypoint. Such waypoints are not searchable via ICAO search because the USER waypoint does not have a proper or permanent gps ICAO (and, assigning an Ident via FlightPlanNewWaypointIdent does not accomplish that). That would explain the results in your second picture, above, which is an IcaoSearch operation. The USER waypoint will show up on a LayerFlightPlan map because it has a lat/lon. So, check to see, or ask, if ROXER has a properly described ICAO in the database update.

It's been a while since I was first looking into User waypoints, but my conclusions are summarized in the table on page 111 of the GPS Guidebook (v.2.01).

Bob
 
Last edited:
Hi Bob,

I know what you are talking about. Indeed, you can create a flight plan in which you can have waypoints that are NOT in the sim database, they will appear on the GPS screen oand on the map. I experienced this when I developed the Wilco Airbus Series, the FMGS had teh ability to export a flight plan created with a Navigraph-updated database and it was working perfect with the standard GPS.
The problem is different here because:
1) No flight plan is loaded, so what I see on the FSX map can only be part of the internal database
2) I developed a BGL reader years ago, to understand how the BGL files are encoded. I used it today and I can confirm the ROXER waypoint exists in the database. I can even tell you in what BGL file it is located :)

The strange thing is that ROXER waypoint appears on the GPS screen but it cannot be queried. It i shown here, not named but I know it is ROXER.

GPS Screen.png

I definitely think the problem comes from the way the modified BGLs are generated. Something must be missing but I don't know what.

Thanks for your help and congratulations again for your great GPS guidebook :)

Eric
 
I definitely think the problem comes from the way the modified BGLs are generated. Something must be missing but I don't know what.
Eric,

I agree.

Can you confirm that the newly added ROXER waypoint has a full ICAO in the database? Without that, it cannot be queried but, with a lat/lon, could be displayed.

Bob
 
Good question... How can I know if the ICAO is full or not?
According to the info I found on the BGL structure, it looks OK. I even comared it with the structure of a waypoint in a non-updated BGL, it looks also OK, it seems everything is there: the type, the number of routes, longitude, latitude, magvar, ident (coded on a DWORD), ...
The only potential problem is about the route. The developer told me his update may mess up the airways, which is why the flight planner cannot be used any more. Do you think it may prevent the waypoint from being queried?
 
Hello Eric,

I don't know if you're still working this, but if so, and you still need a solution, you might consider posting this in the Scenery Design-AirportDesign; BGL Comp XML forum (I think that's the right one). The BGL folks there might have an idea.

Bob
 
Hi Bob,

Thanks for the advice, I will do that. I kind of gave up because I was unable to find an explanation, but I will post this same question in the other forum, hoping some specialist may help...

Eric
 
Eric,

Would you kindly send me a pm with the BGL file that includes ROXER attached?

Thanks,

Bob
 
Hi Eric
I'm following this thread ... I try to throw it down in my mind! Have you tried to investigate that there are no compatibility problems with the decimal separator between EasyFMC and the bgl file of aerosors?
 
Here is the BGL file that contains ROXER, it is ATX05020.bgl, located in <Your FSX Folder>\scenery\0502\scenery\
If you test it, make sure you backup the original ATX05020.bgl first.
I hope you can find an explanation...

Thanks for your help !!
Eric
 

Attachments

Hi Eric,

Thanks for sending the .bgl file that had been edited to include the new intersection, ROXER.

I have no difficulty finding ROXER in a NearestIntersection search which means it's working fine with the gps.dll module. ROXER also shows up on the map, and in a Nearest search run from the gps_500 gauge. For the Nearest search, my aircraft was holding on Rwy 04 at LERO. The search parameters are shown in the pic.

Based on this, I would say there is no problem with the new .bgl file.

Bob

ROXER.png
 
Last edited:
Replicating your first post, I didn't run into the problem that you did. Did the gps_500 *not* let you enter the final R in ROXER?

Bob

Roxer Direct To.png
 
Hi Bob,

This is very strange. I confirm ROXER is there, in the BGL file, because I wrote a BGL reader that finds it without any problem. I didn't run a NearestIntersection search as you did, I just tried to make a DIRECT. Even though ROXER was visible on the map (as shown on my screenshot), the GPS would find it for a DIRECT. When I typed ROXE and let the GPS propose the last character, it was proposing an N for ROXEN or a T for ROXET, but no ROXER. And when I tried to enter the last R to enter ROXER, I just had an empty result, like this:

ScreenShot064.png


I really don't understand why we had different results.
Maybe it is because my FSX didn't correctly update the database indexes after I changed the BGL files.
 
Yes, this is the explanation !!
I have just made a quick test with the ATX05020.BGL file I have attached. It appears FSX didn't update its internal database when I changed the original BGL with the updated one, so I forced the update by doing this:
1) I removed the original ATX05020.BGL file from the scenery folder
2) I ran FSX and saw the index update process running
3) I stopped FSX and put the updated ATX05020.BGL in the scenery folder
4) I ran FSX and saw the index update process running again. Then I was sure the internal database was correctly updated.
5) I tested the GPS and EasyFMC, everything work PERFECT !!

So the conclusion is : when replacing BGL files, FSX doesn't always properly updates its internal database, especially the indexes, even if the BGL file dates are more recent. This is strange...
Anyway, to make sure everything works, you must force FSX to update its indexes. I did it by removing (or renaming) the old BGL files and run FSX, there may be another way to do it.

I am happy that everything finally works fine.

Eric
 
when replacing BGL files, FSX doesn't always properly updates its internal database, especially the indexes, even if the BGL file dates are more recent
Interesting! Does anyone has tried other ways for properly reindexing (such as for ex deleting the idx files in the ProgramData\Microsoft\FSX\Facilities\ that are normally rebuilt at each sim launch)?

Hervé
 
Interesting! Does anyone has tried other ways for properly reindexing (such as for ex deleting the idx files in the ProgramData\Microsoft\FSX\Facilities\ that are normally rebuilt at each sim launch)?

Herve and Eric,

Perhaps I'm lucky because FSX automatically updated the scenery database for me after a simple cut, copy & paste of the old for the new bgl file and re-start of FSX.

This is where the scenery experts in the Scenery Design-AirportDesign; BGL Comp XML forum should be able to help. Why don't you update your question there to make it specific to re-indexing.

Anyway, great job figuring it out!

Bob
 
Hi Bob,

You're right, you may be lucky here, your FSX reacts exactly in the way it should (just like fs9 I used for years, I never had this kind of problem).
What version do you use? I use FSX Steam Edition.
I will update my question in the other section, hoping the experts can find an explanation...

Anyway, I am sure the EasyFMC users who reported me this problem after updating their Nav Data have had the same problem as me: no index update when updating the BGL files.

Eric
 
Back
Top