[Opensim-dev] Texture UUID in XML File

James Stallings II james.stallings at gmail.com
Wed Aug 5 19:05:24 UTC 2009


Stephen,

The savexml2 command is an old codepath for backing up regions to files. It
has largely been replaced (in usage, at least), by 'save oar'.

The texture information you see in the xml file, I am 99% certain, is the
text-encoded binary texture data (dont ask me about the encoding method, I'm
ignorant of it).

I rather strongly suspect that the way you are going about this is all
wrong, unless you plan to make changes to these backup files and then reload
them on the region server after the fact. It is particularly unlikely that
you will be able to modify textures in-situ via a web interface using this
methodology. I would suggest that to achieve such functionality you
investigate how the asset server works, and direct your efforts at producing
a web interface that interoperates with the asset server to modify textures
dynamically.

Hope this helps!

Cheers!
James/Hiro Protagonist


On Wed, Aug 5, 2009 at 1:56 PM, Stephen Carroll
<carroll.steve.p at gmail.com>wrote:

> Hello,
> My name is Steve and I am working on a web interface that will allow
> changing textures on prims in OpenSim. I have got a web interface to process
> the save xml2 and load xml2 commands thinking I could modify the xml file
> itself to set the texture UUID to what is chosen on the website. I am
> confident that I can write a program to modify the xml file, but I can not
> see where the texture UUID is stored in the xml file. Looking through the
> xml file generated on a test object after issuing the command "save xml2", I
> see a line that looks like:
>
> <TextureEntry>i1/sZY2NncXNqI/fJxbjYQAAAAAAAAAAgD8AAACAPwAAAAAAAAAAAAAAAAAAAA==</TextureEntry>
> It looks to me that the above line tells OpenSim what texture to apply to
> the object when the object is loaded with the command "load xml2". But I do
> not see a connection between this string and the UUID of the texture. The
> texture's UUID is not in the xml file though. So where is the texture
> information stored in the xml file? Does the <TextureEntry> line have
> anything to do with identifying what texture to apply to the object? Is
> there a reference manual that says what parts of the xml file are for what
> in OpenSim?
> Thanks,
> Steve
>
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>


-- 
===================================
http://osgrid.org
http://del.icio.us/SPQR
http://twitter.com/jstallings2
http://www.linkedin.com/pub/5/770/a49
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20090805/ff7de4a4/attachment-0001.html>


More information about the Opensim-dev mailing list