Collection of things to read Magic & Mayhem file formats.
Not a serious project for now. What can it do:
- Read
.spr
sprite sheets (such asTerrain.spr
) - Read and render
.map
map fragments (only basic features)
Most format descriptions are from sau project, including decompression/deobfuscation code.
It's a GUI map section viewer. It is default binary that runs when invoking cargo run
.
Renders map section to image file.
render_map_section input_map_section.map output.png
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
.