ggpk

Crates.ioggpk
lib.rsggpk
version1.2.2
sourcesrc
created_at2020-12-05 10:10:11.778772
updated_at2022-11-13 13:53:40.357647
descriptionLibrary for GGPK container format used by the game Path of Exile
homepage
repositoryhttps://github.com/ex-nihil/ggpk
max_upload_size
id319823
size34,315
Daniel (ex-nihil)

documentation

README

Path of Exile GGPK reader

A CLI and library for reading GGPK files for the game Path of Exile created by Grinding Gear Games. The scope is limited only to extracting files contained inside the GGPK, futher reading of the files contained within will not be added.

Building

Instructions for setting up for rust development: https://www.rust-lang.org/learn/get-started

After your rustc and cargo is installed simply run the following:

$ cargo build --release

Usage

list all files

$ ggpk --path "C:/games/Path of Exile/"

filtered listing

$ ggpk --path "C:/games/Path of Exile/" --query .+/Data/.+.bundle.bin

Regex format used: https://docs.rs/regex/1.4.2/regex/

write files to disk

$ ggpk --path "C:/games/Path of Exile/" --output "C:/GGPK_Dump/"

Can be combined with the query parameter to write only some files.

write to stdout

Note: Won't work from Windows as terminal only allows valid utf-8 symbols to be written.

Requires specifying a query resulting in a single file matching. Useful for pipeing a single file to another process.

$ ggpk --path "/games/Path of Exile" -q .+/_.index.bin --binary
Commit count: 25

cargo fmt