Posted August 18, 2012
mgol
New User
mgol Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Apr 2009
From Poland
gthornblad
Grumpy old man
gthornblad Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Feb 2009
From Sweden
Posted August 19, 2012
You were absolutely right, now it works fine. Many thanks!
gthornblad
Grumpy old man
gthornblad Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Feb 2009
From Sweden
Posted August 20, 2012
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?
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?
Sude
🜂🜁🜄🜃𝓠
Sude Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2009
From Finland
Posted August 20, 2012
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
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.
- 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
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
johkra
New User
johkra Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Apr 2009
From Switzerland
Posted August 23, 2012
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!
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
Sude
🜂🜁🜄🜃𝓠
Sude Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2009
From Finland
Stockpile
I better not.
Stockpile Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jun 2010
From Denmark
Posted August 23, 2012
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 ^^The PKGBUILD for Arch users can be found here.
Now to download some games! Thanks a bunch, Sude!
Warmdrink
PGP 30E698EA
Warmdrink Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2008
From Canada
Posted August 23, 2012
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!
Stockpile: Thanks man! had one problem downloading htmlcxx but that is not your fault of course. Thanks for saving me some time there ^^ The PKGBUILD for Arch users can be found here.
Now to download some games! Thanks a bunch, Sude!
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.
Sude
🜂🜁🜄🜃𝓠
Sude Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2009
From Finland
Posted August 24, 2012
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
- 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
Stockpile
I better not.
Stockpile Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jun 2010
From Denmark
Posted August 24, 2012
xyem
Old-ish User
xyem Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2010
From United Kingdom
Posted August 24, 2012
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?
Also, what about orphaned files? Does it just leave them in place, delete them, hide them?
Sude
🜂🜁🜄🜃𝓠
Sude Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2009
From Finland
Posted August 25, 2012
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. Also, what about orphaned files? Does it just leave them in place, delete them, hide them?
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
Sude
🜂🜁🜄🜃𝓠
Sude Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2009
From Finland
Posted August 25, 2012
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.
- 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
diziet_sma
Not a new user
diziet_sma Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Aug 2009
From United Kingdom
Sude
🜂🜁🜄🜃𝓠
Sude Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2009
From Finland
Posted August 29, 2012
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
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
- 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
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