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

debug pkg extriation with "fake" passcode

tomazzz369z opened this issue · comments

like in title. i can't extract debug packages without passcode - using arg fake

Package:

https://www4.zippyshare.com/v/FjsXZEvd/file.html

PkgTool-0.2.244:

"PkgTool\PkgTool.exe" pkg_extract --verbose --passcode fake "zzz.pkg" "package"

Error:

Unhandled Exception: System.Exception: inode 0 is corrupt.
at LibOrbisPkg.PFS.PfsReader.LoadDir(UInt32 dinode, Dir parent, String name)
at LibOrbisPkg.PFS.PfsReader..ctor(IMemoryReader r, UInt64 pfs_flags, Byte[]ekpfs, Byte[] tweak, Byte[] data)
at PkgTool.Program.<>c.<.cctor>b__6_4(Dictionary2 flags, Dictionary2 optionals, String[] args)
at PkgTool.Verb.Run(Verb[] verbs, String[] args, String name)
at PkgTool.Program.Main(String[] args)


old version PkgTool-0.1.193 extract package without issues

Extracting in parallel...
/uroot/eboot.bin -> package\uroot\eboot.bin
/uroot/sce_sys/about/right.sprx -> package\uroot\sce_sys\about\right.sprx
/uroot/sce_sys/keymap_rp/000.png -> package\uroot\sce_sys\keymap_rp\000.png
/uroot/sce_discmap.plt -> package\uroot\sce_discmap.plt
/uroot/sce_discmap_patch.plt -> package\uroot\sce_discmap_patch.plt
/uroot/sce_module/libSceFios2.prx -> package\uroot\sce_module\libSceFios2.prx
/uroot/sce_module/libc.prx -> package\uroot\sce_module\libc.prx