Forums

POL_GoG_setup documentation

Auteur Réponses
mastershotgun Mercredi 22 Mars 2017 à 22:24
mastershotgunAnonymous

Hi Guys,

I was looking into install scripts and I can figure out pretty much everything except from where you get the numbers for files in gog? the following line

[code language=playonlinux]
POL_Call POL_GoG_setup "$GOGID" --alternate "setup_$GOGID" 4 "984e8f16cc04a2a27aea8b0d7ada1c1e" "4ea0eccb7ca2f77c301e79412ff1e214" "95e52d38b6c1548ac311284c539a4c52" "7290d78ecbec866e46401e4c9d3549cf"
[/code]
 

thanks!

mastershotgun Vendredi 24 Mars 2017 à 18:58
mastershotgunAnonymous

anybody?

Okto Mardi 4 Avril 2017 à 22:07
OktoAnonymous

Those are md5sum - a unique sequence of numbers and letters based on the data in a file. They're commonly used to check that copies of files are the same, because the algorithm that generates them will create the same md5sum every time it's used on the exact same file. Playonlinux uses them during the download from GOG install option to check that the file downloaded is correct and uncorrupted. The md5sum is not used when users select a local copy of the GOG installer.

So, you need the md5sum for the GOG installer file your script is written for. Any md5sum software should be able to create it, they use the same algorithm. However, in many (possibly all?) linux distros you can enter the following in terminal:

md5sum filename

mastershotgun Mardi 16 Mai 2017 à 0:12
mastershotgunAnonymous

oh md5 sums... I see... I was thinking md5 hashs, but that one have only 32 hex... thx!