POL_GoG_download

Informations

Creator Message
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 316631
Wine: System

Feedbacks

Description

Ask the user about its credentials, then download all the pieces of a GOG.com game, checking their integrity using the provided MD5 hashes.

Parameters:
- 1: GOG ID of game (like the last component of its gamecard URL)
- (optional: --alternate BASENAME BASEINDEX)
- (optional: --patch)
- (optional: --bonus)
- 2..: lowercase MD5 hash of each piece

Specifying --alternate allows to download a secondary installer for the same game (example: Alone in the Dark 2 and 3 are secondary installers for Alone in the Dark)
Default BASENAME: setup_<GOG ID>
Default BASEINDEX: 0

Specify --patch for game updates URLs
Specify --bonus for bonus contents URLs

Some hashes can be an empty string ("") to disable hash checking (not recommended).

Pieces will be named BASENAME.exe, BASENAME-1.bin, BASENAME-2.bin, etc. and the function assigns $POL_GoG_location with the full path of the first piece.

Source code

Contributions

Filters:

Contribute
Member Message
petch Wednesday 17 February 2016 at 20:20
petch

Information

This update has been approved by the team.

Message

bugfixes for login/logout integration

Differences

New source code

Replies

Edited by petch

petch Wednesday 17 February 2016 at 20:03
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Use POL_GoG_login/logout
 

Differences

New source code

Replies

Mystic-Mirage Sunday 29 November 2015 at 1:36
Mystic-Mirage

Message

As I can see -- English language is only supported (hardcoded) for now? Any chance to support other languages? For example, GOG's Pathologic Classic HD game has three installers -- en1installer* for English, pl1installer* for Polish and ru1installer for Russian.

Replies

Sunday 29 November 2015 at 10:35
Until this script is fixed to work at all, no need to add languages support (that didn't exist when it was written)
trevorh Tuesday 5 August 2014 at 17:25
trevorh Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Passing skip will now skip that place file.

Differences

New source code

Replies

trevorh Tuesday 5 August 2014 at 8:14
trevorh Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Allow scripts to skip missing indices by passing an empty parameter.

For use where GOG does not use consecutive indices such as with Heroes of Might and Magic 5.

Differences

New source code

Replies

Tuesday 5 August 2014 at 12:31
Empty md5s already had a semantic: download but do not check the part hash (as documented). Maybe some other value should be used ("skip"?)
Also my feeling is that while this change provides a solution for the problem at hand, it does not provide a solution for other known deficiencies of those gog support scripts: ability to download a game, maybe for a specific language, maybe also download a patch, or extras (say the manual, if they didn't include it in the main installer),...
That would require a much more expressive interface, or be able to fetch meta-informations about downloadables, like lgogdownloader does...

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com