Posted March 29, 2021
GOGcli GUI v1.7 has been released.
Download - https://github.com/Twombs/GOGcli-GUI/releases/tag/v1.7
Further Information - https://github.com/Twombs/GOGcli-GUI
Overlooked Feature Update.
From v1.7 onward, CDKeys are detected during the adding or replacement of manifest entries, and stored in a 'CDkeys.ini' file.
A CDKey entry is a serial code or redeem link etc.
The main GUI has had the 'GAME DETAILS' button shrunk to just 'DETAILS', and to its left is a new 'KEY' label and field.
If a game is noted as having a CDKey entry, the 'KEY' input field will show '1'.
Screenshot - gogcli_main_11.png
To see the CDKey value, click the 'DETAILS' button. This shows you the key and allows copying it to the clipboard, or just continuing on with the usual (previous default) 'Get Game Details from GOG' process.
Screenshot - Tutor_45.png
I've added a once off CDKey check to the 'Check & Fix The Manifest' right-click 'Games' list menu option process. This checks for CDKeys in your manifest, for entries you have added, prior to using this version (v1.7) of GOGcli GUI. You can only use the CDKey check once, without then needing to modify a value in the 'Settings.ini' file. You should only need to use it the once.
Screenshot - Tutor_44.png
NOTES
I noticed that some CDKey values have special character codes in them. i.e. \u003cspan\u003e
I have dealt with them, either stripping them or replacing with a space or a carriage return.
They are not straight forward, and you can have even crazier ones like so - \u003c/span\u003e\u003cspan\u003e
It is likely I haven't catered for all possibilities, so if you come across any that haven't been converted by my code, please let me know.
The game Prison Architect had every character in its serial code separated by '\u0000'.
No doubt the result of GOG employees using a WYSIWYG editor, which adds unnecessary crap.
P.S. By the way, the DETAILS button can retrieve some game detail from GOG, and for a game that has a CDKey, you will see that listed in the result, so you could manually copy from that text file as well.
Download - https://github.com/Twombs/GOGcli-GUI/releases/tag/v1.7
Further Information - https://github.com/Twombs/GOGcli-GUI
Overlooked Feature Update.
From v1.7 onward, CDKeys are detected during the adding or replacement of manifest entries, and stored in a 'CDkeys.ini' file.
A CDKey entry is a serial code or redeem link etc.
The main GUI has had the 'GAME DETAILS' button shrunk to just 'DETAILS', and to its left is a new 'KEY' label and field.
If a game is noted as having a CDKey entry, the 'KEY' input field will show '1'.
Screenshot - gogcli_main_11.png
To see the CDKey value, click the 'DETAILS' button. This shows you the key and allows copying it to the clipboard, or just continuing on with the usual (previous default) 'Get Game Details from GOG' process.
Screenshot - Tutor_45.png
I've added a once off CDKey check to the 'Check & Fix The Manifest' right-click 'Games' list menu option process. This checks for CDKeys in your manifest, for entries you have added, prior to using this version (v1.7) of GOGcli GUI. You can only use the CDKey check once, without then needing to modify a value in the 'Settings.ini' file. You should only need to use it the once.
Screenshot - Tutor_44.png
NOTES
I noticed that some CDKey values have special character codes in them. i.e. \u003cspan\u003e
I have dealt with them, either stripping them or replacing with a space or a carriage return.
They are not straight forward, and you can have even crazier ones like so - \u003c/span\u003e\u003cspan\u003e
It is likely I haven't catered for all possibilities, so if you come across any that haven't been converted by my code, please let me know.
The game Prison Architect had every character in its serial code separated by '\u0000'.
No doubt the result of GOG employees using a WYSIWYG editor, which adds unnecessary crap.
P.S. By the way, the DETAILS button can retrieve some game detail from GOG, and for a game that has a CDKey, you will see that listed in the result, so you could manually copy from that text file as well.
Post edited March 29, 2021 by Timboli