LibOrbisPkg icon indicating copy to clipboard operation
LibOrbisPkg copied to clipboard

Add gengp4 functionality

Open hippie68 opened this issue 3 years ago • 2 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.

hippie68 avatar Jan 26 '21 14:01 hippie68

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

maxton avatar Feb 03 '21 03:02 maxton

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.

hippie68 avatar Feb 03 '21 13:02 hippie68