add-on.xlm failed to see my new trees textures

Discussion related to terrain/scenery design.
User avatar
Aime
Posts: 61
Joined: Fri Nov 04, 2011 4:07 pm

add-on.xlm failed to see my new trees textures

Post by Aime »

Hi,
I've made texture replacement for the trees. (veg_Broadleaf_ChestnutMaple.dds, etc...)
I don't want to overwrite original ones in scenery\global\texture

I've put the DDS files here : C:\Users\ALE\Documents\Prepar3D v4 Add-ons\TREE\textures
& add-on.xml here : C:\Users\ALE\Documents\Prepar3D v4 Add-ons\TREE

I've try to use add-on.xml with this syntax :

<SimBase.Document Type="AddOnXml" version="3,3" id="add-on">
<AddOn.Name>Trees</AddOn.Name>
<AddOn.Description>Trees v1.3</AddOn.Description>
<AddOn.Component>
<Category>Texture</Category>
<Path>textures</Path>
<Type>GLOBAL</Type>
</AddOn.Component>
</SimBase.Document>

But I continue to see the default trees.
In P3dv4 I can see the addon windows declared in the addonXml.

What is wrong ?
Thanks for replies.

Aimé
W10 Prol 64-bit/ Giga X570 AORUS PRO/ Ryzen 9 3900X/ 16GB/ RTX2060/ SyncMaster B2430L/ SyncMaster 2333SW/ LG ULTRAWIDE/ Flight Yoke System/ Saitek Pro Flight Switch Panel/ Saitek Pro Flight Rudder Pedals/ Bravo Throttle Quadrant/ Trackir3
User avatar
WarpD
Posts: 1469
Joined: Mon Feb 14, 2011 5:29 am

Re: add-on.xlm failed to see my new trees textures

Post by WarpD »

Probably need an absolute path, and I would urge you to NOT use the Documents folder to place your textures.
Ed Wilson
Senior Developer
Mindstar Aviation
User avatar
Aime
Posts: 61
Joined: Fri Nov 04, 2011 4:07 pm

Re: add-on.xlm failed to see my new trees textures

Post by Aime »

Hi Ed

I've create a folder in the C:root
Change the path in addOnXml with abolute path

Nothing changed, I continue to see the original ones.

Question
Is GLOBAL value in addOnXml correspond to GLOBAL folder of P3D ?

Thanks
Aimé
W10 Prol 64-bit/ Giga X570 AORUS PRO/ Ryzen 9 3900X/ 16GB/ RTX2060/ SyncMaster B2430L/ SyncMaster 2333SW/ LG ULTRAWIDE/ Flight Yoke System/ Saitek Pro Flight Switch Panel/ Saitek Pro Flight Rudder Pedals/ Bravo Throttle Quadrant/ Trackir3
User avatar
WarpD
Posts: 1469
Joined: Mon Feb 14, 2011 5:29 am

Re: add-on.xlm failed to see my new trees textures

Post by WarpD »

If your OS is on your C: drive... you will run out of drive space, trust me. You should avoid placing addons on your OS drive, where possible. If this is a product for end users, then they're going to want to be able to install to other drives/paths.

As for why it's not overriding... I don't even know if it's supposed to.
Ed Wilson
Senior Developer
Mindstar Aviation
User avatar
Aime
Posts: 61
Joined: Fri Nov 04, 2011 4:07 pm

Re: add-on.xlm failed to see my new trees textures

Post by Aime »

Thanks for the advice, but that does not change anything for the display of textures to replace in global/texture.
I don't understand where the error is.

Regards
Aimé
W10 Prol 64-bit/ Giga X570 AORUS PRO/ Ryzen 9 3900X/ 16GB/ RTX2060/ SyncMaster B2430L/ SyncMaster 2333SW/ LG ULTRAWIDE/ Flight Yoke System/ Saitek Pro Flight Switch Panel/ Saitek Pro Flight Rudder Pedals/ Bravo Throttle Quadrant/ Trackir3
User avatar
Aime
Posts: 61
Joined: Fri Nov 04, 2011 4:07 pm

Re: add-on.xlm failed to see my new trees textures

Post by Aime »

Can I hope for a solution to my problem?
W10 Prol 64-bit/ Giga X570 AORUS PRO/ Ryzen 9 3900X/ 16GB/ RTX2060/ SyncMaster B2430L/ SyncMaster 2333SW/ LG ULTRAWIDE/ Flight Yoke System/ Saitek Pro Flight Switch Panel/ Saitek Pro Flight Rudder Pedals/ Bravo Throttle Quadrant/ Trackir3
User avatar
aeronauta
Posts: 1657
Joined: Sun Oct 23, 2011 1:56 am
Location: Melbourne, Australia

Re: add-on.xlm failed to see my new trees textures

Post by aeronauta »

change as follows ( also your folder)..

I've put the DDS files here : C:\Users\ALE\Documents\Prepar3D v4 Add-ons\TREE\Trees inside TREES put two folders : scenery and texture , scenery empty , inside texture your trees.dds

& add-on.xml here : C:\Users\ALE\Documents\Prepar3D v4 Add-ons\TREE

I've try to use add-on.xml with this syntax :

<SimBase.Document Type="AddOnXml" version="3,3" id="add-on">
<AddOn.Name>Trees</AddOn.Name>
<AddOn.Description>Trees v1.3</AddOn.Description>
<AddOn.Component>
<Category>Scenery</Category>
<Path>Tree</Path>
<Type>GLOBAL</Type> <<<this is default but leave it no harm..
<Layer>9</Layer> <<<important , without it the layer is at the top and wont show ..
</AddOn.Component>

Jorge
Jorge Roldan
OZx Developer (aero) - Hovercontrol Helicopter Certified Pilot - Spad.Next Beta Tester - VATPAC Pilot PR
System i9-9990 4.7Ghz 32GB W11 Nvidia GeForce RTX 2080 8GB
User avatar
Aime
Posts: 61
Joined: Fri Nov 04, 2011 4:07 pm

Re: add-on.xlm failed to see my new trees textures

Post by Aime »

Hi Jordge,

Thanks for answer, but unfortly, don't works for me.
The new scenery is detected when P3d launchs, as like a new scenery is installed, but I continue to see the default trees.

I've copy and past your code in add-on.xml as you write.
Don't understand what happen.

Thanks again to try help me.
Regards

Aimé
W10 Prol 64-bit/ Giga X570 AORUS PRO/ Ryzen 9 3900X/ 16GB/ RTX2060/ SyncMaster B2430L/ SyncMaster 2333SW/ LG ULTRAWIDE/ Flight Yoke System/ Saitek Pro Flight Switch Panel/ Saitek Pro Flight Rudder Pedals/ Bravo Throttle Quadrant/ Trackir3
User avatar
aeronauta
Posts: 1657
Joined: Sun Oct 23, 2011 1:56 am
Location: Melbourne, Australia

Re: add-on.xlm failed to see my new trees textures

Post by aeronauta »

Aime , can you tell me where you look for the new texture tree , say airport icao , I would like to test this ..
lets say for the veg_chestnutmaple.dds..

Jorge
Jorge Roldan
OZx Developer (aero) - Hovercontrol Helicopter Certified Pilot - Spad.Next Beta Tester - VATPAC Pilot PR
System i9-9990 4.7Ghz 32GB W11 Nvidia GeForce RTX 2080 8GB
User avatar
aeronauta
Posts: 1657
Joined: Sun Oct 23, 2011 1:56 am
Location: Melbourne, Australia

Re: add-on.xlm failed to see my new trees textures

Post by aeronauta »

For Ed from the SDK...

For each add-on package being processed, its add-on components, found inside the package, are processed in the order they are read. By default, add-on components processed via packages will take precedence over any add-on components not found in a package (i.e. entries in add-on configuration files).

the same if in an addon you have two components with the same name , the first one will be used the other discarded..

Jorge
Jorge Roldan
OZx Developer (aero) - Hovercontrol Helicopter Certified Pilot - Spad.Next Beta Tester - VATPAC Pilot PR
System i9-9990 4.7Ghz 32GB W11 Nvidia GeForce RTX 2080 8GB
User avatar
WarpD
Posts: 1469
Joined: Mon Feb 14, 2011 5:29 am

Re: add-on.xlm failed to see my new trees textures

Post by WarpD »

However, that does not discuss overriding core sim files, only duplicates from multiple packages.
Ed Wilson
Senior Developer
Mindstar Aviation
User avatar
Aime
Posts: 61
Joined: Fri Nov 04, 2011 4:07 pm

Re: add-on.xlm failed to see my new trees textures

Post by Aime »

For Jorge,

In fact, it's for my replacement trees for use on fotoreal sceneries who uses default trees, to avoid overwriting the original files in global/texture.

Here the files :
https://drive.google.com/file/d/0BzTKE8 ... sp=sharing

By the way, the user can activates or disables from the menu Option/Addons... from P3d.

Friendly
Aimé
W10 Prol 64-bit/ Giga X570 AORUS PRO/ Ryzen 9 3900X/ 16GB/ RTX2060/ SyncMaster B2430L/ SyncMaster 2333SW/ LG ULTRAWIDE/ Flight Yoke System/ Saitek Pro Flight Switch Panel/ Saitek Pro Flight Rudder Pedals/ Bravo Throttle Quadrant/ Trackir3
User avatar
aeronauta
Posts: 1657
Joined: Sun Oct 23, 2011 1:56 am
Location: Melbourne, Australia

Re: add-on.xlm failed to see my new trees textures

Post by aeronauta »

Aime , you have not told me where to look for the picture you show as comparicson , also the comparison is between V1 and V11 , how about default ,.. anyway try this
https://www.dropbox.com/s/ktwpvnat47ji69h/aime.zip?dl=0
download this zip , unzip it and place the aime folder anywhere you like , then inside there is a aime.bat file double click it and see..(thi s is for P3D V3 only)

Jorge
Jorge Roldan
OZx Developer (aero) - Hovercontrol Helicopter Certified Pilot - Spad.Next Beta Tester - VATPAC Pilot PR
System i9-9990 4.7Ghz 32GB W11 Nvidia GeForce RTX 2080 8GB
User avatar
aeronauta
Posts: 1657
Joined: Sun Oct 23, 2011 1:56 am
Location: Melbourne, Australia

Re: add-on.xlm failed to see my new trees textures

Post by aeronauta »

Sorry forgot to say , make sure P3D is not running when you execute the bat file..
Jorge
Jorge Roldan
OZx Developer (aero) - Hovercontrol Helicopter Certified Pilot - Spad.Next Beta Tester - VATPAC Pilot PR
System i9-9990 4.7Ghz 32GB W11 Nvidia GeForce RTX 2080 8GB
User avatar
aeronauta
Posts: 1657
Joined: Sun Oct 23, 2011 1:56 am
Location: Melbourne, Australia

Re: add-on.xlm failed to see my new trees textures

Post by aeronauta »

Ed yes ,I see but now "add-on components processed via packages will take precedence over any add-on components not found in a package (i.e. entries in add-on configuration files). " this may seem to be the answer , thats why I created a package for Aime ...will see....still one can read as you said ...ambiguous..

Jorge
Jorge Roldan
OZx Developer (aero) - Hovercontrol Helicopter Certified Pilot - Spad.Next Beta Tester - VATPAC Pilot PR
System i9-9990 4.7Ghz 32GB W11 Nvidia GeForce RTX 2080 8GB
Locked