Take vitashell-themes, remove all folders except translations, move
these translations to "l10n", and remoe unreferenced objects. This was
done in order to keep the entire commit history of changes (the last
thing I would want to do is lose it, especially with git which makes
this easy) and also significantly make the size of the repo smaller; it
went from ~40mb to 300kb, which is much easier to merge to VitaShell.
What about the other folders in vitashell-themes? Well, they're kept
alive in the repo, but it's going to stay unmaintained; they're not
deleted outright to avoid wasting the effort which has been done for
them, and in case someone referenced the vitashell-themes repo for a
non-translation.
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.