Hi Edmund,
Thanks for your work on Sloodle. I loaded an IAR with the new system a
couple of weeks ago to check it out and I ran into something similar. I
resorted to diving into the IAR and trying to fix it. But, didn't get
too far. I have been meaning to ask Justin about it, but have been
pretty scattered lately. Hopefully he can give some insight - and
hopefully I can have a little time to check these out again and offer
some feedback. The last time I tried, I wasn't able to get all the parts
to work, possibly for the reasons you are discussing.
Thanks
-BlueWall
On 06/29/2012 02:43 AM, Edmund Edgar wrote:
I have some situations where I want to export an object as an IAR,
faff with the LSL code, and reimport it.
This is working fine, except that sometimes the UUIDs of the scripts
I've faffed with already exist in OpenSim, resulting in the new
version not being imported.
(I'm pretty sure that's what's happening - I've tried clearing the
viewer cache and deleting stuff under bin/ScriptEngines and so forth.)
To avoid this, I want to change the UUIDs of the scripts I've faffed
with in my IAR every time I make a change to their content. I've tried
this and it seems to work, but I as I don't understand the internals
of this stuff I just wanted to check if there's some important thing
I'm overlooking that will cause death and devastation to rain down on
me and the unlucky people who use my IAR.
Specifically what I do is:
1) Export IAR, untar it.
2) Faff with scripts.
3) For each script that's changed, make a new UUID by taking the md5
sum of the contents, and sticking in some hyphens where they appear to
belong.
4) Rename the<old UUID>_script.lsl under assets/ to use the new UUID.
4) Run sed on anything called ".xml" in the archive to change any
reference to the old UUID to the new UUID.
5) Retar the IAR.
6) Reimport.
This is the script I run to do it:
https://github.com/sloodle/sloodle_development_tools/blob/master/opensim_sync/fixuuid.sh
This seems to be working OK, but can anyone think of anything bad
that's going to happen?
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users