you should add vita, psm, and psp packages support
还没有人认领这个 Issue。
评估
调研方向
首先将现有的 PS3 package 支持与所引用的实现进行比较:subprojects/LibShared/Package/PackageExtractor.cpp、app/pkg.c、pkg_dec.c 和 pkg2zip.c。跟踪 package key 和 item flag 的处理方式,尤其是 PSP mixed-key condition。完成标准是 Vita、PSM 和 PSP package 都能正确提取,包括需要 PSP key 或 PS3 key 的 PSP item。
由索引模型根据 Issue 内容生成。
描述
these are pretty much identical to the ps3 format, their just encrypted with different keys
example code for this can be found here in SnowPME;
https://github.com/OpenPSS/SnowPME/tree/main/subprojects/LibShared/Package
specifically: https://github.com/OpenPSS/SnowPME/blob/62d41cc4937f51089ebf820a4906043bbf7646cb/subprojects/LibShared/Package/PackageExtractor.cpp#L92
or if you prefer in C, you can look here https://silica.codes/Li/real-package-installer/src/branch/main/app/pkg.c
or here .. https://github.com/st4rk/PkgDecrypt/blob/master/pkg_dec.c
another thing to note; in the case of PSP, actually some pkgs (mainly, MINIs and PSX games) have files encrypted with PS3 keys, and others are encrypted with the PSP keys; the key used is determined by the 'flags' set on PKG_ITEM_RECORD;
none of these examples handle this case other than maybe skipping it-
basically the condition is ((flags >> 0x1C)&7) == 1 if thats true, you use the PSP key to decrypt this item;
otherwise, you use the PS3 key.
the only thing i know that actually handles this properly is pkg2zip; see. https://github.com/mmozeiko/pkg2zip/blob/9222c4e00235dfe7914e9db0cc352da07e63d9f9/pkg2zip.c#L693 .. although i will be the first to admit its code is not the nicest.
- 主要语言
- C++
- 星标
- 58
- 派生
- 4
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
eclipse-score/inc_someip_gateway#356 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
HarperFast/rocksdb-js#945 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复