3个稳定版本
1.2.2 | 2022年11月13日 |
---|---|
1.2.1 | 2022年10月9日 |
1.1.0 | 2020年12月5日 |
#1686 in 解析器实现
13KB
284 行
Path of Exile GGPK阅读器
由Grinding Gear Games开发的Path of Exile游戏创建的命令行界面和库。其功能仅限于提取GGPK内部的文件,不会添加对包含在其中的文件的进一步读取。
构建
设置rust开发的说明:https://rust-lang.net.cn/learn/get-started
在安装了rustc和cargo之后,只需运行以下命令
$ cargo build --release
用法
列出所有文件
$ ggpk --path "C:/games/Path of Exile/"
筛选列表
$ ggpk --path "C:/games/Path of Exile/" --query .+/Data/.+.bundle.bin
使用的正则表达式格式:https://docs.rs/regex/1.4.2/regex/
将文件写入磁盘
$ ggpk --path "C:/games/Path of Exile/" --output "C:/GGPK_Dump/"
可以与查询参数结合使用,以仅写入某些文件。
写入stdout
注意:Windows上无法使用,因为终端只能写入有效的UTF-8符号。
需要指定一个查询,以匹配单个文件。对于将单个文件传递给另一个进程非常有用。
$ ggpk --path "/games/Path of Exile" -q .+/_.index.bin --binary
依赖项
~2.5MB
~38K SLoC