It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
After about 9 days my whole collection (with -skipextras) is finally done. Had some mismatch, but deleting the manifestfile solved that.

I use python 3, and on windows I had to pip these
html5lib
html2text
six
requests
pyopenssl

And thiese are the cmds I've used so far, either manually or auto (I plan on setting up a seperate -os linux on another system):

python gogrepoc.py update -lang en -os windows
python gogrepoc.py clean f:\gogrepo\
python gogrepoc.py download -skipextras f:\gogrepo\
python gogrepoc.py verify f:\gogrepo\

So yes, thank you Kalanyr for this insanely useful script. If you ever consider setting up some sort of donation option I'm not a stranger in such matter(s). XD

Perhaps it really is time to set up a new thread in the same process as phasing out p2...
avatar
sanscript: After about 9 days my whole collection (with -skipextras) is finally done. Had some mismatch, but deleting the manifestfile solved that.

I use python 3, and on windows I had to pip these
html5lib
html2text
six
requests
pyopenssl

And thiese are the cmds I've used so far, either manually or auto (I plan on setting up a seperate -os linux on another system):

python gogrepoc.py update -lang en -os windows
python gogrepoc.py clean f:\gogrepo\
python gogrepoc.py download -skipextras f:\gogrepo\
python gogrepoc.py verify f:\gogrepo\

So yes, thank you Kalanyr for this insanely useful script. If you ever consider setting up some sort of donation option I'm not a stranger in such matter(s). XD

Perhaps it really is time to set up a new thread in the same process as phasing out p2...
Ditto on this one, I was actually looking for a donate link earlier
avatar
sanscript: After about 9 days my whole collection (with -skipextras) is finally done. Had some mismatch, but deleting the manifestfile solved that.

I use python 3, and on windows I had to pip these
html5lib
html2text
six
requests
pyopenssl

And thiese are the cmds I've used so far, either manually or auto (I plan on setting up a seperate -os linux on another system):

python gogrepoc.py update -lang en -os windows
python gogrepoc.py clean f:\gogrepo\
python gogrepoc.py download -skipextras f:\gogrepo\
python gogrepoc.py verify f:\gogrepo\

So yes, thank you Kalanyr for this insanely useful script. If you ever consider setting up some sort of donation option I'm not a stranger in such matter(s). XD

Perhaps it really is time to set up a new thread in the same process as phasing out p2...
It's probably best to move the clean after download but before verify now (it doesn't make much difference but in cases where GOG has like silently replaced an installer with one with the same name but tiny changes it lets the download resume logic "fix" it), this is a change from earlier advice when that would cause a name collision.

(If you still have the mismatch logs, I wouldn't mind getting a copy of them either, I broke manifest backwards compatibility but will provide an import function, so I'd like to know where things are stumbling).
avatar
Kalanyr: It's probably best to move the clean after download
Ok, I'll try that.

avatar
Kalanyr: (If you still have the mismatch logs, I wouldn't mind getting a copy of them either, I broke manifest backwards compatibility but will provide an import function, so I'd like to know where things are stumbling).
This part?
Attachments:
avatar
Kalanyr: It's probably best to move the clean after download
avatar
sanscript: Ok, I'll try that.

avatar
Kalanyr: (If you still have the mismatch logs, I wouldn't mind getting a copy of them either, I broke manifest backwards compatibility but will provide an import function, so I'd like to know where things are stumbling).
avatar
sanscript: This part?
Yeah. I see what's happened there, you need to force an update for those games, either by doing a full update or using -ids, they've been updated a since your manifest was generated but not flagged as updated.

Edit - deleting the manifest works because it forces a full update.
Post edited March 31, 2020 by Kalanyr
avatar
Kalanyr: It's probably best to move the clean after download but before verify now (it doesn't make much difference but in cases where GOG has like silently replaced an installer with one with the same name but tiny changes it lets the download resume logic "fix" it), this is a change from earlier advice when that would cause a name collision.
Thanks, I wasn't aware of this so I've changed my Powershell script accordingly:

https://1drv.ms/u/s!AkusSFHlKO4Lnjedf_LhkngEqrUF?e=HD8946
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.
high rated
avatar
TerriblePurpose: 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. myname@gmail.com)
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...
Post edited April 06, 2020 by timppu
the commands are gogrepo.py without the c
avatar
Orkhepaj: the commands are gogrepo.py without the c
Not if you are using the newer dev version, which my instructions suggest.
avatar
Orkhepaj: the commands are gogrepo.py without the c
avatar
timppu: Not if you are using the newer dev version, which my instructions suggest.
oh I see
avatar
timppu: Not if you are using the newer dev version, which my instructions suggest.
avatar
Orkhepaj: oh I see
Yeah the master (Kalanyr) version doesn't seem to have been updated for like two years, so I guess the dev version is preferred.
avatar
timppu: Yeah the master (Kalanyr) version doesn't seem to have been updated for like two years, so I guess the dev version is preferred.
I've been using the master version to date and have not seen any issues. Would be good if Kalanyr could indicate if the master or dev is recommended.
avatar
Kalanyr: It's probably best to move the clean after download but before verify now (it doesn't make much difference but in cases where GOG has like silently replaced an installer with one with the same name but tiny changes it lets the download resume logic "fix" it), this is a change from earlier advice when that would cause a name collision.
avatar
ikrananka: Thanks, I wasn't aware of this so I've changed my Powershell script accordingly:

https://1drv.ms/u/s!AkusSFHlKO4Lnjedf_LhkngEqrUF?e=HD8946
While that PowerShell script seems to be butter on bacon but still usefull, you should know that "Norsken" is not a real word...

It's "Norsk", "Norwegian", (or in some cases where you differentiate the two main dialects like some Linux distributions do; "Norsk Bokmål" [Norsk_nb] or "Norsk Nynorsk" [Norsk_nn]).

Since you already use the english variant of a language I suggest "Norwegian", even though it sounds like the Germans still owns us after building us up for more than 200 years ;D
Post edited April 07, 2020 by sanscript
Good grief, I have no idea where I got Norsken from ??? I'll change it to Norwegian to match the English of the others.

Yes, my script is just icing on the cake as I like to think of it. It just adds the convenience of packaging and automating commonly used batches of gogorep commands. Also adds options for bandwidth throttling and for shutting down the computer when finished.

avatar
timppu: 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
Is it still necessary to install requests[security] without which I believe there were issues with openssl?
Post edited April 07, 2020 by ikrananka