#path #exile #file-format #container #reader #reading #gear

ggpk

Library for GGPK container format used by the game Path of Exile

3 stable releases

1.2.2 Nov 13, 2022
1.2.1 Oct 9, 2022
1.1.0 Dec 5, 2020

#1701 in Parser implementations

35 downloads per month
Used in poe_bundle

LGPL-3.0-only

13KB
284 lines

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

Dependencies

~2.5MB
~38K SLoC