Giter Site home page Giter Site logo

buzhiyun / pkgj Goto Github PK

View Code? Open in Web Editor NEW

This project forked from guch8017/pkgj

0.0 3.0 0.0 581 KB

pkg download & installation directly on Vita

License: BSD 2-Clause "Simplified" License

Vim Script 0.04% CMake 1.80% C++ 57.79% C 38.32% Shell 0.28% Python 1.16% Objective-C 0.60%

pkgj's Introduction

pkgj

Travis CI Build Status License

让你可以在psvita上直接下载NoNpDRM游戏。

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.

Differences with PKGi:

  • queues multiple downloads.
  • supports the TSV file format.
  • installs game updates, DLCs and PSX games.

Current limitations:

  • no support for PSM.
  • no background downloads - if application is closed or Vita is put in sleep then download will stop.

Download

在这里下载最新的vpk安装包 [https://github.com/guch8017/pkgj/releases].

Setup instructions

ux0:pkgi/config.txt 中如下设置游戏数据库链接。

url_games http://45.78.54.81/PSV_GAMES.tsv
url_updates https://nopaystation.com/tsv/PSV_UPDATES.tsv
url_dlcs http://45.78.54.81/PSV_DLCS.tsv
url_psx_games https://nopaystation.com/tsv/PSX_GAMES.tsv

你已经准备好了,现在就可以启动你的软件了

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:

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

For easer 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.

pkgj's People

Contributors

blastrock avatar mmozeiko avatar guch8017 avatar xf10c avatar

Watchers

James Cloos avatar 不二周助 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.