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
Sude: I think there's something wrong with the liboauth package in Ubuntu
This can be fixed by adding lhw's ppa and updating liboauth

sudo add-apt-repository ppa:lhw/packages
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
Thanks, Sude, it helped! :)
avatar
Sude: I think there's something wrong with the liboauth package in Ubuntu
This can be fixed by adding lhw's ppa and updating liboauth

sudo add-apt-repository ppa:lhw/packages
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
You were absolutely right, now it works fine. Many thanks!
Just a weird observation...
To my surprise, I seem to be the proud owner of "pazner_general_3d" and "pazner_general_2". OK, so that might just be a slight case of the fat-finger problem from someone at GOG. But that I also own the not-so-famous game "placement_torment" is just... bizarre.
Either the person who entered the installer path for these games were drunk... or has a weird sence of humor?
LGOGDownloader 1.4
- clear API error before continuing in loop
- installers don't have "name" field so don't use it

http://sites.google.com/site/gogdownloader/lgogdownloader-1.4.tar.gz

avatar
gthornblad: ...
Hopefully these get fixed by GOG
http://www.gog.com/en/forum/general/introducing_the_beta_release_of_the_new_gogcom_downloader/post644

I'll wait a few weeks to see if it gets fixed. It's easy to start using gamename as base directory if it doesn't get fixed.
Post edited August 20, 2012 by Sude
Hey Sude,

the download link on the page https://sites.google.com/site/gogdownloader/ is broken for me.

In the URL there's a numeric part, when I delete it, the download works fine:

https://sites.google.com/site/gogdownloader/lgogdownloader-1.4.tar.gz<span class="bold">.1345519672534</span>?attredirects=0

And of course: Thanks for your hard work!
Post edited August 23, 2012 by johkra
avatar
johkra: ...
Fixed
avatar
TheJoe: Haha, thanks very much for the update. It works fine now it seems.

The PKGBUILD for Arch users can be found here.

Now to download some games! Thanks a bunch, Sude!
Thanks man! had one problem downloading htmlcxx but that is not your fault of course. Thanks for saving me some time there ^^
avatar
TheJoe: Haha, thanks very much for the update. It works fine now it seems.

The PKGBUILD for Arch users can be found here.

Now to download some games! Thanks a bunch, Sude!
avatar
Stockpile: Thanks man! had one problem downloading htmlcxx but that is not your fault of course. Thanks for saving me some time there ^^
If you've just installed it, I'm upgrading it to 1.4 now.

Please, please, please upgrade. I made a stupid mistake with 1.3 where the binary was being installed to /bin and not /usr/bin! You *must* upgrade as soon as I push this.
LGOGDownloader 1.5
- Some minor cosmetic changes to code
- Move HTTP functions to their own class
- Change back to GET mode after POST in HTTP::Login()
- get_file_hash and get_chunk_hash renamed and moved to new Util class
- Avoid code duplication by using function Util::makeFilepath() to create the filepath for downloads

http://sites.google.com/site/gogdownloader/lgogdownloader-1.5.tar.gz

@TheJoe: the new include/http.h also includes jsoncpp so you need to fix that for the PKGBUILD
Post edited August 24, 2012 by Sude
avatar
TheJoe: If you've just installed it, I'm upgrading it to 1.4 now.

Please, please, please upgrade. I made a stupid mistake with 1.3 where the binary was being installed to /bin and not /usr/bin! You *must* upgrade as soon as I push this.
Upgraded now, problem has been fixed. Thanks again!
What does this downloader do when it finds updates to files? Just overwrite them..?
Also, what about orphaned files? Does it just leave them in place, delete them, hide them?
avatar
xyem: What does this downloader do when it finds updates to files? Just overwrite them..?
Also, what about orphaned files? Does it just leave them in place, delete them, hide them?
I was going to rename the old version.

Currently it doesn't do anything to updated files because the API only gives the number of updated files but doesn't actually show which files have been updated.
It is possible to get list of updated files from account page and I have most of the update check implemented in my local copy. However I don't have any games that have been updated (I had one but forgot that clicking it in the account page removes the updated flag) so I haven't been able to test the functionality.

It doesn't check for orphaned files and thus leaves them in place.
Post edited August 25, 2012 by Sude
LGOGDownloader 1.6
- Added update downloading to update check (untested, it will warn the user and ask what to do before continuing)

http://sites.google.com/site/gogdownloader/lgogdownloader-1.6.tar.gz

lgogdownloader --update-check
Same as before. Shows how many games have been updated.

The new functionality is untested

lgogdownloader --update-check --list
Lists updated files.

lgogdownloader --update-check --download
Downloads updated files.

It needs repeating that this functionality is UNTESTED.
It may or may not work. The code uses boost::filesystem::remove() in 2 places so if something goes really really wrong it could DELETE the old version without downloading the new version.

Also running update check with "--list" or "--download" will remove the updated flag from your account page.
This is caused by how GOG handles the update flag in the account page and can't be avoided.

If you test the new functionality report what happened to this thread.
Post edited August 25, 2012 by Sude
hi, first, thankyou for this app, i'm trying it out now :)

second, it seems (please correct me if i'm wrong) that you use a slightly different directory structure to the official gogdownloader, for instance wc_privateer versus wing_commander_privateer, also you have an 'extras' subdirectory under each game whereas when i used the ofiicial downloader all files for a game went in the one directory, since i have already downloaded a lot of files using a virtual win machine it would be cool if there was a way to have the same directory structure in both downloaders

third, for anyone coming to this thread who had the problems i had with compiling, please note, since my distribution - mageia2 - doesn't have libhtmlcxx or libcss-parser i went searching for an .rpm, but only found .debs, this is no problem usually since i can use alien to convert between the two, however i found that the debian/ubuntu debs put the library files in a non standard (for mageia) directory and no amount of fiddling with ldconfig could get rid of an error message about finding 'lhtmlcxx', however i found a distro called 'trisquel' and downloaded libhtmlcxx3, libhtmlcxx-dev, libcss-parser0 and libparser-dev from there. converted to .rpms and installed them, the url for these debs is: http://packages.trisquel.info/dagda/libdevel/ - you have to follow the links for each developmeny package to get the base one,
i also had to edit the /json/jsoncpp/json.h path in some of the src files to read /jsoncpp/json.h since mageia seems to differ here too :)

adding some more info on compiling that i forgot to post first time around:
as well as the above, i had to add
#include <stddef.h>
to the beginning of http.h and to main.cpp in order to avoid the following error:
/usr/include/htmlcxx/html/tree.h:118:21: error: ‘ptrdiff_t’ does not name a type
whether this was necessary in both files i cannot say it worked for me and i don't know enough about coding to fully understand why it worked :).
also i had to do a search and replace on the following string:
getFormattedErrorMessages
replacing it with:
getFormatedErrorMessages
note the single 't', this is because my distro has an older version of json that hasn't had that typo fixed,
it may not be necessary for anyone except mageia2 users to do this but i put it out here anyway :)


thankyou again

diziet
Post edited September 07, 2012 by diziet_sma
LGOGDownloader 1.7
- Remove duplicate check for config->sGameRegex and do the regex aliases at the same place as regex search
- Use gamename as base directory

http://sites.google.com/site/gogdownloader/lgogdownloader-1.7.tar.gz


avatar
diziet_sma: second, it seems (please correct me if i'm wrong) that you use a slightly different directory structure to the official gogdownloader, for instance wc_privateer versus wing_commander_privateer, also you have an 'extras' subdirectory under each game whereas when i used the ofiicial downloader all files for a game went in the one directory, since i have already downloaded a lot of files using a virtual win machine it would be cool if there was a way to have the same directory structure in both downloaders
I was using paths that the API gave for the files
I assumed that the official downloader would use them also but it seems to use gamename as base directory for both installers and extras.

I like having the extras in their own directory so I didn't change it for 1.7
However I made a patch that removes the extras subdirectory from it
wget http://sites.google.com/site/gogdownloader/no_extras_subdirectory.diff
patch -p0 < no_extras_subdirectory.diff
Post edited August 29, 2012 by Sude