* Add Suppot for PlayStation Mobile games in "Refresh Livearea"
* Add support for PlayStation Mobile games to "Refresh Livearea"
(and my credits ofc-)
* Switched to vitasdk provied structs
* Add files via upload
* Changed how content type is determined
Also added some code related to non-working (at this moment) theme promotion
* revoked code related to theme promotion
I give up, can't continue with the undocumented scePromoterUtilityPromotePkgWithRif error.
* Added PoC Patch refresh code
Note: right now it does not check if installed app_ver == patch app_ver, so it promotes ALL patches for installed titles.
* Move pfs related functions to pfs.c/pfs.h
* Reverted some unintended changes
* Cleaned up debug prints
* Cleaned up unused PFS code
* Patch refresh PoC v2
* Fixed Misplaced pfsUmount()
* Removed rest of the debug prints, feature is now fully functional
* Changed how content type is determined
Also added some code related to non-working (at this moment) theme promotion
* revoked code related to theme promotion
I give up, can't continue with the undocumented scePromoterUtilityPromotePkgWithRif error.
A new menu feature "Refresh license database" is now available from the top context menu.
Its action is to parse all the .rif files under ux0:licence/app and ux0:licence/addcont,
and import them to the ux0:licence/license.db SQLite database (which gets created it it
doesn't already exists).
Used in conjunction with the new App/DLC refresh feature, this allows Vita users to
restore their content straight from PKG downloads, and let VitaShell do the job of also
restoring the relevant license from the DB backup.
This also fixes a small typo in LANGUAGE_CONTAINER_SIZE and adds a .editorconfig, to
ensure that the indentation settings of VitaShell are followed by modern code editors.
DLC from ux0:addcont/ is now installed during refresh, provided there exists an sce_sys/package/
directory containing: body.bin, head.bin, inst.bin stat.bin, tail.bin, temp.bin and work.bin.
Apart from work.bin, all of these files can be be restored from the official PKG downloads, as
demonstrated by pkg_dec.
Moreover, this patch adds the ability to restore one's RIFs from an ux0:/license/licenses.db
SQLite database with the schema described hereafter (the RIF column being the uncompressed
512-byte binary license):
CREATE TABLE `Licenses` (
`CONTENT_ID` TEXT NOT NULL UNIQUE,
`RIF` BLOB NOT NULL,
PRIMARY KEY(`CONTENT_ID`)
);
With both these feature and provided that one's personal licenses have been backed up in
ux0:/license/licenses.db, Vita users can conveniently restore or reinstall their legally
owned content, straight from Sony's PKG files.
sceRegMgrGetKeyBin has already defined in VITASDK, we no longer need to
redfine it. <psp2/registrymgr.h>, has access to both the regMgr get/set
functions.