war3parser
war3parser is a library for parsing and extracting Warcraft III map files. It provides functionality to extract data from MPQ files and supports parsing various file formats.
Features
- Extract files from MPQ archives
- Support for parsing W3I, WTS, and other file formats
- Command-line tool for file extraction and export
Usage
use as a library
use War3MapMetadata;
let metadata = from_file.unwrap;
println!;
use as a CLI
$ war3parser-cli --help
A parser for Warcraft 3 map files
Usage: war3parser-cli <COMMAND>
Commands:
extract A parser for Warcraft 3 map files [aliases: x]
list A parser for Warcraft 3 map files [aliases: l]
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
use as a WASM
import from "@wesleyel/war3parser";
const mapInfo = ;
console.log;
Contributing
Contributions are welcome! Please submit a Pull Request or report an Issue.
License
war3parser is licensed under the MIT License. See the LICENSE file for details.