[<img alt="github" src="https://img.shields.io/badge/github-qwbpro?style=for-the-badge&labelColor=555555&logo=github" height="20">](https://github.com/qwbpro/rustlol)
[<img alt="crates.io" src="https://img.shields.io/crates/v/rustlol.svg?style=for-the-badge&color=fc8d62&logo=rust" height="20">](https://crates.io/crates/rustlol)
[<img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-rustlol-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs" height="20">](https://docs.rs/rustlol)
# Wad lib
the lib can extract or make wad version 3.4
It is a micro reconstruction of cslol https://github.com/LeagueToolkit/cslol-manager
## Prerequisites
- Install Rust and Cargo: https://rustup.rs/
- copy a hash for https://github.com/CommunityDragon/Data
- copy a wad file for you lol game dir
## Build Instructions
1. Clone this repository:
```bash
git clone https://github.com/qwbpro/rustlol.git
cd rustlol
cargo test
```
## How to use
```bash
cargo add rustlol
```
```rust
use rustlol::extract_wad;
use rustlol::make_wad;
fn main() -> std::result::Result<(), Error>{
// if hash path is null hash path = ./
// dst path is null dst path = ./
extract_wad("a wad file path", "hash path", "dst path")?
}
```
## MORE
see https://docs.rs/