elma 0.1.0

Library for reading and writing Elasto Mania files.
docs.rs failed to build elma-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: elma-0.1.14

Build Status Coverage Status

logo

Elasto Mania file handler crate for Rust. Very much still a work in progress.

Installation

Add this in your Cargo.toml file:

[dependencies]
elma = "*"

Documentation

http://hexjelly.github.io/elma-rust/elma/

Progress

  • Across support

Levels

  • Parse level information
  • Edit levels
  • Save levels/data

Replays

  • Parse single-player replay information
  • Edit single-player replays
  • Parse multi-player replay information
  • Edit multi-player replays
  • Save replays/data

State.dat

Might be added, maybe out of scope or redunant for this library.

Usage examples

Level operations

To create a new default level:

extern crate elma;
use elma::lev::*;

fn main () {
    let mut level = Level::new();
    level.save("example.lev", false).unwrap();
}

Screenshot of default level