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

×
avatar
woolymethodman: Hi folks! FYI the script updates are coming along nicely.. I'm currently working on revamping the downloader code this weekend. After that it should be ready for a release. I think you guys will love the changes.. especially the speed improvements and config file.

I'd like to give a heads up though... I will be dropping Python 2 support. Python 3 is definitely the way to go, and it will simplify installation and setup as well (pip is included for example). Also it makes the code cleaner and simpler.

Hopefully this isn't a big deal to folks. I will include clear instructions on how to setup everything.

I *may* re-add Python 2 support later, but it's going to be a low priority item. If this is some kind of deal breaker for you, please explain to me why and perhaps this item can be higher priority.

Cheers
Is there a way to run dual 2/3 setups on Windows easily ? Its easy with Linux since you can use shell directives to indicate which to use.
I guess I could change extension associations so that .Py2 = pyghon2 and .Py = 3 and rename appropriately.

(I have python2 code I still need to run with depencies that never got ported to 3).
Oh for sure. There are several ways to do this.. here's a clean way for Windows: http://stackoverflow.com/a/18197237

Virtualenvs are also nice.
avatar
woolymethodman: Oh for sure. There are several ways to do this.. here's a clean way for Windows: http://stackoverflow.com/a/18197237

Virtualenvs are also nice.
Thanks. Didn't know the launcher was added in 3.3. I'll update my pyrhon3 install tomorrow and then I should be good.
avatar
woolymethodman: Oh for sure. There are several ways to do this.. here's a clean way for Windows: http://stackoverflow.com/a/18197237

Virtualenvs are also nice.
Thanks. Got 3.6 setup, and most of my packages installed on it, but have 2 set to default for back compatability. I can use the shebang for gogrepo so I'm all good now.
Just installed Python 3.6.0 and selected pip during the install process. However, when I run gogrepo I get an error stating that html5lib is not present. Do I still need to run the get-pip.py script to ensure that html5lib is installed?
avatar
ikrananka: Just installed Python 3.6.0 and selected pip during the install process. However, when I run gogrepo I get an error stating that html5lib is not present. Do I still need to run the get-pip.py script to ensure that html5lib is installed?
On Windows? Open a cmd-window and run "pip install html5lib html2text"
avatar
ikrananka: Just installed Python 3.6.0 and selected pip during the install process. However, when I run gogrepo I get an error stating that html5lib is not present. Do I still need to run the get-pip.py script to ensure that html5lib is installed?
avatar
bratmaxe: On Windows? Open a cmd-window and run "pip install html5lib html2text"
Thanks - that did it :)
avatar
woolymethodman: Hi folks! FYI the script updates are coming along nicely.. I'm currently working on revamping the downloader code this weekend. After that it should be ready for a release.
Uh.. sorry for bothering, but are there any news? O_o
Post edited February 11, 2017 by phaolo
Hi dev! Is it possible to allow gogrepo to pass login/pass via text file instead of command line?

Because if I call gogrepo --login $login $pass, then the credentials could be watch "ps -aux|grep >> log"ed by world...
avatar
Lin545: Hi dev! Is it possible to allow gogrepo to pass login/pass via text file instead of command line?

Because if I call gogrepo --login $login $pass, then the credentials could be watch "ps -aux|grep >> log"ed by world...
You could always just pipe the text as input using xargs for example?
avatar
disi: You could always just pipe the text as input using xargs for example?
You are right, this also works! Thank you!
avatar
woolymethodman: .
So, not to be a downer or anything, but a month ago there was going to be a quick weekend update and it never happened. I understand you're doing this for free and out of the kindness of your heart, so I don't want to seem impatient, but at this point my involvement is more concern for your personal well-being than desire to see the script updated. Is everything OK? I realize real life can get in the way and a project on the internet for a group of strangers is not always on your mind. I'm only asking that you answer us to let us know you're ok because I, for one, am concerned about your disappearance.
Finally giving this a try to see what it does. I've gotten as far as creating the gog-manifest.dat file. My next goal is to compare the executable file names to those I already have stored. But there seems to be no obvious way to view the manifest. So here's what I found by opening it in wordpad.

The part that I actually care about is 'downloads': [{'name'}]
Usually just for the first entry, example (Part 1 of 4), but also any with 'desc': 'DLC' or 'desc': 'Patch ...'
There are screens and screens of lengthy changelogs that serve no use to me.

Is there a simple way to filter out the information I don't need?
avatar
SKARDAVNELNATE: Finally giving this a try to see what it does. I've gotten as far as creating the gog-manifest.dat file. My next goal is to compare the executable file names to those I already have stored.
Are you trying to compare the names manually? Why? At least don't try to change the file names manually because then you'd be changing filenames to wrong ones.

If you already have the full manifest file, I suggest you first run e.g. gogrepo download with the -dryrun option, to get an idea how much it expects you to download to get a full and up to date set.

Alternatively you could run gogrepo clean (I think it also has the -dryrun option?) to see how much obsolete files you currently have according to gogrepo. gogrepo would redownload all those, plus any missing files. (It is a good idea to run both clean and download for your set; it shouldn't matter in which order you do it, but I choose to do clean before download, just in case).

gogrepo also has the import command which supposedly tries to import games from your manually downloaded set to the gogrepo set, but I don't know how well it works (I've never used it as I chose to download all my games with gogrepo, instead of trying to import my old set which was for a great part probably already obsolete (old versions of files)).
Post edited March 01, 2017 by timppu
avatar
timppu: gogrepo also has the import command which supposedly tries to import games from your manually downloaded set to the gogrepo set, but I don't know how well it works (I've never used it as I chose to download all my games with gogrepo, instead of trying to import my old set which was for a great part probably already obsolete (old versions of files)).
This works well if you used GOGDownloader before and didn't change the directory names where the installers and bonus contents are stored in ("akalabeth_world_of_doom").