Is there a tutorial for dummies to get this set up and running on Windows 10? And by 'dummies' I mean someone like me that knows nothing about Python.
I'll try (this goes from memory so hopefully I don't make mistakes):
1. Go to https://www.python.org
/ and download the Python 3.x.x installer for Windows. Currently the very latest python is 3.8.2, the latest stable version is 3.7.7. I guess either will do fine.
2. Install it on your PC. Tick the box that says "Add Python 3.x to PATH".
This makes sure you can use python from any directory in Windows, without having to specify each time the full path to python.
3. Go to https://github.com/Kalanyr/gogrepoc
- In the "Branch" box, select "dev" (by default it is "master").
- Click on "Clone or download" and "Download ZIP".
- Uncompress the gogrepoc-dev.zip file to any folder you want.
4. Go to the Windows Command Prompt (click on the Windows Start Menu icon, type cmd
and press enter), and write these commands: pip install html5lib
pip install html2text
pip install six
pip install requests
pip install pyopenssl
5. In the Command Prompt, go to the directory where you uncompressed gogrepoc and where gogrepoc.py is, e.g.: cd \users\yourname\downloads\gogrepoc-dev\
6. Login (create a login cookie for gogrepoc) python gogrepoc.py login
Username: (give your GOG email address, e.g. firstname.lastname@example.org)
Password: (your GOG password)
At this point it may ask for two-factor authentication code from your email, but if you have logged into gog.com before from your web browser on the same PC (from the same IP address), I think it doesn't require this.
If it says "login successful", you are fine.
7. Above was the installation/setup part. You don't need to use that "login" command anymore when using gogrepo, as long as you have that valid login cookie (gog-cookies.dat) in the gogrepoc directory. I guess the cookie will become old and invalid at some point, at which point just run that login command again.
8. Below is the normal usage of gogrepo. In these examples your GOG game installers (English Windows versions only) will be downloaded into the e.g. D:\GOG_installers\ subdirectory which you have created beforehand, change the path if needed. Read the README.md file in Notepad to learn more about different gogrepo commands. python gogrepoc.py update -lang en -os windows
python gogrepoc.py download D:\GOG_installers\
python gogrepoc.py clean D:\GOG_installers\
python gogrepoc.py verify D:\GOG_installers\
Just repeat those four commands whenever you want to update your local GOG installer collection up to date. The clean command will move any old and obsolete files into a special !orphaned directory, e.g. D:\GOG_installers\!orphaned\. You might want to check that directory once in a while to remove any old GOG installer files you don't want to keep anymore. In theory you can always just delete the folders and files within that directory, but just in case you want to keep something that GOG has removed from its servers...
Thank you very much for this guide. It's the first time, that gogrepo works for me.