maclarian 0.1.3

Larian file format library for Baldur's Gate 3 - PAK, LSF, LSX, GR2, DDS, and more
Documentation
1
2
3
4
5
6
7
8
//! PAK extraction functionality
pub use super::pak_tools::PakOperations;

/// # Errors
/// Returns an error if PAK extraction fails.
pub fn extract_pak<P: AsRef<std::path::Path>>(pak: P, dest: P) -> crate::error::Result<()> {
    PakOperations::extract(pak, dest)
}