So I cleaned up large part the code and pushed the current code to git.
It has lots of changes
$ git diff --cached --shortstat
18 files changed, 1491 insertions(+), 702 deletions(-) https://github.com/Sude-/lgogdownloader/commit/f2e8dde
Website login code was changed to Galaxy login.
You probably want to --login to generate Galaxy login tokens.
Galaxy login tokens are saved to $XDG_CONFIG_HOME/lgogdownloader/galaxy_tokens.json
Config is now global in "Globals" namespace. I'm planning on splitting the config to smaller individual parts so this is probably going to change in the future.
I added 2 options to test some galaxy features. They are hidden from --help text so users don't think these are final or even working properly. --galaxy-show-builds "product_id"
- shows game builds for product id --galaxy-show-builds "product_id/build_index"
- shows some more info about specified game build --galaxy-install "product_id"
- installs the first build for product id (same as "product_id/0") --galaxy-install "product_id/build_index"
- installs a specified build, you can get the build index with --galaxy-show-builds --list-details
shows the numerical product id that you can use with --galaxy-show-builds and --galaxy-install
Galaxy support is limited to only English language Windows builds.
Only generation 2 builds are supported. GOG hasn't updated many older games to generation 2 builds yet. So expect to see "Only generation 2 builds are supported currently" error message a lot when testing this.
I haven't tested if this works with DLCs. Most likely it fails to install DLCs or just crashes when it encounters one.
It can't resume partial file downloads at this moment. New dependencies:
Hi there, thanks for doing all this, it looks like a lot of time. I have a problem, I was able to use lgogdownloader for a while and now it just seems impossible for different reasons. I've taken some lessons but to be honest I'm baffled by most of the coding and don't even know how to apply it. When I switched from 14.04 to 16.04 it all went to Heilheim and installing back 14.04 doesn't allow me to install a lot of i386 libraries nor it allows me to use lgogdownloader.
*** Error in `lgogdownloader': double free or corruption (fasttop): 0x0000000001f99fc0 ***
I've read what you've posted on this thread, should I try to copy that code into gedit or iv? I'm lost, please help me.