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

MSFS SDK Buggy?

Messages
1,025
Country
us-florida
I've been out of the development loop for MSFS for 2 years now and just launching back into things, but I'm finding I can't save my projects, stuff is getting nuked as it hasn't saved the project etc. Has anyone else been experiencing issues with the latest SDK?
 
Hi Dean:

I had issues with saving MSFS Projects via SDK DevMode GUI, and was losing some created custom Polygons saved within a DevMode session.

I was concerned with a reported deprecation of ESRI SHP files and instead moving certain scenery content otherwise saved in SHP files ...into XML.


I subsequently discovered that MSFS SDK DevMode GUI still can save- and utilize- ESRI SHP files:

https://www.fsdeveloper.com/forum/threads/having-trouble-creating-shp-file.456127/

Hi John:


IIUC, you are in part, referring to issues previously discussed here:

https://www.fsdeveloper.com/forum/threads/no-scn-files-saved.450762/

https://www.fsdeveloper.com/forum/threads/save-scenery-doesnt-prompt-me-to-save-a-shape-file.453259/




Reportedly, since SU9 the default behavior of MSFS SDK DevMode GUI is to write Polygon data into the Project (airport) XML.

I predict this will lead to impaired MSFS performance in areas that have multiple airports with larger (50 Km+) ARP test Radii.


However, we still have the option to save Polygon data to a *.SHP (ESRI Shape) file:

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


IIRC, if we 'check the box' to use *.SHP files, then certain Polygon data is stored in *.SHP ...rather than *.XML format.

I prefer *.SHP as I can work with data in various GIS applications to edit existing objects, and utilize open source GIS data sets.


Another use for *.SHP files is recovery of data, and for data derived from existing BGL files used as a "vector primitive" to be edited:

https://www.fsdeveloper.com/forum/t...ing-need-help-on-exclusion.452347/post-881241

GaryGB


I also found that although DevMode may initially prompt for a path to save a SHP when such files are enabled, multiple such SHP files may be used.


If SBuilderX is used to create or Append Lines that are extruded to assigned widths, then converted to Polys, they can be output to ESRI SHP files.

Alternatively, they can be compiled to FSX / P3D format CVX vector BGLs, then their (EPSG:4326) content derived via Patrick Germain's CvxExtractor.


If Patrick Germain's CvxExtractor outputs ESRI SHP files from FSX / P3D CVX vector BGLs, we can load / 'update' legacy Polygons in MSFS DevMode.


In ADE version 1.79x, 'work' SHP files output by XML2SHP intended for SHP2VEC may also be used as "primitive" Polygons.


AFAIK, the same would be true for 'work' SHP files output by FSX_KML.


Additionally, KML / KMZ files output by Google Earth Desktop Edition may be converted to ESRI SHP files for 'update' / use by MSFS SDK DevMode.


Furthermore, large scale development GIS data sets can be utilized also, provided all ESRI SHP file content is submitted to MSFS SDK in EPSG:4326.


One may also use a ESRI SHP file editor in a GIS enabled utility or application to add MSFS' proprietary Attributes prior to SHP export for MSFS use.


Saved SHP file objects in a \Scene or \Data sub-folder with 'incomplete' Attributes are read into "primitive" Polygons as a DevMode Project loads.

One may then select "primitive" Polygons in DevMode GUI to assign its intended MSFS Attribute, and they may be 'updated' for SDK compliant use.

As "primitive" Polygons in DevMode GUI are assigned Attributes in each individual object's appertaining Properties dialog, they are 'updated'.



More recently, my challenges have involved MSFS' SDK compiler not reporting issues resulting in failure of custom 3D models to display at run time.


Perhaps you have experienced one or more of the above MSFS SDK Project compilation issues as well ? :scratchch

GaryGB
 
Last edited:
My stuff was really basic, I'd created a vegetation poly via the SDK gui, but no ability to save the project via the GUI. There were only 3 vegetation polygons, which I've thankfully been able to save the xml file for. so I'm going to have to manually rebuild the project. For Brisbane city I need to re-build the XML street by street, something is failing where nothing has changed since the original, MSFS completely nuked the re-work I was doing to turn TIN excludes on. No biggie but slow going.

However, now my MSFS install has become really buggy and photogrammetry stopped working altogether, even though nothing is loaded in the community folder. Tried resetting the cache, no joy, turning all bing and photogrammetry switches off. So now I've uninstalled MSFS and am reinstalling it on a slow internet connection, so we're talking a day to rebuild and pretty sure it'll be a config somewhere that has gone corrupt.
 
If you attach or link a Project with the problems, someone may be able to sort it out. Some basic videos were made by Flying Theston that walk you through the early learning steps.
 
If you attach or link a Project with the problems, someone may be able to sort it out. Some basic videos were made by Flying Theston that walk you through the early learning steps.
Once I get my new rig re-set up, I'll post a project with the problems, thankfully the xml's are still there.
I'm having to re-install MSFS for the 4th time on my new rig :( Will go back through Flying Theston's tutorials to get back up to speed again. Ultimately I need a new NVMe drive and do a clean install of Windows 11 and go from there, when I moved back to Australia I had to move over to Mac and re-partition my Win 10 NVMe drive to just be a regular disk but having issues converting it back to a bootable drive. Also the Corsair RAM has some timing issues when 4 sticks are installed, completely stable with 32GB installed but 64GB Win 10 keeps BSOD. :(

Going to be busy this next week with film projects, so it'll be a week or so before I can get back into things fully.

IMG_3340.jpg
 
Not sure what's going on, but you shouldn't need to reinstall.
 
Not sure what's going on, but you shouldn't need to reinstall.
Photogrammetry stopped working completely for some reason, and I had to put my official and community folders onto an external drive as I'm currently booting windows off a USB SSD. Had been fine till the other day but once the PG stopped working I went through all the usual suspects with no joy, but then I turned on MSFS beta in Steam and that caused a 100GB reshuffle, then I turned it off so another reshuffle. I just need to get a new NVMe and start afresh with Windows 11 and slowly deconstruct my old win 10 nvme drive and make sure I don't lose any crucial data. The joys of PC's lol... That's something I never have to worry about on my Mac based film production computers lol. Both have their benefits and drawbacks lol
 
Back
Top