OpenSim archives

Encore à l'état  expérimental la fonction archive existe depuis la révision 5469. Elle propose la même chose que le load-xml2/save-xml2 qui permet de sauvegarder les prims d'une région pour pouvoir les importer à nouveau plus tard ou ailleurs. En plus, OpenSim archives sauvegarde tous les assets associés pour permettre la restauration du terrain, des textures ou des objets sur un autre simulateur utilisant un système de base de données différent.

On peut pourra donc transférer une région complète d'une base sql sur un serveur utilisant une base mysql par exemple.




 
Usage

From the region console, one can type save-oar [filename] to save an OpenSim archive. If no filename is given, then the name scene_oar.tar.gz is used To load an archive, type load-oar [filename] at the console. Currently by default, loading an archive will delete all the objects in the scene and replace them with the archive contents. It's like being in the Matrix (when they swap environments), except much slower (all the scene objects are slowly deleted before the new environment is loaded :-)

Current limitations

When an archive is loaded, all objects end up being created/owned by the master avatar for that region

FAQ

1. What is this .tar.gz format you are using? Why not zip? .tar.gz is a standard unix way of zipping up files into a single larger compressed file for distribution. Windows users should be able to open these files using freeware programs such as 7-zip. I'm using .tar.gz because all the zip (and tar) libraries for .net are licensed either under the GPL (with exception) or under the MSPL. Unfortunately, not all members of the OpenSim development team are comfortable with the MSPL, so these libaries are not currently an option. It is also significantly easier to write code to create and read tar archives than zip archives. At the moment the only tar archive type that can be read is the original unix tar format (not USTAR).
2. What is the layout of an OpenSim archive? More details on this soon.
3. Can you load and save multiple regions to an archive? Not yet.
4. Can you load and save parts of a region to an archive? Not yet.

Bugs

 * There may be a problem importing some linked objects. These will appear fine in the viewer when initially imported, but disappear once the server is restarted. This needs investigation. Archives such extremely simple examples of the problem (very few objects and objects with only a few linked prims) would be appreciated. * Sometimes, not all scripts start when an archive is loaded. Example archives with the problem would be appreciated. * Due to a possible bug in the Mono 1.2.4 libraries, this feature may cause a debug dump when used (the problem appears to be in writing out a compressed stream). Mono 1.2.6 is okay. Since Mono 1.2.4 is fairly old now, I don't intend to address this bug. Current Status Highly experimental. I've (justincc) only tried it myself in very limited situations, so Mantis feedback and suggests would be appreciated.

Please don't rely on these archives to permanently backup your regions, though if they are in sufficient use, I hope to maintain compatibility with older archive versions.

source opensimulator.org

 

OpenSim archives
commentaires (1)
Les commentaires permettent à chacun d'enrichir le web.
OpenSim archives
Justin à publié quelques informations complémentaires le 10 octobre et à même utilisé cette image pour illustrer ses propos.

Pour lire l'article rendez vous sur la page http://justincc.wordpress.com/2008/10/10/opensim-tech-basics-oars-opensim-region-archives/
 
Green Tamura - 25 octobre 2008 - 16:40

Espace Membre

Les nouveautés

Forum

Ordre: Nouveau Affichés Contributions
Dernières Contributions Postées
red arrowOPENSIM STANDALOME s..
 Par :  phil
 Le  02 septembre 2010 - 09:50
 Affichés 41 Réponses 0
red arrowOpenSim - Server dé..
 Par :  ECH
 Le  11 août 2010 - 09:22
 Affichés 1020 Réponses 25
red arrowinstallation et hebe..
 Par :  XAV10
 Le  09 juillet 2010 - 05:13
 Affichés 594 Réponses 2
red arrowChanger la couleur d..
 Par :  ECH
 Le  03 juillet 2010 - 17:26
 Affichés 580 Réponses 3
red arrowinstalation opensim ..
 Par :  virtualfrance
 Le  02 juillet 2010 - 10:21
 Affichés 225 Réponses 1
red arrowImporter des modèle..
 Par :  Crabe05
 Le  01 juillet 2010 - 21:59
 Affichés 354 Réponses 4
red arrowProblème d'installa..
 Par :  Razgriz
 Le  01 juillet 2010 - 12:56
 Affichés 332 Réponses 11
red arrowErreur lancement Hip..
 Par :  TheShock
 Le  22 juin 2010 - 17:18
 Affichés 362 Réponses 2
red arrowChanger l'heure
 Par :  jeannot
 Le  09 juin 2010 - 14:14
 Affichés 301 Réponses 0
red arrowBug opensim 0.6.9 rc..
 Par :  ECH
 Le  20 mai 2010 - 08:11
 Affichés 693 Réponses 5

Who's Online

Visiteurs: 2