Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue downloading multi package games #34

Open
desmondarcher opened this issue Apr 7, 2020 · 6 comments
Open

Issue downloading multi package games #34

desmondarcher opened this issue Apr 7, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@desmondarcher
Copy link

desmondarcher commented Apr 7, 2020

Hi Bucanero,
I noticed there is an issue downloading games that are split into multiple package files. For example, pkgi is not able to download and install games if the URL for the game is a link to an XML file instead of a PKG file using either the direct or background download method. For the games that link to XML files, the direct links to the PKG files that you need to install for that game are within that XML file. I can provide examples if you need them.

If it is not possible for this to be fixed that is fine. I understand that most games are not like this and are associated with a single PKG link and not an XML file that has multiple PKG links within it.

EDIT: I just did a workaround by making my own custom file with the multiple links in it. It works fine so if you don't think this is worth addressing then it is no big deal. Thanks

@bucanero
Copy link
Owner

bucanero commented Apr 7, 2020

yes, XML links are not currently supported, the app assumes that the URL is a .pkg file.

It could be added in a future version, but it's not a top priority right now.

@bucanero bucanero added the enhancement New feature or request label Apr 7, 2020
@ghost
Copy link

ghost commented Jul 15, 2020

@desmondarcher Would be nice if you posted an example, in case this is worked on in the future.

@desmondarcher
Copy link
Author

desmondarcher commented Jul 15, 2020 via email

@ghost
Copy link

ghost commented Jul 15, 2020

OK, so it looks like :

<hfs_manifest>
<file_name>UP0177-NPUB31658_00-YAKUZA5000000001_bg_1_4628521509dc8179ed5128cd117e3b9a40b2d58c.pkg</file_name>
<file_size>24228954192</file_size>
<number_of_split_files>6</number_of_split_files>
<pieces file_size="4687500000" hash_value="3fe2b40f00b96f75bbd22cf547697dc52f3a88c0" index="0" url="pkg link"/>
<pieces file_size="4687500000" hash_value="44a87748097dc227ee5156f305b22e78c7f3f28c" index="1" url="pkg link"/>
<pieces file_size="4687500000" hash_value="eca583be6d81114590d630247220f0b5fec40bbe" index="2" url="pkg link"/>
<pieces file_size="4687500000" hash_value="a691ae2681cbe41c1b7ee94e131c3ab21ee453e0" index="3" url="pkg link"/>
<pieces file_size="4687500000" hash_value="fad2dbbea1582b9bed82a0e01495cc49dd9ea6cf" index="4" url="pkg link"/>
<pieces file_size="791454192" hash_value="b7ebc00c173bfadcb7e7e64b7ccc577c6268235b" index="5" url="pkg link"/>
</hfs_manifest>

Are these meant to be installed separately or merged somehow then installed?

@desmondarcher
Copy link
Author

desmondarcher commented Jul 16, 2020 via email

@bucanero
Copy link
Owner

Note about XML downloads:

A good test for someone with access to their purchases on the store, would be to queue one of these big xml downloads, and once it's queued then just pause it. Next, with either HEN or CFW, grab all the tasks files (d0.pdb, d1.pdb, f0.pdb, etc) from the /dev_hdd0/vsh/game_pkg/ folder.

With those files I could probably get a clear view of how it is handled and maybe it can be replicated on pkgi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants