Posted January 16, 2011
high rated
Hello :)
I realized a script (for linux) for downloading and for resuming the download of GoG games and their additional contents.
I created it, because I have a very very slow connection, that goes up and down. That was a big problem for me, so I realized this script, that tries and tries again, untill the download of one file is complete.
I don't know if someone of you will think that this script is useful, because GoGDownloader works on linux too, but I think that GoGDownloader is not enogh autonomous as my script is.
This is a mini guide for using it:
1) Download it here and unzip it.
2) Open terminal, navigate to the directory where you unzipped it, and type this command:
chmod u+x ./GoGDownloader.sh
Now you can use the script for downloading your games :)
3) Type:
./GoGDownloader.sh <directoryWhereSaveFiles>
The first time you run this script, you will need to login. After that, in your home directory will created an hidden directory, named .GoGDownloader. In that directory will be created a file named "cookies.txt". WARNING: DON'T, and I underline, DON'T give anyone this file! It contains personal information and could make anyone get YOUR GoG games. So be careful with it!
The next time you will run the script, you will not need to login again, if you don't remove "cookies.txt" file.
4) Script will start and will show you the list of your games. If you choose to download one of it, type the corrisponding number, for example 3.
The script will download first the setup files, then the additional contents and finally DVD cover of the choosen game. This last function doesn't work very well, because of the differences between name of games and names written in the post. For example, in the forum same "2" are written as "II", etc...
That's all folks :)
PS I really appreciate comments, expecially propositive ones. If you notice some bug, if you need help, if you have some suggestion, if you want more functionalities, if you think this script is useless, post here :)
NEWS: Sude modified the script for making it working also on windows. Read here
Edit: if after the download you have problems with corrupted files, read here
I realized a script (for linux) for downloading and for resuming the download of GoG games and their additional contents.
I created it, because I have a very very slow connection, that goes up and down. That was a big problem for me, so I realized this script, that tries and tries again, untill the download of one file is complete.
I don't know if someone of you will think that this script is useful, because GoGDownloader works on linux too, but I think that GoGDownloader is not enogh autonomous as my script is.
This is a mini guide for using it:
1) Download it here and unzip it.
2) Open terminal, navigate to the directory where you unzipped it, and type this command:
chmod u+x ./GoGDownloader.sh
Now you can use the script for downloading your games :)
3) Type:
./GoGDownloader.sh <directoryWhereSaveFiles>
The first time you run this script, you will need to login. After that, in your home directory will created an hidden directory, named .GoGDownloader. In that directory will be created a file named "cookies.txt". WARNING: DON'T, and I underline, DON'T give anyone this file! It contains personal information and could make anyone get YOUR GoG games. So be careful with it!
The next time you will run the script, you will not need to login again, if you don't remove "cookies.txt" file.
4) Script will start and will show you the list of your games. If you choose to download one of it, type the corrisponding number, for example 3.
The script will download first the setup files, then the additional contents and finally DVD cover of the choosen game. This last function doesn't work very well, because of the differences between name of games and names written in the post. For example, in the forum same "2" are written as "II", etc...
That's all folks :)
PS I really appreciate comments, expecially propositive ones. If you notice some bug, if you need help, if you have some suggestion, if you want more functionalities, if you think this script is useless, post here :)
NEWS: Sude modified the script for making it working also on windows. Read here
Edit: if after the download you have problems with corrupted files, read here
Post edited April 27, 2011 by WrathOfTheAngels