## Changes in the ASToFra tools in the last 90 days

#### MR [ 623 ] - 2025-12-06 12:21:30.661000

Fixed compile error when folder already exists
Fixed issue with previous merge request that resulted in compile error in certain cases.

#### MR [ 615 ] - 2025-12-06 11:47:53.575000

Resolve "Normals not shown in preview"
Added mention in manual that normal visualisation shader might not work on some hardware. Also clean up shader initialisation code. Closes #6801
Affected tools/features: ModelConverterX, Severity::bug, visualisation

#### MR [ 622 ] - 2025-12-06 11:22:39.777000

Resolve: "Development release check"
Fixed bug that it was not detected correctly if a build is a development release or not when checking for updates. Also made sure the development release is shown in the title bar when it is a development release build.
Affected tools/features: ModelConverterX, Severity::bug

#### MR [ 619 ] - 2025-11-28 18:28:14.588000

Resolve "Use X-Plane light name on export to X-Plane OBJ"
Updated hierarchy editor to be able to search for lights better (search for X-Plane name) and also so more details about lights. Closes #6782
Affected tools/features: ModelConverterX, Severity::feature-request, writer

#### MR [ 618 ] - 2025-11-28 13:52:58.462000

Resolve "Use X-Plane light name on export to X-Plane OBJ"
Improved writing of lights to X-Plane OBJ files. Before all lights point lights were exported with the name specified on the export file dialog, but now if the XPlaneName attribute of the light is set that name will be used as light type. Also added mapping from FS effect files to X-Plane light names. This can be found in the light_mapping.ini file. Closes #6782
Affected tools/features: ModelConverterX, Severity::feature-request, writer

#### MR [ 617 ] - 2025-11-27 06:17:35.491000

Resolve "model not shown in preview"
Fixed bug that when loading an object with only an internal representation that the preview control would initially activate the external representation and thus an empty screen is shown. Closes #6803
Affected tools/features: ModelConverterX, Severity::bug

#### MR [ 616 ] - 2025-11-26 20:22:43.480000

Resolve "not all GPW settings loaded"
Fixed bug that not all settings from a loaded GPW MGP settings file were stored correctly when the case of the material name differed between the model and the MPG file. Comparison is now done non case sensitive. Closes #6804
Affected tools/features: ModelConverterX, Severity::bug, editor

#### MR [ 614 ] - 2025-11-22 07:54:23.771000

Resolve "DirectX download link broken"
Updated download link that is used to download DirectX 9.0c when it is detected that this version is missing. The link used before was broken. Closes #6802
Affected tools/features: ModelConverterX, Severity::bug

#### MR [ 613 ] - 2025-11-21 19:11:36.186000

Resolve "Last location not remembered in all editors"
Made sure that the location control used in the for example the ground polygon wizard and the convert and place object wizard is initialized with the last used coordinates instead of always zero. Closes #6800
Affected tools/features: ModelConverterX, Severity::bug, UI

#### MR [ 604 ] - 2025-11-16 14:40:05.575000

Resolve "Support additional X-Plane commands"
Added support to X-Plane OBJ reader to read ANIM_hide/ANIM_shpw commands as visibility conditions. There is no mapping between X-Plane and FS variable names, the users has to convert the visibility condition code manually if conversion if needed. Closes #6760
Affected tools/features: ModelConverterX, Severity::feature-request, reader

#### MR [ 611 ] - 2025-11-15 09:11:23.882000

Resolve "Cleanup code smell"
Removed various code smells from the source code. Closes #6797
Affected tools/features: ModelConverterX, scenProc

#### MR [ 610 ] - 2025-11-14 19:40:33.414000

Resolve "Option to remove all visibility conditions"
Added option to the object writer to remove all mouse rectangles and/or visibility conditions from the object before exporting it. This option can be activated for any format in the export object dialog. This can be useful if you want to export an object as scenery that contains mouse rectangles or visibility conditions. Closes #6799
Affected tools/features: ModelConverterX, Severity::feature-request, writer

#### MR [ 609 ] - 2025-11-14 11:49:13.288000

Resolve "Cleanup compiler warnings"
Made sure the source code compiles without warnings.
Affected tools/features: ModelConverterX, scenProc

#### MR [ 608 ] - 2025-11-09 12:31:17.991000

Resolve "Animated parts exported wrong"
Fixed bug that removing a LOD from an object that cause export issues with animations in other LODs. This did happen when modelparts of different LODs are nested. Closes #6798
Affected tools/features: ModelConverterX, Severity::bug, writer

#### MR [ 607 ] - 2025-11-09 09:19:47.502000

Resolve "Calculate light direction from point"
Added functionality to place and update attached objects with the mouse in the preview directly. It is possible to place effects and lights and to update the position and orientation of attached effects. Closes #6373 Closes #745
Affected tools/features: ModelConverterX, Severity::feature-request, editor

#### MR [ 606 ] - 2025-11-04 06:40:54.338000

Resolve "SketchUp GLB imports upside down"
Added option to the glTF/glb reader that specifies which coordinate system is used. The default value is right handed Y upwards, but it is possible to specify another value. For example for SketchUp GLB models that seem to use a left handed Y downwards coordinate system. Closes #6792
Affected tools/features: ModelConverterX, Severity::bug, reader

#### MR [ 605 ] - 2025-11-01 11:19:03.572000

Resolve "PBR settings in X-Plane OBJ"
Added material conversion profile for X-Plane PBR materials so that P3D and MSFS PBR textures can be converted to X-Plane PBR textures. Also added support for TEXTURE_MAP command and fixed issue with DDS texture flipping for X-Plane OBJ files. Closes #4531
Affected tools/features: ModelConverterX, Severity::feature-request

#### MR [ 603 ] - 2025-10-31 16:18:43.471000

Resolve "Material conversion for MSFS optimized materials"
Added material profile for package MSFS objects, to allow conversion back to MSFS source material profile or other profiles. Closes #5770
Affected tools/features: ModelConverterX, Severity::feature-request, editor

#### MR [ 601 ] - 2025-10-31 10:40:01.667000

Resolve "Refactor material conversion"
Refactor material converter logic to be more generic, so that translation of materials between different simulators can be defined in a material profile, instead of having all conversions hard coded. Closes #6709
Affected tools/features: ModelConverterX, Severity::feature-request, editor

#### MR [ 602 ] - 2025-10-27 20:30:40.094000

Resolve "Export OpenFlight with relative texture names"
Fixed issue that OpenFlight writer would remove the backslashes from relative texture paths and replace them by an underscore. Now objects with relative texture names are exported correctly. Closes #6796
Affected tools/features: ModelConverterX, Severity::bug, writer

#### MR [ 598 ] - 2025-10-18 19:27:16.382000

Resolve "Support BC7 compressed textures"
Added support to read BC7 compressed textures from KTX2 files. Closes #6780
Affected tools/features: ModelConverterX, Severity::feature-request, reader

#### MR [ 600 ] - 2025-10-18 07:31:54.753000

Resolve "cockpit_detail variable range should include -1"
Modified default value of cockpit_detail variable from 0 to 65535 to ensure that CFS2 aircraft by default load with full detail in the VC. Also fixed issue that tooltip did not show for all variables in the user specified variable form on importing SCASM and older aircraft MDL files. Closes #6785
Affected tools/features: ModelConverterX, Severity::bug, reader

#### MR [ 599 ] - 2025-10-18 05:42:14.793000

Resolve "Allow renaming and converting of textures without saving the files"
Allow changing texture format in the material editor without having to save the textures to disk directly. Using the old "Save textures" button it is still possible to change the format and save directly as well. Closes #5637
Affected tools/features: ModelConverterX, Severity::feature-request, UI

#### MR [ 597 ] - 2025-10-17 15:30:33.932000

Resolve "Allow texture manipulation from material editor"
Added additional texture manipulations to the material editor texture context menu and the texture converter form. These manipulations are horizontal flip, rotate clockwise and rotate counter clockwise. Closes #1084
Affected tools/features: ModelConverterX, Severity::feature-request

#### MR [ 596 ] - 2025-10-17 05:38:26.057000

Resolve "Textures of MSFS objects flipped"
Fixed bug that when MSFS SimObject that has been run through the fspackagetool was loaded the DDS textures were vertically flipped. Closes #6777
Affected tools/features: ModelConverterX, Severity::bug, reader

#### MR [ 595 ] - 2025-10-14 20:06:40.718000

Resolve "Unsupported vkFormat 91"
Added support for reading vkFormat 91 from KTX2 textures (16 bit uncompressed data). In ModelConverterX the texture are internally store with 8 bit data, since ModelConverterX only supports that representation of the textures. So the additional details of the texture will not be shown in ModelConverterX. Closes #6795
Affected tools/features: ModelConverterX, Severity::bug, reader

#### MR [ 593 ] - 2025-10-13 20:00:46.705000

Resolve "Automatic texture conversion on export"
Added function to write textures to disk while exporting an object or scenery. With the "write textures" option in the file save dialog this function can be enabled. Additional settings allow setting options like the texture format, size requirement and output folder. Closes #628
Affected tools/features: ModelConverterX, Severity::feature-request

#### MR [ 594 ] - 2025-10-11 05:42:06.491000

Resolve: "Error opening manual"
Fix bug that pressing button to open manual gives an error.
Affected tools/features: ModelConverterX, Severity::bug, scenProc

#### MR [ 580 ] - 2025-10-08 04:11:08.908000

Resolve "Support MSFS livery packages"
Support reading of MSFS library packages. Made sure that the MSFS virtual file system is represented in ModelConverterX, so that relative references made in texture.cfg files work correctly. Note: for this change the default texture search path has been modified. So it is recommended to revert your settings to the default search path. Closes #5641
Affected tools/features: ModelConverterX, Severity::feature-request, reader, visualisation

#### MR [ 592 ] - 2025-10-06 19:43:42.404000

Resolve "Import MSFS scenery package"
Added reader to import MSFS dev project XML file into ModelConverterX. This will read the assets specified into the project into the tool (e.g. SimObject, BGL or ModelLib). Closes #6786
Affected tools/features: ModelConverterX, Severity::feature-request, reader

#### MR [ 591 ] - 2025-10-04 07:51:38.182000

Resolve "Batch converter format selection bug"
Fixed bug that file format selection in batch converter form did not result in exporting of objects or scenery using that format. Note: internally ModelConverterX stores the format selection differently now, which means that previously saved batch converter configurations (MBC files) will not work correctly anymore. You will need to load them in the batch converter, set the format to the right value again and then save them. Closes #6794
Affected tools/features: ModelConverterX, Severity::bug, editor

#### MR [ 590 ] - 2025-09-28 15:20:36.948000

Resolve "P3D PBR export does not work"
Fixed bug that when exporting a scenery the wrong writer was selected (offset from the selected format). Closes #6793
Affected tools/features: ModelConverterX, Severity::bug, writer

#### MR [ 589 ] - 2025-09-26 13:51:29.854000

Fixed crash with force simple shader
Fixed exception in the 3D preview code with force simple shader enabled.
Affected tools/features: ModelConverterX, Severity::crash, visualisation

#### MR [ 588 ] - 2025-09-26 10:46:59.652000

Improved default settings for FS2004 SDK
Better default values for the FS2004 BGLComp and MakeMDL tool to match the default installation path of the FS2004 SDK.
Affected tools/features: ModelConverterX, writer

#### MR [ 587 ] - 2025-09-26 07:39:02.127000

Resolve: "Crash when pressing import"
Fixed crash on pressing import with certain last selected format values from previous ModelConverterX version.
Affected tools/features: ModelConverterX, Severity::crash

#### MR [ 586 ] - 2025-09-24 20:19:55.989000

Resolve "Warning on packing MCX generated glTF file"
Made sure ASOBO_normal_map_convention attribute is written to glTF file to reduce the number of warnings in the fspackagetool. Also write copyright attribute when author name or company is set in the options. Closes #6779
Affected tools/features: ModelConverterX, Severity::bug, writer

#### MR [ 585 ] - 2025-09-24 04:01:12.399000

Resolve "Comp texture does not work in MSFS"
Fixed bug that comp texture in MSFS glTF file did not work correctly because of incorrect nesting of the occlusionTexture attribute of the material. Closes #6789
Affected tools/features: ModelConverterX, Severity::bug, writer

#### MR [ 584 ] - 2025-09-23 04:00:02.273000

Resolve "Show animation changes directly like transformations"
When editing animation keys in the animation key editor make sure that the 3D preview of ModelConverterX is updated automatically after each change to the keys to make editing easier. Closes #6791
Affected tools/features: ModelConverterX, Severity::feature-request, editor

#### MR [ 583 ] - 2025-09-22 05:35:43.972000

Resolve "Animation key editor first key values ignored"
Fixed issue that values of first key were always set to zero when opening animation key editor. Closes #6790
Affected tools/features: ModelConverterX, Severity::bug, editor

#### MR [ 582 ] - 2025-09-22 05:13:54.751000

Pipeline improvements
Improvements to the build and test pipeline to prevent the merge issue encountered with the previous merge.

#### MR [ 581 ] - 2025-09-22 05:13:05.144000

Resolve: "Fixed compile issues after merge"
Fixed compile issues after last merge into master.

#### MR [ 562 ] - 2025-09-21 12:03:07.062000

Resolve "Options in dialogs"
Moved options closer to where they are used (import and export file dialog). Also added new forms for remaining general options and preview options. Closes #550
Affected tools/features: ModelConverterX, Severity::feature-request

#### MR [ 579 ] - 2025-09-16 14:27:54.549000

Resolve "MSFS 2020 requires occlusionTexture entry with PBR comp texture"
Fixed issue that comp texture was not written in glTF file as occlusionTexture and therefore the package tool gave an error. Also made sure that the extraOcclusionTexture extension is written and read correctly. Closes #6787
Affected tools/features: ModelConverterX, Severity::bug, writer

#### MR [ 578 ] - 2025-09-15 19:31:09.613000

Resolve "System.FormatException: FsVariableInfo"
Fixed crash when initialising FsVariableInfo on computers that do not have the dot as decimal character. Closes #6745
Affected tools/features: ModelConverterX, Severity::crash