Coder Social home page Coder Social logo

pkgi's People

Contributors

mmozeiko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pkgi's Issues

Implement background downloads

Download should happen in background. This requires #2 to be implemented first.

  • allow download to be happening even if application is not running. Will require kernel plugin?
  • background download will keep download queue and process pkg unpacking.
  • UI app should query download status, and update download queue accordingly.
  • when UI app notices download finished, it will perform install operation.
  • if possible, show notification when download finishes even if UI app is not running.
  • monitor system if some other game is running to throttle download speed for reducing CPU usage?

new version PKGi

Hello. Ihave some question. 1) do u want to update PKGi? 2)where i can take a game list from PKGi ? 3) what u want realise in a new version ?

memory card is removed prompt and then restart when downloading

When in the middle of download sometimes there is prompt(i think it's vita prompt, not sure) that says the memory cards is removed and then after i press ok the system restart. So far i only encountered this problem when installing valkyrie drive bhikkuni, after restart i can resume the progress normally. I tried other games and the only one that show this problem is this game. it happen 1-3 times in one download, sometimes it doesn't happen at all.

Another problem with same game, it always says integrity check failed after download, wether the previous issue happen or not. i tried 6times with same result. The "memory card is removed" issue show up in 4 of 6 attemp.

Use full Unlicense text

As a protective measure, including the entire Unlicense text is probably a good idea. Mostly just the last paragraph that says you're not responsible for what the software may do or be used for.

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.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org>

rename resume file

you could rename resume file from titleid.resume (now) to contentid.resume because it can couse issue in the future when updates and dlcs will be supported, for example if i start download one dlc, i will cancel it and i start download second dlc with the same title id

edit:

or even better contentid_app.resume, contentid_update.resume, contentid_dlc.resume, because i forgot app and update have the same content id or something other unique like pkgfilename.resume

regards

Create new vpk file after changes

The vpk file (0.05) is from 25th October and last change on source code is from 20th November.
Please create a new vpk file.
Note: i recognized at chapter 'Building', that you explained how to do it, but it's difficult for me.

Thanks in advance,
komser

pkgi crash

tool crash if pkgi returns No items! and we press x:

  • search for example qqqqqq and press x
  • disable all regions and press x

aes128 and sha256

Just a quick question -- did you write these implementations yourself? They look really useful :) Were you planning on maybe using those implementations in future projects?

installation with empty zrif - pkg (local license)

installation with empty zrif:
if i want to install pkg (local license) without zrif tool returns error - installation failed unfortunately when download is finished. better idea would be check pkg license type before installation

delete files if installation failed:
if installation failed all files are still present in ux0:pkgi/titleid and since we can't resume/reinstall after installation failed (download starts from the begining) they are not needed

PKGI freezes when searching for the word 'solider'

Not sure why this happens but when I search for 'solider' and press enter, the app freezes. It won't respond to any button presses. No choice but to manually close the app and restart it.

I think this happens anytime a game is not listed. I typed in "NFL game" just as a test and the same thing happened.

Support fuzzy search

Search should support finding similar strings instead of doing exact match:

  • characters could be deleted
  • characters could be inserted
  • characters could be swapped

For example: boddelansd should find Borderlands.

[IDEAS] Implement a menu to erase games, and preview covers, screenshots

it will nice to have a button to erase games and incomplete games, this would be faster than going to livearea and deleted them manually, or going to pkgi folder to delete incomplete games.

Also it would be nice to have preview covers for the games, like front back covers, screenshots, information about the game, video preview or trailers of the game.

Just an idea XD.

Implement better UI

  • Fancy UI mode - show items in small rectangles with images. If possible to get description, allow to click on it and get more information in popup?
  • Show type of game (Arcade, Strategy, etc), allow filtering/sorting on it.
  • Ask to resume download or restart from beginning instead of defaulting to resume.

PKGI loader freezes when downloading, will not show further progress

When downloading a game over 1.5GB, the loader freezes (small progress bar/info screen), this happens on all the games over 1.5GB+ and thus gets irritating.

I am unable to check whether the game has downloaded or not, as the orgress suddenly stops at around 17-19% e.g.

I download a game: Persona 4 Golden >> Size is 3GB+ >> ETA: say about 29 mins >> PROGRESS STARTS >> PROGRESS @ 17% Loader Freezes completely, but download is continuing in the background >> only issue is you can not determine when the download is going to be completed as the progress bar/completion status has all but frozen.

Please check and fix.

Game won't install

Basically the game downloads then when it try to install it will say "ERROR installation Failed"

Can anyone help?

Screen burn in alternative to sleep like vita Shell

Hi, I have been contributing and using the app but the screens since its gonna suffer for the burn in effect of leaving it on all the time why not implement the screen off functionality of the vita shell? its on GitHub open source so it should be easy to implement so the screens won't suffer so much with both old or lcd and better electricity consumption. Thanks for the amazing idea mmozeiko have been great since Sony downed us with the activation error.

game one channel

hey i need game one channel in pkgi to download plz can you add this aplication in pkgi

create pkgi dir and empty pkgi.txt if not exists

create pkgi dir and empty pkgi.txt if not exists on the same partition where pkgi app is installed or if partition ux0 exists - create on ux0 else create on ur0 (for vitas without memory card and internal storage)

Resume download

When resuming download pkgi calculates available space vs full download size, it should calculate vs full size - already downladed

Implement download queue

  • Allow to queue up multiple downloads. Download & install them one by one.
  • Multiple selection - use rectangle to select multiple items and X perform install action to all of them at once. Circle clears selection?
  • How to see download queue? Select button brings up separate list with current queue? Allow to move items up/down, cancel and pause/resume.
  • Queue should persist between application restarts.
  • Show status of queue at bottom bar - done items / total items.
  • Queue should be processed even when user browses other items, do not block UI.

Auto Update for PKGi

Hello Mozeiko !
First time thank you for the application, it's really great work.
It's possible to add an autoupdate to the PKGi application?
Thx

Can't select title if there is only 1 search result

When using search function if the result is only 1, i can't select it. For example in my list there is only 1 version of dariusburst then i can't select it, but if i search tearaway that have 3 version i can select it normally.

(Request) Check for pkgi in ur0

I'm trying to detach as much as possible from the ux0. It would be great if in pkgi_get_pkgi_folder you can add the logic to check for ur0:pkgi and return that if it exists. I don't have a Vita compile env setup or I'd provide the code.

I have to say great code. It shows how well it was written that a feature can be added with only a few lines of extra code.

Of course you use that for temp storage also. Didn't think of that till later.

Check application update (new version)

At startup check if new version of pkgi is available. If it is, then notify user about it.

  • is it possible to update application & restart it automatically?

Let us download games that we have on cart

I have the SD card adapter, and I'd like to download all the games I have on cart, to my SD card. But when I try it errors out saying they've been installed already.

Support DLC pkg files

Add ability to download & unpack DLC pkg files.

  • should it be separate list of DLCs only?
  • or have it install together with main pkg file? Allow to choose which ones or install all of them?
  • use ux0:bgdl mechanism or wait for better one? bgdl will require to reboot Vita, potentially multiple times.

Using YAML as data format

If the pkgi.txt file is ever meant to be edited (to which I assume it will be), then using YAML seems like a good choice. The main advantages for YAML are that it is much more readable, allow not including entries, and don't add a lot of 'overhead' for file size. Here is a simple comparaision:

CSV format (original):

UP2089-PCSE00582_00-ADVENTURETIMEPAK,0,Adventure Time,,aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,http://zeus.dl.playstation.net/cdn/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/dummy.pkg,371557824,a5d40400375659b619391128745d0aa419dea15149b276cc696577dc76b329ac
EP0082-PCSB00975_00-ADVENTURESOFMANA,0,Adventures of Mana,,aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,http://zeus.dl.playstation.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/dummy.pkg,532326688,387845c6100dcf12be914220e246cbf5c227c12c79d686f8231fc3d166c85f0f
JP0082-PCSG00759_00-SEIKENFFGAIDENRM,0,Adventures of Mana,聖剣伝説FF外伝,aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,http://zeus.dl.playstation.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/dummy.pkg,375289280,566642fbfe8b4c9ac2f5690b001e61b7bca609a3a5ef94b22b04e8d19c30e0c4

YAML:

- contentid: UP2089-PCSE00582_00-ADVENTURETIMEPAK
  flags: 0
  name: Adventure Time
  zrif: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  url: http://zeus.dl.playstation.net/cdn/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/dummy.pkg
  size: 371557824
  checksum: a5d40400375659b619391128745d0aa419dea15149b276cc696577dc76b329ac
- contentid: EP0082-PCSB00975_00-ADVENTURESOFMANA
  flags: 0
  name: Adventures of Mana
  zrif: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  url: http://zeus.dl.playstation.net/cdn/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/dummy.pkg
  size: 532326688
  checksum: 387845c6100dcf12be914220e246cbf5c227c12c79d686f8231fc3d166c85f0f
- contentid: JP0082-PCSG00759_00-SEIKENFFGAIDENRM
  flags: 0
  name: Adventures of Mana
  name2: 聖剣伝説FF外伝
  zrif: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  url: http://zeus.dl.playstation.net/cdn/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/dummy.pkg
  size: 375289280
  checksum: 566642fbfe8b4c9ac2f5690b001e61b7bca609a3a5ef94b22b04e8d19c30e0c4

Note how with YAML, the item doens't need to be included if it's empty, here name2. Here you could also remove the flags entry when it is 0 (blank). Taking advantage of these tricks we end up with a file that has very close filesize to the original csv (using input with about 900 entries):

$ du -b pkgi.yaml pkgi.csvoriginal 
387951  pkgi.yaml
340393  pkgi.csvoriginal

which amounts to a ~12,2% filesize increase from the transformation to YAML.

Support for titles that do not require zRIF

Currently, there is no way to install pkg files that have no zRIF(and yet work without one just like Baseball Riot). I suggest allowing to install the titles that have "NO REQUIRED" set as zRIF (and ignore this value during install).

Downloads don't reserve space for preventing not download

i have this problem when i download a game, for example i had 3 gb of free space, a game size is 2.50 gb, when is 50% on download and i lost connection, when i want to resume the download, the program said there is no free space Available, but thats not true, the space is occupied by the same download in progress, but it take reference from the free space Available.

i think pkgi must reserve space before start downloading, because of this issue, resuming downloads with mininal enought space, is causing problems.

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.