The forum

POL_GoG_setup documentation

Author Replies
mastershotgun Wednesday 22 March 2017 at 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 Friday 24 March 2017 at 18:58
mastershotgunAnonymous

anybody?

Okto Tuesday 4 April 2017 at 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 Tuesday 16 May 2017 at 0:12
mastershotgunAnonymous

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

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 dmcayonlinux.com