Glorpia Docs
Reference / Place format

GPXL and GLRP

GPXL is Glorpia's text data language. GLRP is the binary place-file container used by Studio.

GPXL

GPXL stands for Glorpia Extensible Language. Raw GPXL source files use the .gpxl extension and contain UTF-8 text.

Raw GPXL is not compressed or encrypted.

GPXL uses named blocks for hierarchy, square-bracket attributes for node metadata, and colon-separated properties for values.

Numeric values accept inf, +inf and -inf. These values are preserved for floating-point properties that permit infinity; integer-backed values use the corresponding integer limit.

NameTypeDescription
BlockWorkspace { ... }Contains properties and child nodes.
AttributesPart [id=21]Metadata attached to a node.
Propertyname: "Wall"Named value stored by the node.
Arraysize: [8, 8, 1]Ordered values.
Comment// text, # text, /* text */Ignored by the GPXL text parser.
Luau
gpxl [version=1, schema=28, units="studs"] {
    Workspace {
        Model [id=20] {
            name: "House",
            visible: true,
            canCollide: true,

            Part [id=21] {
                name: "Wall",
                position: [0, 4, 0],
                size: [8, 8, 1],
                colour: [163, 162, 165],
                transparency: 0,
                shape: "Block",
                canCollide: true,
                anchored: true,
            }
        }
    }

    Lighting {
        brightness: 3,
        clockTime: 14,
    }

    ReplicatedStorage {
    }

    ServerScriptService {
        loadStringEnabled: false
    }

    ServerStorage {
    }
}

GLRP place files

Glorpia Studio saves normal place files with the .glrp extension.

A GLRP file contains a GPXL text document as its logical place data. The GPXL payload is compressed and encrypted inside the GLRP binary container.

NameTypeDescription
Extension.glrpNormal Glorpia place file.
Container magicGLRPIdentifies the current binary GLRP container.
PayloadGPXL UTF-8Logical place data before compression.
CompressionzstdCompresses the GPXL payload.
EncryptionXChaCha20-Poly1305Encrypts and authenticates the compressed payload.
Salt16 random bytesUsed when deriving the per-file encryption key.
Nonce24 random bytesGenerated for each save.

A new random salt and nonce are generated for each GLRP save.

GLRP authentication is checked before the encrypted payload is decompressed or parsed. A modified or damaged authenticated payload is rejected.

Hierarchy

Workspace, Players, Lighting, ReplicatedStorage, ServerScriptService, ServerStorage, StarterGui and StarterPlayer are represented as service blocks in GPXL. Models, Folders, post-processing effects and other authored instances are nested under their saved parent.

Authored children under Lighting and Players are saved in those services. Runtime Player trees created for a play session are excluded from authored place data.

Studio support

Studio saves and publishes .glrp place files.

Studio opens and saves .glrp place files. Studio's Open and Save workflows do not expose raw .gpxl files.

Versions

version in the GPXL document is the GPXL language version. schema is the Glorpia place-data schema version.

The GLRP binary container has its own container version in its authenticated header.