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
mrkgnao: Can't you simply take all the links:
<a href="gogdownloader://SOMETHING">SOMETHING ELSE</a>
And discard everything else?

I don't think the headers are really that useful.
Maybe, as a guess... But the header and data also includes formatting (as unlinked lists) so if those are dropped, you need to add them back in, which adds a lot more complexity than simply leaving the overhead in...
avatar
adaliabooks: Yeah, that's certainly the first step, I'll just need to figure ou how best to do it as there's no real link between the headers and their links... but I presume it should be possible to remove them somehow.
avatar
mrkgnao: Can't you simply take all the links:
<a href="gogdownloader://SOMETHING">SOMETHING ELSE</a>
And discard everything else?

I don't think the headers are really that useful.
Without the headers I don't think there's anything to identify the downloads, for example I think they just say "English Downloader" whether they are Windows, Linux or Mac installers...
avatar
mrkgnao: Can't you simply take all the links:
<a href="gogdownloader://SOMETHING">SOMETHING ELSE</a>
And discard everything else?

I don't think the headers are really that useful.
avatar
adaliabooks: Without the headers I don't think there's anything to identify the downloads, for example I think they just say "English Downloader" whether they are Windows, Linux or Mac installers...
See attached example from BG2. I don't see any useful information in the headers.
Attachments:
bg2.jpg (56 Kb)
avatar
adaliabooks: Without the headers I don't think there's anything to identify the downloads, for example I think they just say "English Downloader" whether they are Windows, Linux or Mac installers...
avatar
mrkgnao: See attached example from BG2. I don't see any useful information in the headers.
Lol. Shows how much attention I was paying then, I didn't realise it said what OS before the language...
Yeah, probably just dump them entirely then.
Bump and update.

I've dumped the headers entirely as they serve no purpose, and increased the font size a little to aid readability.

I think there will still be issues with overrunning the box on games with a lot of language and OS options (and large installers) but I'm not sure what else to do. I don't think hiding the links based on the selected OS and Language will be easy (for a number of reasons to do with some odd programming choices on GoG's part and the fact the languages in the menu appear in their own language while those on the list appear in English, making matching them more difficult)

There is the possibility of changing the links GoG already displays to their downloader counter parts, as the info is actually there (thanks lazy GoG! you could have left the switch and functionality as it was with ease, but no...), but due to the aforementioned odd programming choices getting to the the required info and swapping out the links may be more that I'm capable of...


Also, as I forgot to put the update URLs in the first script you'll need to manually update for the new one.
Cheers for the update.

Not sure if it's due to the update (didn't pay attention before updating it), but it doesn't seem to work in a consistent manner for me for games with a lot of download links. For instance, if I go to my game collection page and open TW3, a good chunk of links gets cut off. If I open another game with fewer links, and then reopen TW3, I either get the same result, or a different (smaller) number of links gets cut off, or they all display just fine.
Also, sometimes games with few links display a huge grey space at the end and before the footer (this is also not consistent).

I've done this for a few games, and the result seems to be random, so not sure what exactly is going on, and perhaps it's something on my end. I'm on the latest stable Firefox.


I'd prefer the font of the "GoG Downloader Links' header to be smaller, as it looks disproportional big compared to that of the actual links, and seems like a waste of space.

I've also noticed that each direct download link takes up a fixed amount of vertical space which seems to be quite big for no good reason. No idea if this is possible, but perhaps you could force this to be smaller? Perhaps reducing the space that the direct download links take up will improve things for the GOG Downloader links.
avatar
HypersomniacLive: Cheers for the update.

Not sure if it's due to the update (didn't pay attention before updating it), but it doesn't seem to work in a consistent manner for me for games with a lot of download links. For instance, if I go to my game collection page and open TW3, a good chunk of links gets cut off. If I open another game with fewer links, and then reopen TW3, I either get the same result, or a different (smaller) number of links gets cut off, or they all display just fine.
Also, sometimes games with few links display a huge grey space at the end and before the footer (this is also not consistent).

I've done this for a few games, and the result seems to be random, so not sure what exactly is going on, and perhaps it's something on my end. I'm on the latest stable Firefox.

I'd prefer the font of the "GoG Downloader Links' header to be smaller, as it looks disproportional big compared to that of the actual links, and seems like a waste of space.

I've also noticed that each direct download link takes up a fixed amount of vertical space which seems to be quite big for no good reason. No idea if this is possible, but perhaps you could force this to be smaller? Perhaps reducing the space that the direct download links take up will improve things for the GOG Downloader links.
I haven't particularly noticed it myself as none of my games seem to have enough versions to cause an issue, but I believe that is the main problem, although it's interesting to note that it isn't consistent as I just assumed there would be a set size which would be the cut off point where the links would be hidden...

I can certainly make the Header smaller and can probably make the direct download links (or the space around them) smaller too.

Does the large grey space tend to occur after you have went from a game with lots of links to one with not many? I imagine that would be some sort of sizing issue with thinking there is much more there than there is and reserving too much space.

I'll keep looking into it, thanks for the feedback.
avatar
adaliabooks: [...]

Does the large grey space tend to occur after you have went from a game with lots of links to one with not many? I imagine that would be some sort of sizing issue with thinking there is much more there than there is and reserving too much space.

[...]
I hadn't made the connection, so have to check it, but unfortunately my game collection just gives me that swirling icon right now.
And the combined suite of scripts is now here!

You can find the full details and download link here.

And a big improvement to the downloader links, now it actually changes the normal manual links into downloader links (if you have the option set in the new menu, I will add a button on the gamecard like there used to be eventually) rather than adding new ones.