The open level format

Version 1. A level is a folder; nothing in it is proprietary.

FileWhat
level.gltfglTF 2.0 (JSON): objects, meshes, materials, groups
level.binits binary buffer
textures/NNNN_name.pngone image per texture — or game:<name>, the game’s texture of that name, drawn with the chosen pack
level.txttitle, author, version, difficulty
game/the game’s parts the level uses (balls, transformer, modules), its sky, particles and sounds — so it plays without the copy

Contents

  • Nodes — one per object, with its name, world matrix and mesh; whether it is shown.
  • Reset points — where the ball comes back in each sector; the point’s rotation also tells the camera which way the track runs.
  • Meshes and materials — one primitive per material, with the original’s material channels and blend modes.
  • Groups — the original’s groups (floors, rails, checkpoints, transformers, extra points…) by name, so the rules of the game apply to the level as they do to a .nmo.
  • Settings — the level’s music, light, sky, bonus, whether it is the last level.

Round trip

drahtseilakt --level 1 --export out/Level_01/   # .nmo → open format
drahtseilakt --open out/Level_01/               # play it

The first level makes the round trip unchanged; the owner’s finished runs on levels 1, 3, 5, 7 and 9 give the same events on the .nmo and on its export.