OAR Format 0.1

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Technical Reference/terms/OAR format 0.1 moved to OAR format 0.1: Moved this page back to the root.)
m (Added "turtle track" navigation, added the "What is the OAR 0.1 format?" main title, and also added the "See Also" heading with page links. Please ignore.)
Line 3: Line 3:
 
<br />
 
<br />
  
[[Technical Reference | Technical Reference]] -> [[Technical Reference/terms | Terms]] -> [[Technical Reference/terms/OAR_format_0.1 | OAR format 0.1]]
+
[[Technical Reference | Technical Reference]] -> [[Technical Reference/terms | Terms]] -> [[OAR_Format | OAR Format]] -> [[Technical Reference/terms/OAR_format_0.1 | OAR format 0.1]]
 +
 
 +
=What is the OAR 0.1 format?=
  
 
== Detail ==
 
== Detail ==
Line 46: Line 48:
 
  OpenSim Test.r32
 
  OpenSim Test.r32
  
 +
= See Also =
 +
 +
* [[Status|Main Status Page]]
 +
* [[Technical_Reference|Technical Reference Page]]
 +
* [[OAR_Format| What is OAR Format?]]
 +
* [[OpenSim_Archives|How to use OpenSim Archives (OAR)]]
 +
* [[OAR format 0.1 | OAR format 0.1]]
 +
* [[OAR format 0.2]]
 +
 +
[[Category:Users]]
 
[[Category:Support]]
 
[[Category:Support]]
 
[[Category:Tech Reference]]  
 
[[Category:Tech Reference]]  
Line 51: Line 63:
 
[[Category:Configuration]]
 
[[Category:Configuration]]
 
[[Category:Getting_Started]]
 
[[Category:Getting_Started]]
 +
[[Category:Development]]

Revision as of 08:58, 24 May 2009


Technical Reference -> Terms -> OAR Format -> OAR format 0.1

What is the OAR 0.1 format?

Detail

At the present time, a region archive is a gzipped tar file (tar.gz) in the the original unix tar format (not USTAR). This can be extracted and created with standard tools (7-zip on Windows). The structure of the archive is as follows

archive.xml
assets/
objects/
terrains/

archive.xml

This is the archive control file. At the moment it contains only a major and minor version number, to allow compatibility with future format changes.

assets/

This directory contains all the assets in the archive. Each filename has the following format

uuid_asset type.asset extension

The uuid section must always be present and form a valid uuid - it is used directly as the uuid for that asset. The asset type and asset extension are used to identify the type of asset and the asset extension allows the asset to be associated with different editors on platforms such as Windows. For instance, a script will always have the asset type and extension script.lsl. A full list of asset types and extensions can be found in the file

OpenSim/Region/Environment/Modules/World/Archiver/ArchiveConstants.cs

in the OpenSim distribution.

objects/

Each individual file in here is an object in the region (where an object [linkset] can be composed of many prims). The file format used is OpenSim's XML2 format. Each filename has the following structure by default

Object name_x-y-z__uuid.xml

Unlike asset filenames, any component of this name can be changed without affecting any attributes of the object itself - this information is taken from the xml instead. Indeed, this file can have any name - there is no need for any of the sections to be present. An example object file name is

Primitive_154-121-062__9be68fdd-f740-4a0f-9675-dfbbb536b946.xml

terrains/

This contains the terrain file for the region, stored in RAW format. The filename must end with .r32. For example,

OpenSim Test.r32

See Also

Personal tools
General
About This Wiki