maxton / LibOrbisPkg

Library, GUI, CLI for creating, inspecting, and modifying PS4 PKG, SFO, PFS, and related filetypes

Home Page:https://ci.appveyor.com/project/maxton/liborbispkg/build/artifacts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add gengp4 functionality

hippie68 opened this issue · comments

Could you add gengp4 functionality to PkgTool.Core? PkgTool.Core is the only program that I can compile and use cross-platform with non-x86 CPUs, as the original tool, gengp4.exe, is Windows-only. PkgTool.Core has good features, but creating a gp4 file out of a given directory tree is what I'm missing.

commented

You could try using PkgEditor with Mono or Wine in the meantime, or making a GP4 by hand -- it's just XML

It's very difficult by hand, I think there's a lot to be considered. For example, this popular tool, gengp4.exe, it puts playgo chunk information behind each file name, I have no clue where it gets such specific info from. pfs_compression="enable", and whatnot. Maybe it's not really required each time, but probably is in some cases. Or for use with other PKG tools, I don't know.