default.xml via add-on.xml

#1
Hi, I want to add additional autogen informations to P3D4.1.
I try to use the add-on.xml method.
But every time I load this files the autogen inside the sim is messed up (especially ORBX is then missing autogen).
If I use the autogenconfiguration merger tool by arno, all is fine. It uses the same default.xml file.
I have no idea how to solve. What I'm doing wrong?
 

Attachments

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#2
Hi,

When you select a different autogen definition via the add-on.xml P3D will not actually merge them. It just replaces the definitions with the one you are pointing to. So in this case only your default.xml file will be used.

So the only way to merge is to use the Autogen Configuration Merge tool or have your own merging on install (for the default.xml file that is not so complex).
 
#3
Hi,

When you select a different autogen definition via the add-on.xml P3D will not actually merge them. It just replaces the definitions with the one you are pointing to. So in this case only your default.xml file will be used.

So the only way to merge is to use the Autogen Configuration Merge tool or have your own merging on install (for the default.xml file that is not so complex).
Hi Arno, thanks for your feedback. I already use your fantastic tool.
I assume the current behavior of P3Dv4 is a bug. In the SDK it is stated that P3Dv4 will read the add-on.xml as additional file. I hope P3Dv4.2 will fix it.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#4
It would be great if the Prepar3d engine will support merging in the end. But I'm not sure if they have it planned. The sdk documentation is a bit vague here.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#5
I just checked the SDK and it says:

Refers to a component that adds an additional autogen directory that Prepar3D can use to resolve autogen files.
So it adds another directory where the sim will look for autogen files to load. It doesn't means that if it finds multiple files they are merged the way I read it.
 
#6
I just checked the SDK and it says:



So it adds another directory where the sim will look for autogen files to load. It doesn't means that if it finds multiple files they are merged the way I read it.
Hm, maybe you are right. In my understanding I always read additional>merge and not alternative>replace
 
#7
There is also the autogen.cfg file where you can add folders like for simobjects, effects, ...
This does also not work in the meaning of merge.
 
#8
Another point: All Addon components are described as additional in the SDK. It makes no sense that he autogen should then behave different than the texture or scenery or simobjects components.
 
Top