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

Store the MD5 hash in a file along with the files downloaded from GOG #19

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

gatl
Copy link

@gatl gatl commented Jan 4, 2020

I'm working towards facilitating the connection of gogrepo with GameHub.
GameHub stores the MD5 hash alongside the installer files. I added the possibility of storing this information when downloading or importing files on gogrepo.

gatl added 5 commits January 1, 2020 00:41
Projects like GameHub use the long title of the game as the name of the
directory that stores the installers. If gogrepo used the same structure we
could use the gogrepo offline backup directly as the cache of game installers in
GameHub, and in this way save time and bandwidth on needless downloads.

This option is off by default for compatibility and because the (shorter) titles
are a bit better supported in filesystems (and consistent?) than the longer ones.
GameHub makes use of the MD5 hashes and stores them alongside the installers.
If we were to use gogrepo's backups as the source of installers for GameHub,
having the MD5 hashes already present would be convenient.

An option for storing said hashes as files is present in the code, and disabled
by default.
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

Successfully merging this pull request may close these issues.

1 participant