Documentation Index
Fetch the complete documentation index at: https://mintlify.com/BunnyNabbit/celaria-formats/llms.txt
Use this file to discover all available pages before exploring further.
celaria-formats gives you a structured JavaScript API for working with Celaria’s binary map formats. Whether you want to inspect existing maps, create new levels programmatically, or transform map data, this library handles the binary parsing and serialization so you don’t have to.
Quickstart
Install the library and parse your first Celaria map file in minutes.
Reading maps
Learn how to parse
.cmap and .ecmap files into JavaScript objects.Writing maps
Serialize map data back to binary buffers for use in Celaria.
API Reference
Full reference for all exported classes, methods, and types.
Supported formats
celaria-formats reads and writes two map formats used by Celaria:
| Format | Extension | Class | Description |
|---|---|---|---|
| Celaria Map | .cmap | CelariaMap | Finalized map with checkpoint medal times |
| Editable Celaria Map | .ecmap | EditableCelariaMap | Editable map format for the in-game editor |
| UV Map | .cuvdata | CelariaUvMap | UV texture coordinate data for map blocks |