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.
| Name | Type | Description |
|---|---|---|
Block | Workspace { ... } | Contains properties and child nodes. |
Attributes | Part [id=21] | Metadata attached to a node. |
Property | name: "Wall" | Named value stored by the node. |
Array | size: [8, 8, 1] | Ordered values. |
Comment | // text, # text, /* text */ | Ignored by the GPXL text parser. |
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.
| Name | Type | Description |
|---|---|---|
Extension | .glrp | Normal Glorpia place file. |
Container magic | GLRP | Identifies the current binary GLRP container. |
Payload | GPXL UTF-8 | Logical place data before compression. |
Compression | zstd | Compresses the GPXL payload. |
Encryption | XChaCha20-Poly1305 | Encrypts and authenticates the compressed payload. |
Salt | 16 random bytes | Used when deriving the per-file encryption key. |
Nonce | 24 random bytes | Generated for each save. |
A new random salt and nonce are generated for each GLRP save.
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.