It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Okay, I have now finally made an executive decision and grabbed the bull by the horns and released GOGcli GUI v2.0.

Download & Detail - https://github.com/Twombs/GOGcli-GUI/releases/tag/v2.0

Main Page - https://github.com/Twombs/GOGcli-GUI

As always, BIG THANKS to Magnitus for the required gogcli.exe

https://github.com/Magnitus-/gogcli

Also the usual BIG THANKS to the AutoIt development team, especially Jon the mastermind.

https://www.autoitscript.com/

IMPORTANT NOTES (perhaps)
This update has been a long time coming, and while some elements are new in this latest version, I have been playing around with most of the new features & improvements for quite a while in the betas (some never uploaded).

It is important to note, that until yesterday, all my testing was done with gogcli.exe v0.11.0. Yesterday I started using v0.12.0, but haven't done much with it yet. The program does however now recognize right up to v0.17.0 of gogcli.exe ... not that it does anything special with that recognition, other than display the (Model) version in the 'Program Information' dialog.

For reasons of continuity etc, I thought it best to just stick to the one version of gogcli.exe, while working on this update.

From what I have seen in Magnitus' notes, there has been no script breaking changes, so all should work fine. I have not however incorporated any new abilities in my GUI, related to these newer versions of gogcli.exe.

Enjoy!

P.S. My apologies for what is possibly an overwhelming amount of new detail ... though most of it has probably been touched upon in prior posts here, above.
Post edited November 03, 2021 by Timboli
avatar
Timboli: Okay, I have now finally made an executive decision and grabbed the bull by the horns and released GOGcli GUI v2.0.
GOGcli v0.17.0, GOGcli GUI v2.0.
Looks like all all non-english text in saved text files (most noticeable in Description.txt files) looks like this:
[code]ID = 1207658810
title = Advent Rising
description = \u0412\u043da\u043c\u0430\u043da\u0435![/code]
No unicode support implemented?
avatar
azhur: GOGcli v0.17.0, GOGcli GUI v2.0.
Looks like all all non-english text in saved text files (most noticeable in Description.txt files) looks like this:
[code]ID = 1207658810
title = Advent Rising
description = \u0412\u043da\u043c\u0430\u043da\u0435![/code]
No unicode support implemented?
I don't really have any experience working with other languages, sorry. I'll see if I can work something out.

Not sure what happened for you there, as I got the following with v2.0.

ID = 1207658810
title = Advent Rising
description = Advent Rising is a third person perspective action adventure game in which you play as Gideon Wyeth - a rookie space pilot. Having a loving fiancee and a promising life he is chosen to participate in one of the most important missions in the history of humanity - first contact with an alien race. Although the humans were greeted with honor, the aliens also gave them a warning - there is another vicious race, known as 'The Seekers', dedicated to eradicating the human species.
full = Advent Rising is a third person perspective action adventure game in which you play as Gideon Wyeth - a rookie space pilot. Having a loving fiancee and a promising life he is chosen to participate in one of the most important missions in the history of humanity - first contact with an alien race. Although the humans were greeted with honor, the aliens also gave them a warning - there is another vicious race, known as 'The Seekers', dedicated to eradicating the human species. Soon after receiving that information the invasion and Gideon's adventure begin.In this game you will witness the advent of humanity as written by a master of science-fiction - Orson Scott Card. With 12 unique weapons and 8 superhuman powers you will not only crash through hordes of aliens but also watch one of the best stories ever told in video games! What else do you need to get convinced?
whats_cool_about_it = A sweeping and evolving plot written by award-winning sci-fi author Orson Scott Card A great variety of gameplay styles from TPP action-adventure to vehicular combat Fast-paced combat with futuristic weapons and awesome psychic powers
EDIT
I forgot to mention that the program does have 'some' unicode support, but kind of done piecemeal in a sanitizer.

I have now investigated further, and developed a unicode converter, which I am still experimenting with, but seems to work well with just the unicode elements. I will look into incorporating that if easy enough to do. It is a matter of me modifying my current 'Sanitizer' code. Not sure if that will help with a language situation though.

I've tried to work out how to do a full & proper unicode converter before, but have been lacking the knowledge of the necessary coding steps required. I had better luck with my research this time ... or it just finally clicked.
Post edited November 07, 2021 by Timboli
GOGcli GUI v2.1 has been released.

Download & Detail - https://github.com/Twombs/GOGcli-GUI/releases/tag/v2.1

Main Page - https://github.com/Twombs/GOGcli-GUI

As always, BIG THANKS to Magnitus for the required gogcli.exe

https://github.com/Magnitus-/gogcli

Also the usual BIG THANKS to the AutoIt development team, especially Jon the mastermind.

https://www.autoitscript.com/

Screenshot - https://github.com/Twombs/GOGcli-GUI/blob/main/Screenshots/gogcli_details_main.png

Update includes improvements & bugfix.

Discovered the CHANGELOG button in the DETAILS window wasn't working, so corrected that.
The ALL button in the DETAILS window can now save an 'Everything.txt' file to the program, Game or Games folder etc. This includes a new program sub-folder called 'Details'.
The 'Unicode Replacements' edit field in the DETAILS window, which was never implemented for use, has now been removed (will no longer be needed).
The 'Santitize Saves' (purge) option in the DETAILS window, has now been improved to include a proper unicode text converter. It now also strips out any HTML from the text.
Other minor changes.
Post edited November 09, 2021 by Timboli
avatar
Timboli: I don't really have any experience working with other languages, sorry. I'll see if I can work something out.
2 problems with unicode text here:
1. it's "unicode-escape" encoded, and so - not human-readable.
2. Part of text is corrupted.
As example, first string of russian description is "Внимание! В этой игре нет русской локализации."
Un-escaped text from description.txt gives "Внaманaе! В этоn aгrе нет russiоn лоiалaзацaa."
Esacpe-encoded form of first word is "\u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435"
But your program produce result "\u0412\u043da\u043c\u0430\u043da\u0435".
So, both russian letters "и" replaced with english "a".
And numerous other errors in rest of text.

I hope you'll find a way to fix this mess, sooner or later.
avatar
azhur: 2 problems with unicode text here:
1. it's "unicode-escape" encoded, and so - not human-readable.
2. Part of text is corrupted.
As example, first string of russian description is "Внимание! В этой игре нет русской локализации."
Un-escaped text from description.txt gives "Внaманaе! В этоn aгrе нет russiоn лоiалaзацaa."
Esacpe-encoded form of first word is "\u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435"
But your program produce result "\u0412\u043da\u043c\u0430\u043da\u0435".
So, both russian letters "и" replaced with english "a".
And numerous other errors in rest of text.

I hope you'll find a way to fix this mess, sooner or later.
I'm not really sure about what is going on or if it is indeed anything to do with my code.
Did you also get the description with the 'Sanitize Saves' option turned off, to see what unicode entries exist as returned by GOG, without my modifications?

My code works on a block of 6 characters, i.e. \u0412
So it ignores any characters after that, i.e. 'a' in \u043da
That 'a' is deemed regular text, and my hands are tied about that, because sometimes the unicode butts up right against regular text, so I am reliant on (limited to) using the count of 6 characters, starting with '\u'.

----------------------------------------------------------------------

I have just re-uploaded v2.1 of GOGcli GUI, due to the fact I had overlooked stripping out HTML from the returned text, which now also occurs when 'Sanitize Saves' is enabled.

You appear to be the only person who has downloaded v2.1 so far, so I did not bother to change the version number for such a minor code change. So please download again to replace your copy.
GOGcli GUI has been updated to v2.2.

DOWNLOAD - https://github.com/Twombs/GOGcli-GUI/releases/tag/v2.2

INFO - https://github.com/Twombs/GOGcli-GUI

See previous posts for more information.

Discovered a bug and fixed that, plus added a new feature I had been wishing for.
avatar
Timboli: I have just re-uploaded v2.1 of GOGcli GUI, due to the fact I had overlooked stripping out HTML from the returned text, which now also occurs when 'Sanitize Saves' is enabled.

You appear to be the only person who has downloaded v2.1 so far, so I did not bother to change the version number for such a minor code change. So please download again to replace your copy.
'Sanitize Saves' option change nothing related to text corruption.
And no, I've not tested versions 2.1 or 2.2.
Switched to gogrepoc, running on my Syno NAS.
avatar
azhur: 'Sanitize Saves' option change nothing related to text corruption.
And no, I've not tested versions 2.1 or 2.2.
Switched to gogrepoc, running on my Syno NAS.
Okay, well like I thought, the corruption is on GOG's side not mine. They have additional characters sometimes that shouldn't be there. I've actually modified some where I know they have it wrong, but that is always subject to what is obvious ... and I can only do them as a block (group) of unicode text ... to avoid errors.

Enjoy gogrepoc ... though I imagine you should also be able to run a gogcli version on your NAS too. Not with my GUI of course.
Post edited November 15, 2021 by Timboli
GOGcli GUI has been updated to v2.3.

DOWNLOAD - https://github.com/Twombs/GOGcli-GUI/releases/tag/v2.3

INFO - https://github.com/Twombs/GOGcli-GUI

See previous posts for more information.

This is not a major or big update, just the addition of some nice new features in regard to validating.

Enjoy!
Hi Timboli, first of all thank you very very much for all the effort you put into this project and for making it available for us.
Lately, I've been looking for a way to download and update my whole GOG collection easily and automatically, and your "GOGcli GUI" seems to fit the bill quite nicely. (Many many thanks to Magnitus as well, of course).
I have just a couple of questions at the moment (my deepest apologies if the answers should be obvious or they have already been replied to elsewhere):
1) I'd like to download just the Windows installer and the extras for each game directly, without passing through the "Game Files Selector" for each game - it's less cumbersome. I then unchecked the "Present the 'Game Files Selector' window" box in the Setup window. But then, if I try to download a game, as soon as the status changes to "Game downloading" I get a popup error message: "This feature is not yet supported". No problem in downloading when using the Game Files Selector. Is there anything wrong, or is this to be expected (but then why enable to uncheck that option in the Setup window in the first place)?
2) as far as I can tell, there's no way at the moment to just let the program start and do its own thing, and download your whole collection from A to Z. You have to manually download each game or, at best, create a download list of 10 games max, so that if you own, say, 100 games, you'd have to create 10 of such lists consecutively. Are you planning to completely automate the procedure, so that a user could download everything in one go if he so wished?
avatar
cose_vecchie: Hi Timboli, first of all thank you very very much for all the effort you put into this project and for making it available for us.
Lately, I've been looking for a way to download and update my whole GOG collection easily and automatically, and your "GOGcli GUI" seems to fit the bill quite nicely. (Many many thanks to Magnitus as well, of course).
Thanks for those kind words. :)

avatar
cose_vecchie: Is there anything wrong, or is this to be expected (but then why enable to uncheck that option in the Setup window in the first place)?
My apologies, that is one feature that I have never gotten around to completing. My focus so far has been on ensuring everything else works as it should. And because I already had all my games downloaded when I started developing my GUI, there has never been a pressing personal need for me to complete it ... especially as I am often working on other programs.

avatar
cose_vecchie: 2) as far as I can tell, there's no way at the moment to just let the program start and do its own thing, and download your whole collection from A to Z. You have to manually download each game or, at best, create a download list of 10 games max, so that if you own, say, 100 games, you'd have to create 10 of such lists consecutively. Are you planning to completely automate the procedure, so that a user could download everything in one go if he so wished?
Once again, my apologies, there is as yet no 'Download ALL' option. However, maybe I forgot to mention somewhere that I had increased the download limit from 10 to 15 games, which I have just confirmed looking at my code. I may yet increase the limit again, but that makes it quite slow to populate the 'File Selector Window' list, especially for those games where the manifest data is not yet stored locally on your PC.

Further to all that, I have not been encouraged to go down the 'Download ALL' path, due to my download speed issues with GOG. It seems to me, that the more who engage in downloading all, would impact my download speed even further, especially if it was with the same server I am forced to use. I am also unsure whether GOG would see it as an abuse of bandwidth, especially as they don't provide a 'Download ALL' option in Galaxy. So lack of personal need and caution on my part are major factors, plus a lack of desire and incentive to work on that complex GUI code.

All that said, my GUI for gogrepo.py has a 'Download ALL' option ... though I think it only works with the original not forked version of gogrepo.py. So you could maybe give that a whirl. I provided that option with that GUI, because you essentially download your complete manifest when first using gogrepo.py, so the data already exists locally on your PC, even though a certain amount might be out-of-date.

When developing my GUI for gogcli.exe I was very aware of trying to make it simpler to use than my GOGRepo GUI program. I also primarily code for myself, and then if happy enough with the result, share with others. I especially share when working off the back of work done by others (i.e. Magnitus), as I feel obliged in those cases. I do often add in features I might not personally use myself, but only when I am in the mood to deal with the possible complexities.

Another important aspect to all this, is lack of resume.
In your case of 100 games, with potentially many files to download for many of the games, that could be a lot of download errors to check for in the Log Record ... and so things can get messy.
GOGcli GUI has been updated to v2.4.

DOWNLOAD - https://github.com/Twombs/GOGcli-GUI/releases/tag/v2.4

INFO - https://github.com/Twombs/GOGcli-GUI

An increase from 15 to 20 for the DOWNLOAD LIST games limit.

Bugfix for the VALIDATE NOW option, where MD5 and Size values for files in the database, were being skipped when extracting from the Manifest.

See previous posts for more information.

Enjoy!
Post edited December 14, 2021 by Timboli
I've started work on a new update with some nice features, due to being inspired by some recent work on another of my programs. It may even culminate in a DOWNLOAD ALL option, if my new notions come to fruition.

So far I've added in query prompt between files when Validating a game. This allows the queried file to be skipped or the whole process aborted, but automatically continues with Validate after 9 seconds. This is handy for the obvious reason, but also allows you to abort part way and resume at that point later.

I've added a right-click menu option for the Games list in 'Downloads', called 'Excluded File Types', which allows you set Linux, Mac or Windows file types to be excluded from appearing in the Game Files Selector window. This is handy and can reduce clutter, plus speed up loading the downloads list. File types supported are BIN, DMG, EXE, PKG, SH & ZIP.

I've added another right-click menu option for the Games list in 'Downloads', called 'History', which basically keeps a record of downloads and the result plus checksum values, dates and time taken, etc. Using that option presents an Excel like viewer, which has some sort options at startup. This kind of addresses one of the issues I have for the DOWNLOAD ALL option, that is less messy or confusing than just the 'Log.txt' record or 'Validation.txt' file entries. NOTE - If you are already using a version of my GUI, and there are download entries in the 'Log.txt' file, then they will be extracted on first use of this update, and populate the new 'History.log' file ... you will see a splash titled 'Creating History!' for however long it takes to extract and populate.

Those elements are already done in the v2.5 update, and I am about to add a similar history feature for independent file validations. I've also noted some minor issues I need to remember to fix.

As for the possible DOWNLOAD ALL option, it would entail changes to the 'Game Files Selector' window, such that it can be populated and started silently (and minimized) per game, in a cycle until all games are done. This would mean downloading required manifest data, would only occur per game, just before it starts downloading that game, and not having to wait for the data for all games to be added or updated in the manifest, before any downloading starts. You can view the 'Game Files Selector' window any time, by restoring from the taskbar. You would also be able to select abort on that window. I would also provide some kind of 'wait' or 'pause' option, to give your PC a rest for a few minutes, after X amount of downloads have occurred etc. If you abort the process, you should also be able to resume at a point of your selection on the list, involving a query. This feature will likely be somewhat of a major undertaking, so even if I decide to go ahead with it, it may be in the next v2.6 update.

Stay Tuned!
Post edited December 17, 2021 by Timboli
For those of you who have already installed and are using v2.4 of GOGcli GUI, you might like to gain the benefits of those new elements I listed as completed for v2.5, plus some other improvements.

You can get early access to the v2.5 update below ... bearing in mind it is not yet fully completed, as the right-click entry 'History Viewer' for 'Validation', does nothing for instance.

DOWNLOAD - https://github.com/Twombs/GOGcli-GUI/tree/main/Source/v2.4_b03

Just grab the EXE file only ... the AU3 file is just source.

See the 'Latest Changes.txt' file for specifics about the update.

Enjoy!
Post edited December 18, 2021 by Timboli