131 Commits

Author SHA1 Message Date
Sude
8e29866870 Append date to renamed files 2014-09-20 15:35:56 +03:00
Sude
5635909e20 Add support for setting subdirectories
Allows user to specify subdirectories for games, installers, extras, patches, language packs and dlc
2014-09-19 22:46:03 +03:00
Sude
810506b74b Create filepaths in gameDetails class
Add makeFilepaths method to gameDetails class
Add setFilepath and getFilepath methods to gameFile class
2014-09-19 21:08:46 +03:00
Sude
7a00b59345 Move gameFile and gameDetails classes to their own files 2014-09-19 20:23:21 +03:00
Sude
4d404fc7df Rename old file instead of deleting it during --repair --download 2014-09-17 13:05:04 +03:00
Sude
7a15a93676 Change --report option to allow setting the filename of report 2014-09-17 12:41:01 +03:00
Neil Ramsbottom
1097e0758d Fixed spelling mistake in message displayed when downloading files. 2014-09-17 01:53:44 +02:00
Sude
55bc881d11 File hashing changes to Util::createXML
Update file hash in the same loop that chunk hashes are calculated
This gives the user better indication of the hashing progress
2014-09-10 16:16:04 +03:00
Sude
cba5fb928a Make Downloader::HTTP_Login print some more info 2014-09-10 13:46:24 +03:00
Sude
b23c9ed27d Only list games that support the platforms specified with --platform 2014-09-07 23:53:26 +03:00
Sude
0d39bcb460 Add platform info to gameFile class 2014-09-07 23:09:08 +03:00
Sude
6ebd897866 Fix login issues caused by case sensitivity 2014-09-04 20:00:53 +03:00
Sude
a5b1840e4d Better login check
Allows user to login with username instead of email
Print some info on failed login with debug build
2014-09-04 18:11:14 +03:00
Sude
cd2d1f22f8 Added --cover-list option to set url for cover list 2014-08-28 16:00:24 +03:00
Sude
0a20ef9ee7 Use remote xml data for patches 2014-08-28 12:51:02 +03:00
Sude
17dffe10f3 Fix language check for patches in Downloader::listGames 2014-08-27 20:22:05 +03:00
Sude
d63598a142 Make downloader work with the new layout 2014-08-27 19:57:20 +03:00
Sude
a51fb3ea26 Use boost regex in api if gcc/g++ < 4.9.0 2014-08-21 17:17:34 +03:00
Sude
6eba3c76cc Use update/notification flags for patches 2014-08-18 07:47:52 +03:00
Sude
1d221fee9f Add blacklist support for --list-details 2014-08-13 02:41:15 +03:00
Sude
a3673a58a4 Use regex to find patch and language pack nodes in API response 2014-08-09 19:15:51 +03:00
Sude
ffab972430 Increased the maximum patch id number
Some games had patch id numbers that were higher than the current maximum
2014-08-09 04:32:46 +03:00
Sude
705bde3f6f Add support for some game specific settings 2014-08-01 20:34:44 +03:00
Sude
4582884a0d Fix blacklisted file causing downloader to skip a game
Incorrect check for blacklisted file caused the downloader to skip a game instead of skipping just one file
2014-07-24 18:07:14 +03:00
Sude
6ed5da2fb3 Treat tarball archives in patch nodes as installers 2014-07-24 16:49:02 +03:00
Sude
01d8479d18 Remove the ugly hack to get details for Linux installers
GOG fixed API response for Linux installers
2014-07-24 16:00:50 +03:00
Sude
630d8a31c3 Add support for Linux installers 2014-07-24 15:36:50 +03:00
Sude
42a461ed55 Get patch details only for specified platforms 2014-07-12 00:36:04 +03:00
Sude
31c547be8a Fix saving config when init fails but --login was not used 2014-07-07 15:57:07 +03:00
Sude
ce26a4b020 Don't reset options set in config file on --login 2014-07-06 17:20:06 +03:00
Sude
2aeca35097 Tell the user to try --login if no games are found on the account. 2014-07-04 16:31:30 +03:00
Sude
c1e7adeb0b Display filepath for patches when downloading
Makes the behavior consistent with installers and extras
2014-07-03 21:38:53 +03:00
Petr Běhan
95fd2bbff1 implemented blacklist for --download, --repair and --check-orphans 2014-07-02 19:56:18 +03:00
Sude
3dd4a95896 Make login work with the new login form 2014-07-02 19:52:43 +03:00
Ismo Toijala
526aab5c05 Don't hash files after downloading for which remote XML is available 2014-06-21 16:00:36 +02:00
Sude
ebb9aa61d4 Remove language id/code from urls as GOG no longer requires it. 2014-06-19 00:31:09 +03:00
Sude
23ded13050 Don't call usleep if it's not necessary 2014-06-10 12:55:38 +03:00
Sude
f25c37074a Added --wait option to set delay for http requests
May help with some errors that could be caused by too many requests in short time
2014-06-10 12:16:49 +03:00
Sude
dee83494c0 Make subdirectory for dlc based on the dlc gamename
gamename/dlc/dlc_gamename
2014-06-10 12:05:13 +03:00
Sude
5829f98a3b Added retry support to Downloader::getResponse 2014-06-10 12:01:28 +03:00
Ismo Toijala
6a5fe0b78e Only hash file if remote XML is available 2014-05-08 19:29:16 +03:00
Ismo Toijala
caacff9f22 Use remote XML for languagepacks 2014-05-08 18:07:33 +02:00
Sude
d591f08acd Fix using local xml for hashes in Downloader::downloadFile 2014-04-20 21:35:05 +03:00
Sude
c140156216 Check orphans regex matches the file path instead of filename 2014-04-18 20:09:22 +03:00
Sude
78fe112e5e Use secure.gog.com to get "buk" value for login form 2014-04-14 15:27:23 +03:00
Sude
e491c06780 Print more verbose error message in Downloader::getResponse 2014-04-14 00:37:57 +03:00
Sude
018a056e73 Possible fix for login issues 2014-04-13 23:07:22 +03:00
Geoffrey Biggs
da80d9c4c9 Fixed segfault when downloading non-dlc patches 2014-04-08 06:40:05 +09:00
Sude
50cc5a2565 Added DLC support 2014-03-29 01:51:39 +02:00
Sude
8435fb2566 Use duplicate handler for patches 2014-03-18 18:43:53 +02:00