Error reporting

My tools have the ability to report errors that encounter directly to my bug tracking system for a while. This helps me to fix these issues and make the tools better. Due to some recent changes in the bug tracking system the method I had implemented is no longer working. In the development release I have now fixed this so that hte error reporting works again. But this also means that errors reported from older version (including the current stable release) will not reach me anymore.

Support for Prepar3D v6 PBR materials

I have updated ModelConverterX now so that the additional PBR material options that Prepar3D v6 offers are also supported. There are a number of new material properties related to precipitation effects (including a new precipitation texture) and some other new material flags as well. Besides that P3D v6 also supports exporting vertex colors, so that has also been added to ModelConverterX.

You still need to export as P3D v4.4 MDL file from ModelConverterX (the MDL format is still called PV44), but you need to use the Prepar3D v6 XtoMDL to be able to use the new options.

Change log

A while ago I got the feedback that the change log that is included with my tools and can also be viewed here on the site was not really clear. The change log was automatically generated from the commit message in my version control.

Yesterday I have modified the script used to generate the change log, now it will be generated only from the merge requests and no longer from all commits. Also does it list more clear which tools are affected by a certain change. The only downsite is maybe that the layout is less fancy, but I didn’t want to spend too much time on that.

The improved change log is included in the tools from now on and can also still be viewed here on the site of course.

ModelConverterX changes

Over the last months I have been working on improving the FS2004 aircraft MDL export from ModelConverterX. While working on this I have made some changes that affect the general usage of ModelConverterX as well, so I want to give an overview of them in this post.

Attachpoint orientation

While making sure that landing lights and taxi lights of FS2004 aircraft export correctly, I have refactored the way the X file are writen by ModelConverterX. While working on this I have also double check that all attached effects, attached library objects and attached platforms are still working correctly in both FS2004, FSX and P3D. Everything is working consistently now.

But there is one change and that is that for some objects the orientation is now shown differently in MCX. For most attached objects the Z axis is the upward direction. For example an attached smoke stack will flow in the direction of the Z axis. But for landing lights and spot lights the direction of the light is different, they shine along the -Y axis. Before this used to by the +Y axis, so be aware that you need to position your lights differently now inside ModelConverterX.

Representations

FS2004 stores the virtual cockpit representation in the same MDL file as the external representation, while in FSX and P3D these are stored as two separate MDL files. To be able to export these representations to FS2004 correctly I have made a change to the internal representation that ModelConverterX uses for the objects. It is now possible to store different object representations and you can also select which one you want to render in the preview with a dropdown box. ModelConverterX supports the following representations:

  • External.
  • Internal (for virtual cockpit).
  • Shadow (used for custom shadow model, at the moment this representation can only be read from file and not yet exported).

The image below (which comes from the updated ModelConverterX manual btw), shows an example of the external and internal representation for an aircaft model.

When reading FS2004 aircraft MDL files or when reading aircraft using the aircraft.cfg file for FSX (or the sim.cfg file for P3D) ModelConverterX will now read the different representations into one object. If you just load a MDL of a specific FSX representation you only get the representation that you have loaded.

On export the FS2004 aircraft MDL exporter will write both representations to the MDL file when present. For all other exporters it depends on a new setting in the exporter settings. You can set them to either:

  • Give preference to the external representation and only write that one when present (this is the default value).
  • Give preference to the internal representation and only write that one when present.
  • Write separate files for each representation.

Found any bugs?

I have spend quite some time on testing all these changes, but I do also realize that they have a relative big impact on ModelConverterX as well whole. So if you encounter any issues or weird things with the current development release, please let me know by posting it on the forum. And I will make sure to look at them as soon as possible.

FS2004 aircraft mdl export

Some features are on the ModelConverterX wishlist for quite a while already. For example the feature request to export FS2004 aircraft mdl files with working animations and such is on the list for over 10 years already. And given that FS2004 is less popular nowadays I thought I might never come around to implement this feature request.

But sometimes strange things happen. A question from an user on the FSDeveloper forum triggered me to have another look at how MakeMDL handles custom animations and suddenly I realized it is not that different from how XtoMDL does it. Because I thought it might not be too hard to implement therefore, I decided to give it another try.

Of course reality is always different, because it still took me around 2 months to work on this. Once I had the animations exporting correctly, it turned out the reading of visibility conditions was not optimal and this affected the FS2004 aircraft mdl export as well.

But now that is all behind me and the latest development release of ModelConverterX can export a FS2004 aircraft MDL file with working animations and visibility conditions. I’m sure it will not work perfect on any aircraft around, but I think it should be a start for developers still working for FS2004. And if you encounter any issues with a specific model, just let me know via the forum.

Happy 20th anniversary

Today SceneryDesign.org is 20 years old. On 17 August 2003 I started this website as a new community for Flight Simulator scenery designers. I did this because there was a scenery design forum at AvSim.com at the time, but I thought a dedicated community where developers could share experiences would be useful as well.

After a couple of years the community expanded into other addons than scenery design as well and it was renamed to FSDeveloper.com, so in a way this is also the 20th anniversary of the FSDeveloper.com community.

A few years after the community was renamed to FSDeveloper.com I restarted the SceneryDesign.org website, but now the central website for information about my flight simulation tools and for my personal blog out my flight simulator activities. And that is what this website still is today.

64-bit only development releases

With the release of the new stable releases ModelConverterX 1.6 and scenProc 3.1, the development releases have also been updated. The ModelConverterX development release is now version 1.7 and the scenProc development release is now 3.2.

In these new development releases there is a big change directly, they only support 64-bit now. This means you can no longer run them on a 32-bit OS. A recent poll also showed that nobody was using the 32-bit version anymore. Therefore I have decided to simplify the build process and remove the support for the 32-bit version. A factor in that decision was also that I test and develop on 64-bit only, so the 32-bit version of the tools was already tested much less.

With these changes it is recommended that you do a clean install of the new development releases, instead of installing them over an older version.

ModelConverterX 1.6 stable release

I have just released a new stable release of ModelConverterX based on the current development release. This means that all changes made since the ModelConverterX 1.5 stable release are now part of the stable release as well.

The main differences between ModelConverterX 1.5 and 1.6 are:

  • Improvements to reading and writing DDS files
  • Support for factor of 4 texture sizes as used in MSFS
  • Correct rendering of MSFS normal maps in the preview
  • Allowing command line conversions with ModelConverterX
  • Many bug fixes and smaller improvements

You can find the download information for the new stable release on the ModelConverterX page.

scenProc 3.1 stable release

I have just released a new stable release of scenProc based on the current development release. This means that all changes made since the scenProc 3.0 stable release are now part of the stable release as well.

The main differences between scenProc 3.0 and 3.1 are:

  • Ability to export MSFS scenery as well
  • Updates to usability of the texture filter editor
  • New file format for the texture filter configuration and building texture configuration
  • Machine learning based SVM step in the texture filter editor for feature detection

You can find the download information for the new stable release on the scenProc page.

Prepar3D v6 support

Lockheed Martin has released a new version of Prepar3D, version 6. I have now updates my tools to support this version as well. That means you can select it as active FS version, that it will detect the installation location and that the SDK tools are also found from the Prepar3D v6 SDK.

The only disclaimer with this update is that I do not own Prepar3D v6 myself, so I have not been able to test everything. If you encounter any issues, please let me know.