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

Duplicate file name fix #27

Closed Kalanyr closed 5 years ago

Kalanyr commented 7 years ago

This resolves a problem of never being able to be fully up to date / verified when GOG has 2 files with the same file name but different Sizes/MD5s in one game entry. It does so by inserting a numeric indicator into the file name, such that the set integrity of exe / bin groups is preserved.

It also recognizes when the same file is listed twice (eg as a base game goodie and again as part of a special edition) and skips adding to the manifest in that case.