• 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.

SHX File is Missing & New Objects are Ignored

Messages
16
Country
czechrepublic
Hi,

I've recently opened my long-term project, which used to work fine in past. But when I build package now, I do get error "SHX file is missing for shape file C:\MSFS SDK\Samples\New LKFR\PackageSources\scenery\LKFRSHP.shp" How can I get this "SHX" file? I have never needed it in past, the very same project version used to work fine about 2 months ago... I guess because of that I have no longer already placed polygons in my scenery.

1657317290024.png


Second issue is, that MSFS is now completely ignoring new objects I add to PackageSource folder as I used to add them before. There are just older objects, even though in the same folder are new ones. There is not even info about these new objects in console.

1657317343098.png


1657317357930.png


Objects lkfr 6 - 8 are new added objects. But they are not in game after building package...

Project is uploaded here: https://drive.google.com/file/d/1UWtiXKE6wD_Vm-rwXjm5QuNsxSrV9IYB/view?usp=sharing

I will appreciate any help cause I am completely lost again (spending much more time with fixing SDK Issues than building new scenery :( )
 
The shx can be recovered with QGIS

The Google drive you have linked is not accessible...

Inviato dal mio Mi 9 Lite utilizzando Tapatalk
 
Hello:

Regarding "prevention" of this issue with loss of ESRI Shape file data ...due to conversion into MSFS airport XML code:

FYI: There is still a way via MSFS SDK DevMode GUI, to save ESRI SHP files of ones vector data for Polygons, without all such object code ending up saved within the "airport" AFD XML file used for a project:

https://www.fsdeveloper.com/forum/threads/project-saving.454364/post-903037


If using ADE with the 2-Way Editing option set:

...you can save a ZIP of all project source files and package files via:

ADE Menu > Project > Backup


Regarding how to recover the *.SHX file for your project:


You can achieve your goal by using any GIS application such as QGIS, Global Mapper etc. to load your ESRI *.SHP file:

[un-ZIPped: New LKFR path]\New LKFR\PackageSources\scenery\LKFRSHP.shp


You could then output a vector format ESRI Shape file of all loaded data from that source file.

Note: a ESRI Shape file actually consists of (3) files:

A *.dbf file

A *.shx file

A *.shp file

In most (but not all) cases, a *.SHP file can be used to re-constitute a (3) file ESRI Shape file set via GIS software.


Thus, you 'may' then be able to use (3) duplicated and re-written ESRI SHAPE file(s) as a substitute for the 'lost' original file(s):

* LKFRSHP.dbf

* LKFRSHP.shx

* LKFRSHP.shp



I have attached (3) duplicated and re-written ESRI SHAPE file(s) output by Global Mapper GIS application from your source: ;)

[un-ZIPped: New LKFR path]\New LKFR\PackageSources\scenery\LKFRSHP.shp


Let me know if this worked OK for you. :)


GaryGB
 

Attachments

Last edited:

Attachments

  • LKFRSHP.zip
    LKFRSHP.zip
    39.8 KB · Views: 222
  • Screenshot (463).png
    Screenshot (463).png
    4.6 MB · Views: 251
Thank both of you, you have saved me dozens of hours. It works correctly now. Also thanks for additional info, if this happened again I would know how to fix it :)
 
Back
Top