1 unstable release

0.0.0 Mar 31, 2025

#2721 in #api

Download history 58/week @ 2025-03-25 59/week @ 2025-04-01 5/week @ 2025-04-08 3/week @ 2025-04-15

125 downloads per month

MPL-2.0 license

22KB
446 lines

lpk

A Rust library for decrypting .lkp files from Live2dViewerEx.

Features

  • Decrypt .lkp files from Live2dViewerEx
  • Simple and easy-to-use API
  • Integration with anyhow for error handling

Installation

Add this to your Cargo.toml:

[dependencies]
lpk = { path = "../lpk-core" }
anyhow = "1.0"

Usage

use lpk::LpkLoader;
use anyhow::Result;
use std::path::Path;

fn main() -> Result<()> {
    let loader = LpkLoader::new(Path::new("example.lkp"))?;
    // Process the decrypted data
    Ok(())
}

Dependencies

~8MB
~141K SLoC