PDA

View Full Version : XML file for pins?



Weepdrag
March 13th, 2023, 19:24
Hello All,
Which XML file holds the pin location information for a map? I went through the exported XML and occluders are there but no pin data.

Thanks in advance

Sulimo
March 13th, 2023, 19:39
It's in the db.xml.

They are not listed as Pins, they are called Shortcuts.


An Example:


<image type="image">
<bitmap>images/03.2.01.02 - Regional Map.png</bitmap>
<shortcuts>
<shortcut>
<x>46</x>
<y>729</y>
<class>encounter</class>
<recordname>encounter.id-00016</recordname>
</shortcut>
<shortcut>
<x>191</x>
<y>941</y>
<class>encounter</class>
<recordname>encounter.id-00017</recordname>
</shortcut>
</shortcuts>
</image>

Weepdrag
March 13th, 2023, 19:54
Thanks Sulimo, I'll give it a try.

Moon Wizard
March 13th, 2023, 21:05
It's different for different versions of FG. FGU uses a different format. Pins are just another layer. (i.e. images.id-00001.layers.layer.type = "shortcut")

Regards,
JPG