plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

In the upcoming flighting, we've changed the behaviour of the content.xml file. If your addon uses this file, please read this article!

Please take a moment to read the platform’s guidelines before you get started!


Idea

tsgucci avatar image
tsgucci suggested tsgucci commented

Model/Texture update without MSFS restart

It would be nice to be able to insert new models and textures to the model library without the need of restarting MSFS.

devmode
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

4 Comments

·
lapalabra avatar image
lapalabra commented

PLEASE! (tried all recommended "hacks" but not consistent)

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Losco_Nosciuto avatar image Losco_Nosciuto commented ·
Nah. There's one which always work.


YOUR MOD MUST NOT BE IN THE COMMUNITY FOLDER.

-Export your model

- open the new glTF file/s with a text editor.

-add a letter and remove it to activate saving

-save

-profit


0 Likes 0 ·
HybridNZ avatar image
HybridNZ commented

You can do this now in the virtual file system. No need to restart.

3 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

tsgucci avatar image tsgucci commented ·

Really? Is there any documentation/tutorial how to do it? In the SDK I could not find anything about it.


Thanks!

1 Like 1 ·
lapalabra avatar image lapalabra tsgucci commented ·
Desperately need this too, buddy. Please let me know if you ever figure it out!
0 Likes 0 ·
lapalabra avatar image lapalabra commented ·
+1 ... please, is there any documentation on how to do this which you speak of??
0 Likes 0 ·
Ironpot avatar image
Ironpot commented Ironpot edited

All you need to do to facilitate this is have developer mode open (InSim) and (for example) drop the generated Blender files BGL,XML and GLTF straight into the ModelLib folder of the project you have loaded (copy any textures into the MoldelLib texture folder if you’ve added textures). The result should be instantaneous. As mentioned, if you added textures, click Build.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingRaccoon avatar image
FlyingRaccoon commented

@tsgucci @lapalabra @HybridNZ @Ironpot
Hello
Is this still something you struggle with?
I ran some test and adding object and textures to an existing material library worked fine without restarting the game.
However, rebuilding the package containing that library was necessary. Once done, existing models in the scenery being edited are updated and add ones are available in the object list.

Now, being able to add new content through the UI would obviously be a nice addition.

2 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

tsgucci avatar image tsgucci commented ·

@FlyingRaccoon - Sylvain

Thanks for the heads up. As now I could clean up my editor, yes it seems that changing the gltf is refreshed in the simulator right away, changed textures are swapped after a rebuild.

However when the model has LOD's and you change a lower LOD model it seems that it is not updated.

Regarding LOD's it would be nice if the LOD values are changed in the xml it would be immediately taken over by the sim, because so far it only happens if the project is re-opened.

Thanks!

1 Like 1 ·
Ironpot avatar image Ironpot commented ·

@FlyingRaccoon - Sylvain, I tested this today on STEAM BETA version and can confirm the following:

Firstly, adding a new model whilst in DEV mode:

In DEV mode, adding a new model into ModelLib did not make it appear. I then Built the project (successfully) and reloaded the BGL (without exiting the project) - the model is now available to select as a scenery object in DEV mode. Any subsequent editing of the model (by copying and updated GLTF into the ModelLib folder instantly updates in DEV without building or exiting. Of course a Build is essential when completing the editing session to keep everything updated.


Secondly, adding new materials whilst in DEV mode:

In DEV mode I can place new materials (PNGs) in the materials\textures folder and then in the Material Editor, select File/New and add that new material and it is instantly available to use in an Apron. If I do NOT build, the material is still available when re-loading the project next time. However I always BUILD as a matter of course before I exit each time.


0 Likes 0 ·

Write a Comment

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.