mobutu: This is a great project and thanks for it, I'll probably use it after I buy a big fat TB drive .. but IMO we should push for gog to include this sort of "backup facility" in Galaxy ... wouldn't this be nice? ;)
Absolutely agree! It would be best if GOG Galaxy user could keep all installers and updates in sync as an official feature.
mqstout: Can you specify the download path? Does it create subdirectories for each product? Do the names it creates jive with the existing GOG downloader, or would I end up with a lot of duplication?
Yes you can specify download path; just specify it as a parameter to download
ex.
./gogrepo.py download /mnt/gog-games
If not specified, by default it downloads to the current directory the script is run from
Yes, it creates a folder for each game and puts all files and bonus files inside. It also generates a !info.txt and !serial.txt. See the readme for more details.
It uses the same naming conventions as the gog downloader. The directory and file names are the same as GOG Downloader's. I may add a feature to be able to map your own dirs too (if you want to name them your own way rather than GOG's default names).
ex.
shadowrun_returns/
shadowrun_returns/!info.txt
shadowrun_returns/!serial.txt
shadowrun_returns/gog_shadowrun_returns_1.0.0.4.tar.gz
shadowrun_returns/gog_shadowrun_returns_dlc1_1.0.0.1.tar.gz
shadowrun_returns/patch_shadowrun_returns_2.2.1.11.exe
shadowrun_returns/setup_shadowrun_dragonfall_dlc_2.2.0.10.exe
shadowrun_returns/setup_shadowrun_returns_2.2.0.10.exe
shadowrun_returns/shadowrun_returns_avatar.zip
shadowrun_returns/srr_dragonfall_artworks.zip
shadowrun_returns/srr_dragonfall_avatars.zip
shadowrun_returns/srr_dragonfall_poster.zip
shadowrun_returns/srr_dragonfall_renders.zip
shadowrun_returns/srr_dragonfall_wallpaper.zip
shadowrun_returns/srr_wallpaper.zip
If you have an existing GOG collection, I would suggest you do a verify to see how much it recognizes
./gogrepo.py login
./gogrepo.py update
./gogrepo.py verify <your_gogdownloader_gamesdir>
If you have space and want a clean folder, you can do
./gogrepo.py backup <your_gogdownloader_gamesdir> <new_game_dir>
If you have files which do not follow GOG downloader format, then you can still use the import function which will check MD5.. if any matches to your game manifest database, then they'll get copied over !
I'll soon add a "clean" function that can delete extra or "old" GOG files. This can help to keep your collection clean and only have latest files.