Jump to content

Addon xml Konfig Manager


Hüpper

Recommended Posts

Hallo Peter,

 

ich habe von Ultimate Traffic Live eine "add-on.xml" in "C:\Users\uwehe\Documents\Prepar3D v4 Add-ons\utLive" mit folgenden Inhalt (im Anhang)

 

--- schnipp ----

 

<?xml version="1.0"?>
<SimBase.Document id="add-on" version="4,0" Type="AddOnXml">
  <Addon.Name>Ultimate Traffic Live</Addon.Name>
  <Addon.Description>Real, scheduled, commercial ai aircraft traffic, for support please visit www.flight1.com</Addon.Description>
  <Addon.Component>
    <Category>EXE</Category>
    <Path>C:\SPIELE\PREPAR3D V4 TOOLS\FLIGHT ONE SOFTWARE\ULTIMATE TRAFFIC LIVE\utl_client.exe</Path>
  </Addon.Component>
  <Addon.Component>
    <Category>SimObjects</Category>
    <Path>C:\SPIELE\PREPAR3D V4 TOOLS\FLIGHT ONE SOFTWARE\ULTIMATE TRAFFIC LIVE\utLive Aircraft</Path>
  </Addon.Component>
</SimBase.Document>
 

--- schnapp ---

 

Die Existenz dieser Datei wird im Manager als leere Listenzeile aufgeführt. Siehe Bild vom ListView letzte Zeile ist für UTLive

Funktional kann ich diese Addon an- bzw. abschalten, wäre aber ein Blindflug, falls es mehrere solcher Zeilen gäbe.

Bearbeiten über den Manager geht auch nicht, da das Abspeichern den Content der Datei zerstört.

 

 

 

Kannst Du bitte mal Nachsehen woran es klemmt. Danke

 

Ahoj

-Uwe

 

 

 

 

 

Please login to display this image.

add-on.xml

Link to comment
Share on other sites

  • Developer

Hi,

 

die Datei ist nicht SDK Konform:

https://www.prepar3d.com/SDKv4/sdk/add-ons/add-on_packages.html

 

Problem war, dass XML Case sensitive ist und sich SIMstarter NG an diese Regel hält. Daher ist "Addon.Name" falsch und richtig wäre "AddOn.Name". Das Encoding fehlte auch. Komisch...

 

Das sollte passen:

<?xml version="1.0" encoding="utf-8"?>
<SimBase.Document Type="AddOnXml" version="4,0" id="add-on">
  <AddOn.Name>Ultimate Traffic Live</AddOn.Name>
  <AddOn.Description>Real, scheduled, commercial ai aircraft traffic, for support please visit www.flight1.com</AddOn.Description>
  <AddOn.Component>
    <Category>EXE</Category>
    <Path>C:\SPIELE\PREPAR3D V4 TOOLS\FLIGHT ONE SOFTWARE\ULTIMATE TRAFFIC LIVE\utl_client.exe</Path>
  </AddOn.Component>
  <AddOn.Component>
    <Category>SimObjects</Category>
    <Path>C:\SPIELE\PREPAR3D V4 TOOLS\FLIGHT ONE SOFTWARE\ULTIMATE TRAFFIC LIVE\utLive Aircraft</Path>
  </AddOn.Component>
</SimBase.Document>

Link to comment
Share on other sites

Hi Peter,

 

Du bist mein Held!

Nun funktioniert es so, wie es soll. Deinen Beitrag habe ich mir als Referenz abgespeichert, man weiß ja nie ob man es wieder mal irgendwann  braucht.

 

Merci für Deine Mühe!

 

Ahoj

-Uwe

 

 

 

 

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy & Terms of Use