1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// SPDX-License-Identifier: MIT
//! # qpak
//! Unofficial Quake PAK file modification tool
//!
//! Provides a multiplatform command-line tool for inspecting and modifying and PAK files.
//!
//! ## Usage
//! `qpak --help`
//! - [qpak list](#qpak-list)
//! - [qpak unpack](#qpak-unpack)
//! - [qpak pack](#qpak-pack)
//!
//! ### qpak list
//! `qpak list <pak_file>`
//!
//! Describes the contents of a PAK file.
//!
//! - **pak_file**: The PAK file to inspect
//!
//! ### qpak unpack
//! `qpak unpack <pak_file> <dest_dir>`
//!
//! Extracts a pak file into a directory.
//!
//! - **pak_file**: The PAK file to extract from
//! - **dest_dir**: The directory to extract into
//!
//! ### qpak pack
//! `qpak pack <src_dir> <pak_file>`
//!
//! Creates a PAK file from a directory.
//!
//! - **src_dir**: The directory to copy files from
//! - **pak_file**: The PAK file to create
//!
pub use crate::;