albar965 / littlenavmap

Little Navmap is a free flight planner, navigation tool, moving map, airport search and airport information system for Flight Simulator X, Microsoft Flight Simulator 2020, Prepar3D and X-Plane.
https://albar965.github.io/littlenavmap.html
GNU General Public License v3.0
1.23k stars 161 forks source link

losing procedure in xplane 12 #1101

Closed Eyderoe closed 3 months ago

Eyderoe commented 3 months ago

Dear Albar965, I met lossing procedures in xp12 which might due to difference between xplane internal ident and ICAO ident.


software version list below: lmn 3.0.3.rc1 64-bit lmn-navdata AIRAC2312 xp12 12.0.9-rc-5 (just download from steam, without any addon) xp12-navdata AIRAC2312


for example in ZUTF: image setting like this image and i cant get any procedure image only after active some or all of navigraph features image I can get procedures image


although this can solve problem but this will lossing the procedures edit by myself so still hope to fix it I notice there's a issue similar to this ,and seem that it has been solved. https://github.com/albar965/littlenavmap/issues/448 and I also ask in group, only i have this problem


hope: use ICAO ident to read from xplane default navdata folder If you could solve the problem I will be appreciate it

albar965 commented 3 months ago

I see this here too. Will fix for next 3.0.X update.

albar965 commented 3 months ago

The problem is that the X-Plane ident XZ0015 does not resolve to ZUTF. This is then already a problem in the X-Plane scenery library. There is a file CIFP/ZUTF.dat but no airport with this internal ident.

You can rename your own CIFP/ZUTF.dat to CIFP/XZ0015.dat which might fix the issue. Or file an airport ident change in the X-Plane gateway.

With Use Navigraph for Navaids and Procedures enabled LNM does fuzzy search between two different databases which results in the right airport.

Eyderoe commented 3 months ago

Thanks for your reply and all your efforts

albar965 commented 3 months ago

I'm still thinking about this but I cannot imagine a solution which fixes this at scenery library compile time.

Best workaround would be to download XZ0015/ZUTF from the X-Plane gateway and the replace its ident XZ0015 with the real one in the apt.dat file. This would enable the custom procedures.

Eyderoe commented 3 months ago

@albar965 I know little about programing but I wonder whether its possible to replace the inner ident with ICAO when there's no conflict in reading scenery

albar965 commented 3 months ago

No programming knowledge needed.

Download the airport here: https://gateway.x-plane.com/airports/XZ0015/show I think you need an account to download. Then replace XZ0015 with ZUTF in the apt.dat which is a text file. Try it out.

At worst you will see two airports at the same location.

Eyderoe commented 3 months ago

ok I prefer rename the .dat files, and it works good