eddie3 / gogrepo

Python-based tool for downloading all your GOG.com game and bonus collections to your local computer for full offline enjoyment.
481 stars 114 forks source link

Skippatches #60

Open Xeniac-at opened 2 years ago

Xeniac-at commented 2 years ago

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".

oriwheb commented 1 year ago

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).