kolen / mm_map_tools

Magic & Mayhem map reading tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mm_map_tools

screenshot

Collection of things to read Magic & Mayhem file formats.

Not a serious project for now. What can it do:

  • Read .spr sprite sheets (such as Terrain.spr)
  • Read and render .map map fragments (only basic features)

Most format descriptions are from sau project, including decompression/deobfuscation code.

viewer

It's a GUI map section viewer. It is default binary that runs when invoking cargo run.

render_map_section binary

Renders map section to image file.

render_map_section input_map_section.map output.png

Running tests

Use cargo test --all to test all crates.

By default, tests requiring original Magic & Mayhem files are ignored with #[ignore], to run them, specify M&M path in MM_PATH env variable and use cargo test --all -- --include-ignored.

About

Magic & Mayhem map reading tools

License:GNU General Public License v2.0


Languages

Language:Rust 98.5%Language:Nix 0.8%Language:CSS 0.7%