Join Us and become a Member for a Verified Badge to access private areas with the latest PS4 PKGs.
PS Vita Jailbreaking       Thread starter PSXHAX       Start date Oct 23, 2017 at 5:35 AM       6      
Status
Not open for further replies.
Last month we saw PKG2Zip by PlayStation Vita homebrew developer MMOZeiko and today following the latest NoPsmDrm v1.1 update he returns with PKGi, which allows users to install, download and unpack PKG files directly on PS Vita together with a NoNpDrm fake license proceeded by PKGJ by blastrock which supports multiple downloads, TSV file format and refreshes list from 3 URLs for games, updates and DLCs. :ninja:

Download: pkgi-v0.05.vpk / GIT / pkgi-v0.05ModFR.vpk via opoisso893 (aka backport893) / Vita PKG Tool (59.37 MB) / pkgj.vpk / GIT

From the README.md, to quote: pkgi

pkgi allows to install original pkg files on your Vita.

This homebrew allows to download & unpack pkg file directly on Vita together with your NoNpDrm fake license.

Features
  • easy way to see list of available downloads, including searching, filter & sorting.
  • standalone, no PC required, everything happens directly on Vita.
  • automatic download and unpack, just choose an item, and it will be installed, including bubble in live area.
  • resumes interrupted download, you can stop download at any time, switch applications, and come back to download from place it stopped.
Current limitations:
  • no support for DLC or PSM.
  • no queuing up multiple downloads.
  • no background downloads - if application is closed or Vita is put in sleep then download will stop.
Download

Get latest version as vpk file here.

Setup instructions

You need to create ux0:pkgi/pkgi.txt file that will contain items available for installation. This file is in very simple CSV format where each line means one item in the list:

contentid,flags,name,name2,zrif,url,size,checksum

where:
  • contentid is full content id of item, for example: UP2120-PCSE00747_00-TOWERFALLVITA000.
  • flags is currently unused number, set it to 0.
  • name is arbitrary UTF-8 string to display for name.
  • name2 is currently unused alternative name, leave it empty.
  • zrif is NoNpDrm created fake license in zRIF format, it must match contentid.
  • url is http url where to download PKG, pkg content id must match the specified contentid.
  • size is size of pkg in bytes, or 0 if not known.
  • checksum is sha256 digest of pkg as 32 hex bytes to make sure pkg is not tampered with. Leave empty to skip the check.
Name cannot contain newlines or commas.

To avoid downloading pkg file over network, you can place it in ux0:pkgi folder. Keep the name of file same as in http url, or rename it with same name as contentid. pkgi will first check if pkg file can be read locally, and only if it is missing then pkgi will download it from http url.

Usage

Using application is pretty straight forward. Select item you want to install and press X. To sort/filter/search press triangle. It will open context menu. Press triangle again to confirm choice(s) you make in menu. Or press O to cancel any changes you did.

Press left or right shoulder button to move page up or down.

Q&A
  • Where to get zRIF string?
You must use NoNpDrm plugin to dump existing games you have. Plugin will generate rif file with fake license. Then you can use either web page or make_key to convert rif file to zRIF string.
  • Where to get pkg URL?
You can use PSDLE to find pkg URL for games you own. Then either use original URL, or host the file on your own server.
  • Where to remove interrupted/failed downloads to free up the space?
In ux0:pkgi folder - each download will be in separate folder by its title id. Simply delete the folder & resume file.
  • Download speed is too slow!
Typically you should see speeds ~1-2 MB/s. This is normal for Vita hardware. Of course it also depends on WiFi router you have and WiFi signal strength. But sometimes speed will drop down to only few hundred KB/s. This happens for pkg files that contains many small files or many folders. Creating a new file or a new folder takes extra time which slows down the download.

Building

You need to have Vita SDK with libvita2d installed.

Run cmake . to create debug build, or cmake -DCMAKE_BUILD_TYPE=Release . to create optimized release build.

After than run make to create vpk file. You can set environment variable PSVITAIP (before running cmake) to IP address of Vita, that will allow to use make send for sending eboot.bin file directly to ux0:app/PKGI00000 folder.

To enable debugging logging pass -DPKGI_ENABLE_LOGGING=ON argument to cmake. Then application will send debug messages to UDP multicast address 239.255.0.100:30000. To receive them you can use socat on your PC:
Code:
$ socat udp4-recv:30000,ip-add-membership=239.255.0.100:0.0.0.0 -
For easier debugging on Windows you can build pkgi in "simulator" mode - use Visual Studio 2017 solution from simulator folder.

License

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

puff.h and puff.c files are under zlib license.

Changlog

pkgi v0.04

First public release. Has following basic functionality:
  • loading list of available items
  • searching by name
  • sorting by title, region, name or size
  • filtering based on region
  • unpack pkg while downloading
  • ability to resume interrupted download
  • automatic installation at the end of download ("refresh livearea")
pkgi v0.05
  • significantly improved download/unpack speed (should be ~4 to 5 times faster).
  • better error message when config.txt file is missing last newline.
:arrow: Also from SKGleba earlier this year came a sonyMC resigner for ONLY ENSO with details below, to quote:

Download: sony mc resigner.zip (92.8 KB)

Hi guys, I was bored so i made onboot id.dat deleter. It spawns before shell.self so the shell auto assigns the card to your account (generates id.dat). You can resign any card to your account. (Even from higher fw!)

How to install:

1) place idresign.self in ur0:tai
2) In boot_config.txt add a line "- spawnwait ur0:tai/idresign.self" (w/out quotation marks) just before shell.self line (almost the end of file).
3) Turn off ur vita & insert memory card
4) Power on your vita, it may take 2-5 secs longer than usualy (on pstv 5-15)
5) The database will refresh
6) The card is yours!

To uninstall just delete the created line in boot_config.txt

UPDATE1: the self is lightler, also added a suprx version (just place under *main) -- download idresign2.self/suprx

UPDATE2: SWMCL.self- if exists ur0:mcids/id.dat it copies it in place of original id.dat

:arrow: From the PKGJ README.md, to quote: pkgj

pkgj allows to install original pkg files on your Vita.

This homebrew allows to download & unpack pkg file directly on Vita together with your NoNpDrm fake license.

Features
  • easy way to see list of available downloads, including searching, filter & sorting.
  • standalone, no PC required, everything happens directly on Vita.
  • automatic download and unpack, just choose an item, and it will be installed, including bubble in live area.
  • resumes interrupted download, you can stop download at any time, switch applications, and come back to download from place it stopped.
Differences with PKGi:
  • queues multiple downloads.
  • supports the TSV file format.
  • refreshes list from 3 URLs for games, updates and DLCs.
Current limitations:
  • no support for PSM.
  • no background downloads - if application is closed or Vita is put in sleep then download will stop.
Download

Get latest version as vpk file here.

Setup instructions

Setup games databases URLs in ux0:pkgi/config.txt. The file format is the following:
Code:
url_games https://thesite/games.tsv
url_updates https://thesite/updates.tsv
url_dlcs https://thesite/dlcs.tsv
Then start the application and you are ready to go.

To avoid downloading pkg file over network, you can place it in ux0:pkgi folder. Keep the name of file same as in http url, or rename it with same name as contentid. pkgj will first check if pkg file can be read locally, and only if it is missing then pkgj will download it from http url.

Usage

Using application is pretty straight forward. Select item you want to install and press X. To sort/filter/search press triangle. It will open context menu. Press triangle again to confirm choice(s) you make in menu. Or press O to cancel any changes you did.

Press left or right button to move page up or down.

Q&A
  1. Where to get zRIF string?
You must use NoNpDrm plugin to dump existing games you have. Plugin will generate rif file with fake license. Then you can use either web page or make_key to convert rif file to zRIF string.
  1. Where to get pkg URL?
You can use PSDLE to find pkg URL for games you own. Then either use original URL, or host the file on your own server.
  1. Where to remove interrupted/failed downloads to free up the space?
In ux0:pkgi folder - each download will be in separate folder by its title id. Simply delete the folder & resume file.
  1. Download speed is too slow!
Typically you should see speeds ~1-2 MB/s. This is normal for Vita hardware. Of course it also depends on WiFi router you have and WiFi signal strength. But sometimes speed will drop down to only few hundred KB/s. This happens for pkg files that contains many small files or many folders. Creating a new file or a new folder takes extra time which slows down the download.

Building

You need to have Vita SDK with libvita2d installed.

Run cmake . to create debug build, or cmake -DCMAKE_BUILD_TYPE=Release . to create optimized release build.

After than run make to create vpk file. You can set environment variable PSVITAIP (before running cmake) to IP address of Vita, that will allow to use make send for sending eboot.bin file directly to ux0:app/PKGI00000 folder.

To enable debugging logging pass -DPKGI_ENABLE_LOGGING=ON argument to cmake. Then application will send debug messages to UDP multicast address 239.255.0.100:30000. To receive them you can use socat on your PC:
Code:
$ socat udp4-recv:30000,ip-add-membership=239.255.0.100:0.0.0.0 -
For easier debugging on Windows you can build pkgj in "simulator" mode - use Visual Studio 2017 solution from simulator folder.

License

This software is released under the 2-clause BSD license.

puff.h and puff.c files are under zlib license.
Cheers to both SKGleba‏ for the heads-up on Twitter and MarioMasta64 for sharing the screenshots! :bananaman13:
PKGi Download & Unpack PS Vita PKG Files Directly by MMOZeiko.jpg
 

Comments

Is there anything remotely like this for the PS3? And, by remotely... I mean having everything done locally inside the PS3 without any need of a PC?
 
If I run across one I'll post back, most PKG unpackers I recall for PS3 were command-line / Windows apps versus being ran on the PS3 directly. :confused:
 
Status
Not open for further replies.
Back
Top