๐ ๏ธ Introducing warcraft-rs: A Powerful CLI for WoW File Formats #3
danielsreichenbach
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Welcome to our first guide in the WoW Emulation community! Today, we're excited to introduce warcraft-rs, a comprehensive command-line toolset for working with World of Warcraft file formats.
๐ฏ What is warcraft-rs?
warcraft-rs is a Rust-based CLI tool that provides extensive support for parsing, manipulating, and creating various WoW file formats. It supports WoW versions from 1.12.1 (Vanilla) through 5.4.8 (Mists of Pandaria), making it an invaluable tool for server developers, modders, and researchers.
๐ Key Features
MPQ Archive Management
Work with MPQ archives using commands like:
warcraft-rs mpq list archive.mpq
- List archive contentswarcraft-rs mpq extract archive.mpq --output ./extracted
- Extract fileswarcraft-rs mpq create new.mpq files/
- Create new archiveswarcraft-rs mpq rebuild old.mpq --version 4
- Upgrade archive versionsDBC Database Operations
Extract and analyze game data:
warcraft-rs dbc info Item.dbc
- View database structurewarcraft-rs dbc export Item.dbc --format json
- Export to JSON/CSVwarcraft-rs dbc discover Unknown.dbc
- Auto-discover schemasBLP Texture Conversion
Convert game textures to standard formats:
warcraft-rs blp convert texture.blp --output texture.png
Model and World Data
Work with 3D models and terrain:
warcraft-rs m2 info model.m2
- Display model informationwarcraft-rs adt extract Kalimdor_32_48.adt
- Extract terrain datawarcraft-rs wmo validate building.wmo
- Check world object integrity๐ก Common Use Cases
1. Extracting Game Assets
2. Analyzing Game Data
3. Working with Maps
๐ง Installation
warcraft-rs can be installed via cargo:
Or built from source:
git clone https://github.com/wowemulation-dev/warcraft-rs cd warcraft-rs cargo build --release
๐ Why Use warcraft-rs?
๐ Getting Started
Generate shell completions for your shell:
Explore available commands:
Start with simple operations like listing MPQ contents or converting a BLP
texture
๐ค Contributing
warcraft-rs is open source and welcomes contributions! Whether you're fixing bugs, adding new features, or improving documentation, check out the repository to get started.
๐ Learn More
Have questions or want to share your experience with warcraft-rs? Start a discussion in our Q&A section! ๐ฎ
Beta Was this translation helpful? Give feedback.
All reactions