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

Suggestion: Option to specify which content file / tmd file to download? #2

Open
Rifu86 opened this issue Oct 17, 2018 · 6 comments
Open

Comments

@Rifu86
Copy link

Rifu86 commented Oct 17, 2018

Would it be possible to add a command-line option to just download a specific content or tmd file?
for example:
--download-file "00000000"
--download-file "tmd.16"

Some titles have multiple versions, (usually DLC and updates, but some demos and main titles do as well)
Having this option would be handy to preserve the content and TMD files of older versions.
You can download a specific versions tmd file by adding a dot/period after the tmd filename and specifying the version number in decimal, for example: tmd.16)

@luigoalma
Copy link
Owner

can do, but let me finish trying to sanitize main.cpp first

@mariomadproductions
Copy link

mariomadproductions commented Oct 29, 2018

Further explanation of how the CDN works in regards to multiple versions:

  • "tmd" downloads the latest tmd
  • "tmd.1" will download tmd "v1" which will (in all cases that I know of) specify different contents (contents = 0000000, 00000001 etc) to download than later version tmds do. this is how the console downloads titles - downloads the latest tmd and the contents specified in that tmd. (except for DLC where it does things slightly different I believe).
  • but you can also just download the specific files content files directly, rather than relying on the tmds. this could be useful if the tmd is deleted from the server (this has happened very rarely). but its easiest just to do it via the tmds, since you'd want to get the tmds anyway, and I don't know of any case where contents don't have a corresponding tmd (unless it was deleted).

@luigoalma
Copy link
Owner

Further explanation of how the CDN works in regards to multiple versions:

* "tmd" downloads the latest tmd

* "tmd.1" will download tmd "v1" which will (in all cases that I know of) specify different contents (contents = 0000000, 00000001 etc) to download than later version tmds do. this is how the console downloads titles - downloads the latest tmd and the contents specified in that tmd. (except for DLC where it does things slightly different I believe).

* but you can also just download the specific files content files directly, rather than relying on the tmds. this could be useful if the tmd is deleted from the server (this has happened very rarely). but its easiest just to do it via the tmds, since you'd want to get the tmds anyway, and I don't know of any case where contents don't have a corresponding tmd (unless it was deleted).

thank you for explaning however, i'm well aware of so

@mariomadproductions
Copy link

I thought you might be, as you did create this tool :P. But I wanted to make sure, as many people don't seem to be aware that "title versions" even exist.

luigoalma added a commit that referenced this issue Nov 3, 2018
@InternalLoss
Copy link

Hey; just curious if this would be able to be added at some point? It'd be really helpful to be able to specify version/content files to download :p

@luigoalma
Copy link
Owner

it will at a point
change is rather easy, but delay of it not coming is not caused by it
there's other code unrelated to this that is putting any commits by me here temporarily to an halt, due to incompletion

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

No branches or pull requests

4 participants