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

Skippatches #60

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

Skippatches #60

wants to merge 3 commits into from

Conversation

Xeniac-at
Copy link

Since gogrepo.py downloads the current full installer for the game, I don't want to download and store the patches.
This patch adds a --skippatches flag to omit these downloads.
The manifest has no extra sections for patches, nor any fields to mark them as patch, but GOG names them patch_*, so this flags filters all gamefiles starting with "patch_".

Xeniac added 3 commits May 30, 2021 14:01
The manifest has no explicit section for patches, but gog names those files patch_*. So we simply filterout every gamefile thats starts with patch_
@oriwheb
Copy link

oriwheb commented Feb 7, 2023

I created a version of this that nips the updates in the update phase - when building the manifest.
Noticeably saves some time in creating the manifest when the library is large enough.

Except for archiving purposes there really is no reason to download the patches, since the main installer is already up to date, so you can't go back and stay at a patch you liked for whatever balance update or nice bugs/glitches...

I'm currently testing it out, but really it's just what you did except I put the test in the update command filtering process before the HTTP call (since the name of the file is already known).

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.

2 participants