Propdump

From ActiveWiki
Jump to: navigation, search

A propdump is a file that contains the properties of the world. It can be used to backup and restore a worlds objects. Together with the atdump (world attributes) and elevdump (world terrain) it is a complete backup of a world.

Propdump structure

Every line in a propdump file is an object. That line contains all data about the object. The first 13 numbers are to be seperated by spaces and tell things about positioning and more, the last part that remains contains non numeric data and tells us about the object name, description and action.

Example of line:

359971 1167343043 -800 0 200 0 0 0 0 7 0 99 0 floor01create name gz1wat1, texture water1_top mask=semitrans10,solid no,move 0 0.1 0.5 time=2 smooth sync
  • The 1st part (358257) is the citizen number of the owner of the object.
  • The 2nd part (1167343043) is the timestamp that contains the date when the object had been created.
  • The 3rd part (-800) is the X position of the object.
  • The 4th part (0) is the Y position of the object.
  • The 5th part (200) is the Z position of the object.
  • The 6th part (0) is the YAW orientation of the object.
  • The 7th part (0) is the Tilt orientation of the object.
  • The 8th part (0) is the Roll orientation of the object.
  • The 9th part (0) is the type of the object. (0: Object. 1: Camera. 2: Zone. 3: Particle Emitter. 4: Mover.).
  • The 10th part (7) is the length of the model name (floor01).
  • The 11th part (0) is the length of the description.
  • The 12th part (99) is the length of the action (create name gz1wat1 [...]).
  • The 13th part (0) is the length of the object data (for object types other than 0).
  • The 14th part (all that remains) contains object information in the length described above.

Newline, or carriage return with line feed \r\n, is replaced with characters 0x80 0x7F (before 3.3: 0x0D 0x7F), and \n with character 0x7F. A solitary \r is not translated.nl:propdump