8000 GitHub - gonex45/pkgj: pkg download & installation directly on Vita
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gonex45/pkgj

 
 

Repository files navigation

pkgj

Travis CI Build Status Downloads Release License

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.
  • background downloads, now supports native bgdl function, so you can do whatever you want on the console while content is downloading.
  • queues multiple downloads.
  • supports the TSV file format.
  • installs Game Updates, DLCs, Demos, Themes, PSM, PSP games, PSP DLCs, and PSX games.

Current limitations:

  • no background downloads for PSX/PSP titles - if application is closed or Vita is put in sleep then download will stop.
  • no automatic PSM promotion - PSM titles require database update or rebuild in order to be promoted.

Download

Get latest version as vpk file here.

Usage

Make sure unsafe mode is enabled in Henkaku settings.

Using application is pretty straight forward. Select item you want to install and press X and follow the instructions. 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.

Configuration

pkgj can be configured through ux0:pkgj/config.txt or ur0:pkgj/config.txt.

Option Description
url_games <URL> The URL of the PS Vita game list
url_dlcs <URL> The URL of the PS Vita DLC list
url_psm_games <URL> The URL of the PS Mobile list (see Q&A)
url_psp_games <URL> The URL of the PSP game list
url_psp_dlcs <URL> The URL of the PSP DLC list
url_psx_games <URL> The URL of the PSX game list
url_comppack <URL> The URL of the PS Vita compatibility pack list
install_psp_as_pbp 1 Install PSP games as EBOOT.EBP files instead of ISO files (see Q&A)
install_psp_psx_location uma0: Install PSP and PSX games on uma0:
no_version_check 1 Do not check for update when starting PKGj

Q&A

  1. Where to remove interrupted/failed downloads to free up the space(Only PSV Updates/PSX/PSP games)?

In ux0:pkgj 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.

  1. I want to install PSP games as EBOOT file.

Installing PSP games as EBOOT files is possible. It allows to install games faster and make them take less space. However, you will need to install the npdrm_free plugin to make them work.

To install PSP games as EBOOT files, just add the following line to your config:

install_psp_as_pbp 1

If you want to switch back to the other mode, simply remove the line. Writing 0 is not sufficient.

  1. I can't play PSP games, it says "The game could not be started (80010087)".

You need to install the npdrm_free plugin in VSH, or install games as ISO.

  1. I want to play PSM Games!

You need to install the NoPsmDrm plugin and follow the setup instructions. After installing a PSM game, you'll need to refresh your livearea. You can do that by booting into the recovery menu and selecting Rebuild Database. This will also reset your livearea layout. To enable psm downloads and prove that you read this readme, add "psm_disclaimer_yes_i_read_the_readme" and the name of the needed plugin to the config file.

  1. The PSM Games don't work.

If you followed the instructions for NoPsmDrm, you can try to activate your account for psm games using NoPsmDrm Fixer.

  1. I don't want to loose my livearea layout/This is too much effort, there should be a better way.

Warning: This method may format your memory card, if you're not careful.

Well yes, there is. You can trigger a database refresh by removing ux0:id.dat and rebooting.

But: When using a Slim or a PS TV and an official memory card, you'll be asked if you "want to transfer the data on the internal memory card to the removable memory card". If you press "Yes" here, your memory card will be formatted. Just press "No". In case you're using a Fat, SD2VITA or USB storage, there's no risk.

  1. I'VE ADDED THE PSM URL TO THE CONFIG AND THERES NO MENU OPTION!!

Please read this Q&A carefully

Building

pkgj uses conan and cmake to build. The setup is a bit tedious, so the recommended way is to run ci/ci.sh. It will create a Python virtualenv with conan, setup the configuration for cross-compilation, register some recipes, and then run cmake and build pkgj for your vita and pkgj_cli for testing.

Prerequisites:

  • Debian packages (or their equivalents):
  • build-essential
  • git-core
  • make
  • cmake
  • python3-pip
  • pipenv (pip3 install --user pipenv)
  • ninja-build

pkgj will be built in ci/build, you can rebuild it anytime you want by running ninja in that same directory.

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/PKGJ00000 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:

$ socat udp4-recv:30000,ip-add-membership=239.255.0.100:0.0.0.0 -

License

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

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

Donating

Bitcoin: 128vikqd3AyNEXEiU5uSJvCrRq1e3kRX6n Monero: 45sCwEFcPD9ZfwD2UKt6gcG3vChFrMmJHUmVVBUWwPFoPsjmkzvN7i9DKn4pUkyif5axgbnYNqU3NCqugudjTWqdFv5uKQV

About

pkg download & installation directly on Vita

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 88.3%
  • C 4.6%
  • Python 3.7%
  • CMake 2.1%
  • Shell 0.8%
  • Objective-C 0.4%
  • Vim Script 0.1%
0