openstranded-map-tool
Convert Stranded II .s2 map files to .osmap (OpenStranded MAP) format.
Part of the OpenStranded toolchain.
Usage
CLI
openstranded-map-tool convert <input.s2> [output.osmap]
openstranded-map-tool info <input.s2|.osmap>
Examples
# Convert a map
# Auto-output name (map.osmap)
# Inspect a .s2 or .osmap file
Library
[]
= "0.1"
use ;
let s2 = parse_s2_file.unwrap;
let osmap = s2_to_osmap;
save_osmap_ron.unwrap;
Format
.osmap is a human-readable RON format. See docs/osmap-format.md
for the full specification.
License
GPL-3.0-or-later