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
Geralt_of_Rivia: GOG has changed a lot of installers in the last week. Many installers were updated to support Chinese as installing language and many installers got Galaxy added.

Since gogrepo is an automated tool that downloads everything that has changed what you are seeing is intended and correct behaviour.
avatar
paladin181: I thought they weren't going to add Galaxy to the installers? They said that they were going to go a different route. I'm out of storage now...

EDIT: No changelogs represent Galaxy being added.. Where did this information come from? And why isn't there a list published by GOG with the games that are affected?! Jesus this is getting worse and worse.
You must have misunderstood something. They said they are going to add Galaxy to the installers but that they will also provide Galaxy free installers. And they have started to do so 2 days ago.

It was announced and a list of affected games was posted as well.
avatar
kbnrylaec: GOG make A LOT OF same-name new installers recently.
They have the same filename but with different filesize and checksum.
That is why gogrepo re-download everything.

I have reported those bugs serveral times (in forum thread only), but GOG just ignore me.
I just do not trust GOG anymore.
It doesn't have anything to do whether the filenames are the same or not. It simply means the files have changed, ie. their size is different than before, that is why gogrepo is redownloading them.

Whether those changes are meaningful (to redownload them all), that's a whole another thing. gogrepo doesn't care what has changed, it simply downloads any new files (a new filename), or if the size of some file has changed at all.

If the file checksum has changed without the filename and size not changing at all, then by default gogrepo wouldn't redownload it (even though obviously the file is different, with a different checksum). However, "gogrepo verify" would catch it because it checks the checksums for those files that have one.

That is also why I am against GOG embedding the Galaxy installer into the game installers: gogrepo users would end up redownloading all games, whenever GOG decides to update the embedded Galaxy installer, even though the game itself has remained exactly the same. Luckily GOG offers also the non-Galaxy installers (classic), hopefully they don't change as often, but they seem to receive some Galaxy DLL changes too, to make them Galaxy-compatible..

avatar
paladin181: EDIT: No changelogs represent Galaxy being added.. Where did this information come from? And why isn't there a list published by GOG with the games that are affected?! Jesus this is getting worse and worse.
The installers with Galaxy embedded should have a "(g)" string in the filename. Do your new installers have that?

It is unclear to me which gogrepo would download by default, the Galaxy or non-Galaxy (classic) installer versions. Someone said it seems gogrepo downloads the non-Galaxy versions, which is good. But I am sure they also get some Galaxy DLL changes here and there, even though they don't contain the actual Galaxy client installer. Sometimes the changelogs say something about adding Galaxy cloud save capability to the game (which won't matter to people who don't use Galaxy to run the game...).

Oh well, fortunately I downloaded/updated my GOG game collection recently. I'm probably going to wait some months before checking them again, so that I hopefully skip many Galaxy-related updates to installers.

In a way this was a similar thing as years ago when GOG started updating their GOG game installers from the 1.x.x versions to 2.x.x. If we had used gogrepo back then, I guess we would have ended up redownloading all our games, just because the installer version had changed.
Post edited July 08, 2017 by timppu
I do not currently have any games that will have Galaxy embedded installers.
If the default behavior of gogrepo is to download the classic installers, then I approve.
avatar
solar_dome: I do not currently have any games that will have Galaxy embedded installers.
If the default behavior of gogrepo is to download the classic installers, then I approve.
I'm unsure it that is fully confirmed yet, though. Someone in the other thread just said it seems to be that way, similarly like the old GOG Downloader users seem to get the classic installers.

If so, I guess we are lucky then as gogrepo doesn't do it intentionally I guess, it hasn't received an update after this GOG installer change. Hopefully things also stay this way, but then i don't know if there really were some (gogrepo) users who'd like to have the option to download the Galaxy-embedded versions instead. Not sure why though, to me the idea of having an extra 120MB on each and every game installer sounds bad.

The fact that with the Galaxy client you apparently can download only the classic installers eases my mind a bit that GOG wouldn't keep the classic installers up to date, or they'd be missing for some games (because then Galaxy users would be affected, in case they want to download installers with the client).

I think it is a very dumb idea from GOG to include an extra 120MB installer to each and every GOG game installer, but as long as I am not affected (thanks to the classic installers), I guess I am fine. I can't really figure out how GOG is going to keep the Galaxy installers in those game installers up to date, or will they just keep an old installer in them for years to come, hoping that it will always successfully auto-update to the latest version instantly, and won't cause security problems (e.g. some malware targetting old Galaxy installations which haven't been updated yet)?
avatar
timppu: I'm unsure it that is fully confirmed yet, though. Someone in the other thread just said it seems to be that way, similarly like the old GOG Downloader users seem to get the classic installers.

If so, I guess we are lucky then as gogrepo doesn't do it intentionally I guess, it hasn't received an update after this GOG installer change. Hopefully things also stay this way, but then i don't know if there really were some (gogrepo) users who'd like to have the option to download the Galaxy-embedded versions instead. Not sure why though, to me the idea of having an extra 120MB on each and every game installer sounds bad.

The fact that with the Galaxy client you apparently can download only the classic installers eases my mind a bit that GOG wouldn't keep the classic installers up to date, or they'd be missing for some games (because then Galaxy users would be affected, in case they want to download installers with the client).

I think it is a very dumb idea from GOG to include an extra 120MB installer to each and every GOG game installer, but as long as I am not affected (thanks to the classic installers), I guess I am fine. I can't really figure out how GOG is going to keep the Galaxy installers in those game installers up to date, or will they just keep an old installer in them for years to come, hoping that it will always successfully auto-update to the latest version instantly, and won't cause security problems (e.g. some malware targetting old Galaxy installations which haven't been updated yet)?
It should be a stub installation. Meaning they've hit a production milestone that they won't change the base program any more. The installer is just a functioning stub that will have to patch to the latest version to be fully functional. At least, if I was doing it, that's how I would.
Post edited July 09, 2017 by paladin181
avatar
paladin181: It should be a stub installation. Meaning they've hit a production milestone that they won't change the base program any more. The installer is just a functioning stub that will have to patch to the latest version to be fully functional. At least, if I was doing it, that's how I would.
Yes they suggested already they'd reduce the size of the Galaxy installer by making it a stub... which makes me surprised they still went on with these full embedded Galaxy installers for now, instead of waiting until they have the stub installer ready. Why the rush? Are they really going to update all those Galaxy-embedded installers yet again, just to replace the full Galaxy installer with the stub?

The stub approach is widely used, even Valve uses it. When you download SteamInstaller.exe from Valve's homepages, the size is mere 1.4MB. When you run it, it downloads the latest Steam client version, and installs it. I am unsure how often, if ever, they need to update that 1.4MB stub, but at least I am expecting it gets updated far less often than the full Steam client.
I just did some poking and the files downloaded by gogrepo are the one's without galaxy. The galaxy files have a (g) at the end of their file names. So these updates aren't because of that for us. Thankfully (not much point for having galaxy included in an offline backup installer). There doesn't actually seem to be a way to access the galaxy included installers from the API that gogrepo uses at the moment.

There's been major (200+ GB) updates for me last week and this week when doing a full update scan. They seem to be adjustments to the installer itself rather than the game (which is why they don't show as Updated) things like improving compatibility for the linux installer and such. Few of them have any changelog at all.
You should add a:
path = urllib2.unquote(path)
inside gogrepo. Sometimes the spaces and "(" or ")" in stored filenames in manifest.dat are coded with %

urllib.unquote('hello%20world') ---> 'hello world'
Post edited July 11, 2017 by Lebostein
So, I'm finally trying to use gogrepo on Windows 8.1, but having trouble. I know pretty much nothing from python, but have read some of this thread that helped. I seemingly have successfully installed html2text and html5lib, but when attempting to start gogrepo I get this error:

B:\bebop\gog>python gogrepo.py login
File "gogrepo.py", line 7
<!DOCTYPE html>
^
SyntaxError: invalid syntax

I feel like I'm missing something obvious here, any tips?
avatar
Nix31: I feel like I'm missing something obvious here, any tips?
It looks like you saved the whole website instead of only the python code. Try clicking the "Raw" button on Github to open the script in text format before saving it. The button is located above the script's preview, but here is a direct link:

https://raw.githubusercontent.com/eddie3/gogrepo/master/gogrepo.py
Hey guys, I got a little tired of typing all the commands so I made a batch file to run some of the common commands for me. Figured I would share for those interested just copy this code into a text editor and save as a .bat file, the batch file needs to be placed in the same directory as gogrepo.py

I plan to write a more in depth one that will let you specify variables (what operating system, language etc) but that will be later

@ECHO OFF
CLS
Title GOG Repo
Color 2
:MENU
ECHO.
ECHO =GOG Repo================================
ECHO.
ECHO By default the batch file will pull windows and linux installs
ECHO in the english language only and download to D:\gogrepo\repo
ECHO.
ECHO 0 - Check For New
ECHO 1 - Check for New (Skip Extras)
ECHO 2 - Check for New (Skip Known)
ECHO 3 - Check for Updates
ECHO 4 - Download Manifest
ECHO 5 - Exit
ECHO.

SET /P M=Enter the desired number and hit enter:
IF %M%==0 gogrepo.py update -os linux windows -lang en
IF %M%==1 gogrepo.py update -os linux windows -lang en -skipextras
IF %M%==2 gogrepo.py update -os linux windows -lang en -skipknown
IF %M%==3 gogrepo.py update -os linux windows -lang en -update
IF %M%==4 gogrepo.py download D:/gogrepo/repo
IF %M%==5 call exit
goto MENU
Post edited July 12, 2017 by Revan67
avatar
bratmaxe: It looks like you saved the whole website instead of only the python code. Try clicking the "Raw" button on Github to open the script in text format before saving it. The button is located above the script's preview, but here is a direct link:

https://raw.githubusercontent.com/eddie3/gogrepo/master/gogrepo.py
Oh snap, that did it. I knew it was something dumb, thank you for your help.
I have to give a heartfelt "thank you" to woolymethodman for creating this script and making it freely available. It would have saved me countless hours of manually keeping my GOG archive up-to-date had I discovered this earlier.

The way the script is written also makes it easy to learn the basics of Python, and make own modifications for example to include support for the new Galaxy installers.

So again: Thank you very much!
Hey, where is the best place to nag GOG about bad folder names for the downloads? Do we have a thread somewhere for that? Couldn't find it.

EDIT: I went ahead and created a topic to list those, please contribute (or point me where people are already discussing this).
Post edited July 14, 2017 by Nix31
avatar
Lars2500: I have to give a heartfelt "thank you" to woolymethodman for creating this script and making it freely available. It would have saved me countless hours of manually keeping my GOG archive up-to-date had I discovered this earlier.

The way the script is written also makes it easy to learn the basics of Python, and make own modifications for example to include support for the new Galaxy installers.

So again: Thank you very much!
How did you get the new galaxy installers ? I did some brief poking and the galaxy installers aren't available via the API used by gogrepo. At least they weren't last week. I'd happily add support do download either or both to my fork in the meantime.