Jump to content

Add-On.xml Not Working


caleb1

Recommended Posts

Posted

I am using the add-on.xml procedure to install my addons outside of P3D v4.1's root directory.  I decided to test with the Alabeo Cessna 207.

 

I put an add-on.xml in the C:\Users\Caleb\Documents\Prepar3D v4 Add-ons\Alabeo folder, and this is what is in it:

 

<?xml version="1.0" encoding="utf-8"?>
<SimBase.Document Type="AddOnXml" version="4,0" id="add-on">
  <AddOn.Name>Alabeo</AddOn.Name>
  <AddOn.Description>Alabeo Aircraft</AddOn.Description>
  <AddOn.Component>
    <Category>SimObjects</Category>
    <Path>C:\Lockheed Martin\Addons\Alabeo\SimObjects</Path>
    <Name>Sim Obj.</Name>
  </AddOn.Component>
<AddOn.Component>
    <Category>Effects</Category>
    <Path>C:\Lockheed Martin\Addons\Alabeo\Effects</Path>
    <Name>Effects</Name>
  </AddOn.Component>
<AddOn.Component>
    <Category>Fonts</Category>
    <Path>C:\Lockheed Martin\Addons\Alabeo\Fonts</Path>
    <Name>Fonts</Name>
  </AddOn.Component>
<AddOn.Component>
    <Category>Gauges</Category>
    <Path>C:\Lockheed Martin\Addons\Alabeo\Gauges</Path>
    <Name>Gauges</Name>
  </AddOn.Component>
<AddOn.Component>
    <Category>Sound</Category>
    <Path>C:\Lockheed Martin\Addons\Alabeo\Sound</Path>
    <Name>Sound</Name>
  </AddOn.Component>
</SimBase.Document>

 

Is that correct? 

 

This is where I installed the Alabeo C207 to:

 

img007.jpg

 

And the C207 does not show up in P3D v4.1's vehicle list.

 

Am I doing something wrong or skipping a step?

 

Thanks in advance.

 

Caleb Byers

PC: HP Envy 750, Intel Core i7 6700 @ 3.4 GHz (max 4.0 GHz), 24GB RAM, Nvidia GeForce GTX 745 with 4GB Memory, 2TB SSHD Windows 10 Home 64 bit.

Simulators:  Prepar3D v3.4, Prepar3D v4.5, FSX:SE, FSX:Gold Edition

Using the FSX Deluxe Edition SDK SP2 for development.

Posted

What do you have in the SimObjects folder?  If you have a folder called Airplanes which in turn contains the actual aircraft folder, then the simobjects entry in the addon.xml file has to point to the Airplanes folder (not the Simobjects folder).

Posted

That was it.  I was thinking since the category was "SimObjects" then the path would be to the SimObjects folder.

 

Thanks a lot.

Caleb Byers

PC: HP Envy 750, Intel Core i7 6700 @ 3.4 GHz (max 4.0 GHz), 24GB RAM, Nvidia GeForce GTX 745 with 4GB Memory, 2TB SSHD Windows 10 Home 64 bit.

Simulators:  Prepar3D v3.4, Prepar3D v4.5, FSX:SE, FSX:Gold Edition

Using the FSX Deluxe Edition SDK SP2 for development.

Posted
1 hour ago, caleb1 said:

That was it.  I was thinking since the category was "SimObjects" then the path would be to the SimObjects folder.

 

Thanks a lot.

Be careful with your Name tags..., review the SDK documentation.  I believe only Scenery category uses name and that name must be unique.  As lzamm pointed out, the path provides P3D a reference to a location that must include the objects not more than one folder or layer down.  This is consistent with paths in scenery.cfg pointing to the folder that contains both scenery and texture subfolders, the process will look down one layer to find the referenced object.

Dan Downs KCRP

Posted
1 hour ago, downscc said:

Be careful with your Name tags..., review the SDK documentation.  I believe only Scenery category uses name and that name must be unique.  As lzamm pointed out, the path provides P3D a reference to a location that must include the objects not more than one folder or layer down.  This is consistent with paths in scenery.cfg pointing to the folder that contains both scenery and texture subfolders, the process will look down one layer to find the referenced object.

Ok.  I will keep that in mind.

Caleb Byers

PC: HP Envy 750, Intel Core i7 6700 @ 3.4 GHz (max 4.0 GHz), 24GB RAM, Nvidia GeForce GTX 745 with 4GB Memory, 2TB SSHD Windows 10 Home 64 bit.

Simulators:  Prepar3D v3.4, Prepar3D v4.5, FSX:SE, FSX:Gold Edition

Using the FSX Deluxe Edition SDK SP2 for development.

Archived

This topic is now archived and is closed to further replies.

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...