bwmap
Rust implementation for parsing StarCraft .chk files.
bounding.net uses this library to parse StarCraft and StarCraft: Brood War maps and store them in its database.
Special thanks to the Staredit Network community as well as the Staredit Network wiki for documenting the format as well as answering my many clarifying questions about the format.
MPQ functionality is provided by zzlk/stormlib-bindings which is itself just simple auto-generated rust bindings to Ladislav Zezula's StormLib
Installation
- Setting rustup to use nightly (currently 1.60.0)
- Install pre-commit package - arch
- Run
pre-commit install
to install hooks - Git submodules - run
git submodule update --init --recursive
thengit submodule update --recursive
to get all the submodules so rust-analyzer works - Go into compact_enc_det-bindings/compact_enc_det and run
autogen.sh
- Go into stormlib-bindings/StormLib and run
cmake CMakeLists.txt
thenmake -j
to generate libstorm.a, which stormlib-bindings depends on - Go into uchardet-bindings/uchardet and run
cmake CMakeLists.txt
thenmake -j