[Opensim-dev] From today, version 1.0 OAR files cannot be loaded into OpenSim 0.7.0.2 and earlier

Teravus Ovares teravus at gmail.com
Sat Oct 16 19:27:20 UTC 2010


Heh

The twist of fate that JustinCC was talking about is that there's a Replace
of UUID to Guid(or the other way? I forgot!) in the current serialization
before it hits the deserializer.   This 'hack' was added by me a long time
ago when the types were changed in order to update LibOMV and still have all
old inventory stored before that version work after the libomv update.
It's been so long that I forgot about it :P.  I turns out that old versions
can still read the new UUID automagically based on a twist of fate :P.

I vote for removing that hack now..   since it's no longer needed.


Teravus



On Sat, Oct 16, 2010 at 11:16 AM, <diva at metaverseink.com> wrote:

> Everything is still compatible.
>
> I haven't seen the latest changes that Justin made on the flags, but the
> following is true:
>
> - oars produced in older versions of OpenSim can be uploaded in newer
> versions, always and forever.
>
> - oars produced in newer versions of OpenSim may or may not be able to be
> uploaded in older versions, in general. As of right now, even though we've
> rewritten the serialization from the ground up, things are still compatible
> in that direction (newer oars->older opensims). As we improve things (like
> adding creator information, for example), if we ever come to a point where
> compatibility in this direction cannot be ensured, there will always be a
> flag to generate older oar formats.
>
> Hope this clarifies things.
>
>
> On 10/16/2010 7:08 AM, drwhiet at spacefriends.de wrote:
>
>> Uhh ohhh .. Justin, i also Need to ask if this affects this weekends
>> Upgrade on osgrid ?? As i am just creating .oar Files right now?
>>
>> Best regards
>>
>> Am 16.10.2010 um 07:12 schrieb Justin Clark-Casey<
>> jjustincc at googlemail.com>:
>>
>>  Hi folks.
>>>
>>> The object serialization format has been changed today, therefore I have
>>> been forced to bump the OAR version from 0.3 to 1.0
>>>
>>> This means that 1.0 OARs cannot be loaded into OpenSim 0.7.0.2 and
>>> earlier.  Unfortunately, since these earlier OpenSim releases do not check
>>> the OAR version before loading, the loader will probably receive a huge
>>> number of cryptic errors about the xml not being correct, which will be
>>> extremely confusing to everyone.
>>>
>>> If you want to produce OARs that can be loaded on OpenSim with current
>>> master code, you must specify --version=0 on the command line, e.g.
>>>
>>> save oar --version=0 oars/my.oar
>>>
>>> This will create an older (pre-today) style 0.3 OAR which can be loaded
>>> into older OpenSim versions.  There is currently no advantage in creating a
>>> 1.0 OAR rather than a 0.3 one.
>>>
>>> OpenSim master code and the forthcoming OpenSim 0.7.1 will be able to
>>> load both 0.3 and 1.0 OARs.
>>>
>>> --
>>> Justin Clark-Casey (justincc)
>>> http://justincc.org
>>> http://twitter.com/justincc
>>> _______________________________________________
>>> Opensim-dev mailing list
>>> Opensim-dev at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>
>>  _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20101016/c20dca6f/attachment-0001.html>


More information about the Opensim-dev mailing list