Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 934 Bytes

README.md

File metadata and controls

30 lines (17 loc) · 934 Bytes

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.