PKGS Installer

PS VITA / PsTV PKGS Installer 2.1 2.1

atreyu187

Loathsome Dung Eater
atreyu187 submitted a new resource:

PKG Installer - A quick way to install DRM-Free content PKGS (not PKG) from ux0:/pkgs & PC

Update to Package Installer 2.0 Homebrew that now allows you to install .pkgs files that are stored on the memory card on ux0:pkgs and the abiltiy to reboot the system straight from the app. this new version was coded in LPP. (lua player plus.)

@SilicaAndPina

Read more about this resource...
 
is this a new pkg installer that doesn't require idu mode? I know the normal pkg installer will kick u out unless u use uri caller in idu mode, so this is for cex not kiosk mode?
 
Is that a custom filetype?
Yes, I think it is.
its a bit confusing.
Yes, I think it is.
are they different to vpks?
Yes, I think it is. :p Both are based on zip files, but not compatible with each other. No idea what is purpose of pkgs file. I don't even know where to find those files.

Edit: https://www.vitadevwiki.com/index.php?title=Packages_(.PKGS)
Edit2: Still can't find why, and what for I should use that. :(
Edit3: https://github.com/SilicaAndPina/package-installer-2.0/blob/master/README.md
 
Last edited:
from what I understand, the zip pkgs files r only offered by the dev who created the installer. I think that's what @atreyu187 told me anyway back when 2.0 was thought to be what I thought it was - the pkg installer or a better one anyway. I think the zip files r stored in the bgdl folder, right? u might have seen that folder before as it's on ux0.
 
Not sure who wrote the vitadevwiki page but the explanation is as clear as mud...
Looking at the Lua source, this app seems to be a basic Zip extractor.
Pkgs are simply renamed zip files as far as I can make out, not even customised.. Anybody can take a valid game/brew folder structure & zip it with Vitashell or whatever & on PC then change the extension to pkgs.
The PC part of the app uses a 7zip executable for zip operations & 2 small executable files to send/receive files thru ftp.

If I am correct about this, I really wonder why the dev didn't keep the zip extension..
 
Last edited:
@bguerville: If PKG file format contain encrypted data, then PKGS are ZIP but with the same content. Comparing to VPKs which are ZIP with not encrypted content. Well, at least this is how I understand this. And to be honest, I don't really see a point to rename ZIP into VPK or PKGS...

Comparing to PS3 world: PKG for PS3 have not encrypted content (besides EBOOT/SELF/SPRX, right? or they are just signed and/or compressed?).
 
PKGS are just a zip file on "store" settings with no compression. The main reason for posting this was the fact the dev lost this along with most of his work as he relied on MEGA as storage for all his work. He got a ToS violation and MEGA pulled. Anyhow the dev behind ePSP Bubble installer asked for it as he didn't have it either. So I put it here so it wasn't "lost" anymore.
 
@Berion , I believe edat stands for encrypted data and say sprx or self stands for secure plugin or elf basically. pkg files r encrypted as well which I think is what the nas plugin does on the ps3. u can find the pkg keys within the key file of scetool. and, when I encrypt flash files I always compress. that's how u get close to their actual size of official files. u can do this with scetool as well. this is my understand. :-P
 
@bguerville: If PKG file format contain encrypted data, then PKGS are ZIP but with the same content. Comparing to VPKs which are ZIP with not encrypted content. Well, at least this is how I understand this. And to be honest, I don't really see a point to rename ZIP into VPK or PKGS...

Comparing to PS3 world: PKG for PS3 have not encrypted content (besides EBOOT/SELF/SPRX, right? or they are just signed and/or compressed?).
Many apps rely on compression libraries internally, I use 7z & ace regularly at work. It makes no sense to reinvent the wheel. Developers usually choose the best library for the app specs.

I believe there is a huge difference between pkg & pkgs.

It is my understanding that a pkg file is not a zip container, it does not rely on the zip standard for its own structure, it uses Zlib compression to inflate the archived files if compression is chosen during the creation process. If compression is not used, the pkg will be created without calling the Zlib library at all.
If I am not mistaken, the pkg content is encrypted with AES128 for metadata + data & AES256 for metadata header. You cannot read or create a pkg file with a zip utility. Pkg files are not zip compliant files & are not meant to be.

Pkgs are just renamed zip archive files. They can be read & created with a zip utility. As a matter of fact, this app uses a 7z executable to compress the data & create the archive file. There seems to be no encryption used though.
That is why it makes little sense to use a different extension.

Regarding encryption, let us not confuse pkg encryption with the standard file encryption used by s#ny for its executable & licence files. bin/sdat/sprx files are all possibly encrypted & compressed (via scetool).
This has nothing to do with pkg files.
A pkg can also be encrypted & compressed (and generally is) but it is done independently from the encryption/compression status of its contents.

Don't get me wrong, any development effort is a worthy effort imho... This is not criticism, just a friendly comment.
 
Last edited:
Guys.. dont use this.. okay?? this was uploaded to github purely for "archival" reasons if you will this tool is obsolete..
if u want a pkg installer. use this http://wololo.net/2016/08/22/ps-vita-installing-package-installer-firmware-3-60/

this isnt even the latest version (still trying to track that down).

there is no reason to use this.. all the .pkgs files i had up from like forever ago. are no longer available and i do not plan on uploading any new ones.
 

Similar threads

Back
Top