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

[Feature request] Add a command to get download info given a game and an install path #7

Open
arielj opened this issue Jun 17, 2022 · 0 comments

Comments

@arielj
Copy link
Contributor

arielj commented Jun 17, 2022

It would be nice to have a command to get information about a potential download of a game in a specific installation directory, without actually installing the game in the process.

I imagine something like gogdl install-info game --install_dir="some path" (not sure if this follows the project's conventions, just an example)

The command would output at least this information:

  • Total download size (the complete size of the game, without considering what was already downloaded)
  • Total download size excluding re-usable files found in that installation dir (*)

(*) to add some clarification here, it's not the size of the uncompressed files in the disk, it's the size of the compressed files that would be downloaded, if the files on disk are uncompressed and the downloaded files are compressed we want the value of the compressed files which is the actual amount we are not re-downloading

We could include, as extra, some calculations with those numbers:

  • remaining size: total - reusable to know how much is left in absolute units
  • remaining %: (total - reusable) / total to know how much is left in %

These last extra numbers are not critical for this feature, we can calculate that with the other 2 values anyway

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

1 participant