Introduction

Note

This is a read-the-docs port of the original google docs lu_file_structs, written by humanoid, lcdr and others, ported by @Xiphoseer. This is currently a proof of concept and is not guaranteed to reflect the latest changes.

The purpose of this document is to list and protocol all the information about the client files of the game LEGO Universe (at least the ones that might be helpful for the process of creating a private server). Note that usually most of the client files are packed into .pk files which are stored in the client/res/pack folder and need to be extracted first to be able to work on them (see Tools section for a link to a simple extractor).

Tools

Resources

  • There are scripts, which require stuff from an “TestAndExample” folder, which is missing, you can get it from here.

  • Official LXFML Documentation from the LEGO Group back from 2007

Common Types

Note

id:
common
endian:
le
bit-endian:
le

Type vector2

Sequence

  1. [f4] x

  2. [f4] y

Type vector3

Sequence

  1. [f4] x

  2. [f4] y

  3. [f4] z

Type object_id

Sequence

  1. [u8] object_id

Type lot

Sequence

  1. [s4] lot

Type quaternion

Sequence

  1. [f4] x

  2. [f4] y

  3. [f4] z

  4. [f4] w

Type quaternion_wxyz

Sequence

  1. [f4] w

  2. [f4] x

  3. [f4] y

  4. [f4] z

Type u1_str

Sequence

  1. [u1] length

  2. [str] str

    Size: length
    Encoding: ascii

Type u1_wstr

Sequence

  1. [u1] length

  2. [str] str

    Size: length * 2
    Encoding: utf-16le

Type u4_str

Sequence

  1. [u4] length

  2. [str] str

    Size: length
    Encoding: ascii

Type u4_wstr

Sequence

  1. [u4] length

  2. [str] str

    Size: length * 2
    Encoding: utf-16le

Type bool

Sequence

  1. [u1:boolean] bool

Enum boolean

0:
False
1:
True