Commit Graph

25 Commits

Author SHA1 Message Date
Princess-of-Sleeping
a7a9d5d9d2
Fix _sceNpDrmGetRifName arguments (#594) 2021-04-14 23:05:52 +02:00
Bluzume
42fcc22517
Fix crashes on "Refresh Liveara" w PSM (#560)
* Fix Crashing when installing PSM

* removed redundant variable from refresh.c

* Change { location

* Change location of "{

* Change location of "{"

* move int ret;

* fix mixed tabs/spaces

* fix return indentation
2020-04-21 08:09:55 +02:00
TheFloW
7f6a1650aa Revert "Add Support for PlayStation Mobile games in "Refresh Livearea" (#557)"
This reverts commit ee7060cdc1.
2020-01-19 00:02:26 +01:00
Bluzume
ee7060cdc1 Add Support for PlayStation Mobile games in "Refresh Livearea" (#557)
* 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
2020-01-15 19:54:36 +01:00
TheRadziu
d7de7edebe Finished "Refresh LiveArea" function rework, added patches support (#515)
* 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
2018-11-22 08:56:12 +01:00
TheRadziu
459ee2dc30 Changed how content type is determined and some research about psm/theme promotion. (#514)
* 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.
2018-11-18 09:27:19 +01:00
TheFloW
36a16a48ea Added ability to disable vpk warning 2018-08-27 17:51:18 +02:00
TheFloW
344f7bd17c Improved SFO viewer 2018-08-27 11:56:01 +02:00
TheFloW
dd98fa3f97 cr+lf -> lf 2018-08-27 10:05:53 +02:00
TheFloW
0f7d2dae82 Refactored code 2018-01-28 11:28:02 +01:00
VitaSmith
faedd328ca Fix refresh license DB when ran from ur0:
This should fix issue #323
Also fix a memory leak in license_dir_callback()
2018-01-18 23:02:45 +00:00
TheFloW
1dd26f25d8 Fixed bug in multi volume archive detection 2018-01-03 10:26:47 +01:00
TheFloW
8288f31e94 Added all archive file types 2017-12-31 01:47:19 +01:00
TheFloW
77bddb8836 Finished libarchive port 2017-12-30 23:08:04 +01:00
TheFloW
260c6a76f7 Improved position correction code 2017-12-30 11:43:37 +01:00
VitaSmith
7f2d1134d9 Add license database refresh
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.
2017-10-29 01:55:56 +01:00
VitaSmith
627cea57e2 Add DLC refresh + restore license from Sqlite DB
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.
2017-10-26 22:52:22 +01:00
TheFloW
dae62124a2 Cosmetic changes 2017-10-13 12:42:36 +02:00
TheFloW
eb6048a8f2 Fixed some bugs 2017-09-16 22:34:06 +02:00
TheFloW
6835672a1e Added videoexport 2017-06-23 00:09:31 +02:00
Joel
e5b4680d7d sceRegMgrGetKeyBin already defined in VITASDK
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.
2017-05-14 16:11:51 -04:00
TheFloW
cdd77f6559 Inherit file statistics 2017-03-05 18:31:21 +01:00
TheFloW
8120486639 Improved some stuff 2017-03-05 15:27:16 +01:00
TheFloW
8678f74b56 Finished refresh feature 2017-02-28 19:35:01 +01:00
TheFloW
8d78ef3e6a Added WIP refresh feature 2017-02-27 21:53:38 +01:00