[Opensim-users] Understanding the xml file
Justin Clark-Casey
jjustincc at googlemail.com
Sat Jan 7 01:35:56 UTC 2012
There wasn't, but I constructed a new wiki page at [1]. Essentially, the objects formats are still the same as internal
formats, so they contain a lot of redundant information (unnecessary storage of owner id for every prim in a linkset,
for instance) and things that don't translate at all well to the outside (e.g. the compressed TextureEntry data which is
only compressed because it's the same as the client-server wire format).
This page describes the SceneObjectGroup serialization but I think that save xml2 just pumps all these out surrounded by
<scene> tags.
The page is extremely sketchy because it's a lot to write out all at once. The examples are just the xml of simple
cubes without references to additional internal inventory items (which wouldn't be captured by save-xml2 anyway - for
that you'd need the much more complicated save oar/load oar formats).
If you start with your project and want to know more details, I'll be happy to keep answering questions on this list and
improving the wiki page. Of course, as it's a wiki page feel free to add to it yourself if you feel crazy enough to
dive into the OpenSimulator C# code :) Because the formats are derived from what used to be .NET auto-serilizations,
the tags used exactly match the properties with the same name in SceneObjectGroup and SceneObjectPart.
[1] http://opensimulator.org/wiki/Asset_Formats
On 06/01/12 17:59, Chuck wrote:
> Is there some documentation about the the xml files? I'm teaching myself about the python language and thought of a
> project: Use a python script to generate a xml file using some mathematical algorithm such as L-system for instance. So
> the particular xml file I'm wondering about is the one generated when you are at the server prompt and type the words:
> 'save xml2 filename.xml'.
>
> What I need is some text document with a brief description of the items in the file. I've searched the internet for
> about a week or so and can't seem to find it. (Either google gets confused with my search terms or the information just
> isn't out there).
>
> Any help will be greatly appreciated :)
>
>
>
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
More information about the Opensim-users
mailing list