Closed TheRadziu closed 5 years ago
additional notes regarding PSM and theme promotion (for everyone willing to dig deeper into this and hopefully make it happen in the future):
checkAppExist()
/scePromoterUtilityCheckExist()
won't work on themes, due to obvious reasons, so you might need to check table tbl_theme
for id in app.db to see if theme was already promoted or not, then _sceNpDrmGetRifName()
and _sceNpDrmGetFixedRifName()
[so what current refresh does to apps and dlcs] will be enough to tell if its NoNpDRM-like theme or not,promoteApp()
ends up with undocumented error 80101130
,\psm\TITLEID\contents\Application\*.*
\psm\TITLEID\contents\runtime\*.* (only PSM unity games)
\psm\TITLEID\sce_sys\package\*.bin
Additional PSM notes/ promotion errors:
8010111c
without sce_sys\package\*.bin
, found out that this error means 'head.bin missing from package being promoted`80af5022
with body.bin, head.bin, stat.bin files808f0104
with all mentioned bins + fake.rif as work.binedit: as someone suggested just now, key to getting theme promotion might be hooking to the Promoter function, installing NoNpDRM-like theme via bgdl method and then examine what it actually does to theme while its getting promoted. PSM on the other hand wont be as easy since we have no comparison how exactly was psm handled back then.
Old method
int res, is_app = (app_path[6] == 'p');
was simply bad, now type is determined by argument torefreshNeeded
, it should allow people to easily add theme or psm support (which would/might require way different refresh code).