POL_GoG_download

Informations

Créateur Messages
Quentin PÂRIS Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 316726
Wine: System

Retours d'expérience

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.

Code source

Contributions

Filters:

Contribuer
Membre Messages
petch Mercredi 17 Février 2016 à 20:20
petch

Information

Cette mise à jour a été acceptée par l'équipe

Messages

bugfixes for login/logout integration

Differences

Nouveau code source

Réponses

Edité par petch

petch Mercredi 17 Février 2016 à 20:03
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Use POL_GoG_login/logout
 

Differences

Nouveau code source

Réponses

Mystic-Mirage Dimanche 29 Novembre 2015 à 1:36
Mystic-Mirage

Messages

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.

Réponses

Dimanche 29 Novembre 2015 à 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 Mardi 5 Aoüt 2014 à 17:25
trevorh Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Passing skip will now skip that place file.

Differences

Nouveau code source

Réponses

trevorh Mardi 5 Aoüt 2014 à 8:14
trevorh Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

Réponses

Mardi 5 Aoüt 2014 à 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