Posted August 19, 2020
I've done more downloading and updating tests with my GOGRepo GUI program, but not yet done a full 'Update In Stages' method 2 process. Chiefly because I have been sidetracked with the other new program I mentioned last post, but also because I would like some updates for games I own to occur at GOG, which will give my code a true test.
Anyway .......
It must be noted, that neither GOGRepo GUI and my new GOGRepo Simple GUI programs should exist in the same folder. To that end, latest versions of both these programs check for each other and refuse to run if the other found. This is because they both use same named manifest and resume manifest files, as well as Games.ini and Titles.txt files, while they do have their own differently named settings files. So when the new program becomes available, please don't run an older version of GOGRepo GUI in the GOGRepo Simple GUI folder. If you do, you might lose some records or details.
I've done more work on GOGRepo Simple GUI, and more tests, even some Linux SH files that passed MD5 and Size tests. I've done the SETUP window and finished its code, so should be working fine, though I haven't yet tested much. You may note in the following screenshot, that I reduced the height of the SETUP button and added an 'Update' checkbox.
GOGRepo Simple GUI updated screenshot
The new 'Update' checkbox, basically tells the program whether to update the manifest or not during VERIFY ... it does that at the start of verifying, before it does the actual verifying. VERIFY always seeks to have the latest update information, to verify latest downloads correctly. But if you have just updated the manifest for a game, it doesn't need to do that again for each file for that game, that you are now testing.
In an effort to prevent unnecessary use of Update, the program does some record keeping and automated checking, but some of that will be lost each time you Retrieve a List of Game Files, using that option. That is because the relevant list files are rebuilt each time, manifest aside. Until that happens though, you may get a prompt for how you want to proceed, based on last update date for the selected game. Basically the default check works on 24 hours. If the time is less than that, you won't be prompted unless you have the Update checkbox enabled. If 24 hours or more, and you don't have Update enabled, you will be prompted about that.
In an effort to help select the right game title, when you drag & drop, a one or two word search term is created from the start of the file name. You can use that with the FIND button. If the 'Exact' checkbox is enabled, then it matches from the left, disabled it means a wild card search of the search term anywhere in a name. Both work from a selected list item forwards, but cycling around to the start of the list again.
Setup Window screenshot
Please note, that though I don't state it outright on the SETUP window options, the INSTALL Required Libraries button acts as though you are using Kalanyr's forked version of 'gogrepo.py', and so installs all required libraries. The extra libraries involved, that aren't required for the original version of 'gogrepo.py', should not impact it, but if you are savvy enough, you can manually install what is just needed for the original version, and skip using the button.
I still need to complete the code for verifying ZIP, 7Z and RAR files, but sub-folders for the programs needed, plus for FSUM are currently created. I will probably get onto that code later today, or more likely tomorrow. Currently the size of all supported files is checked.
Anyway .......
It must be noted, that neither GOGRepo GUI and my new GOGRepo Simple GUI programs should exist in the same folder. To that end, latest versions of both these programs check for each other and refuse to run if the other found. This is because they both use same named manifest and resume manifest files, as well as Games.ini and Titles.txt files, while they do have their own differently named settings files. So when the new program becomes available, please don't run an older version of GOGRepo GUI in the GOGRepo Simple GUI folder. If you do, you might lose some records or details.
I've done more work on GOGRepo Simple GUI, and more tests, even some Linux SH files that passed MD5 and Size tests. I've done the SETUP window and finished its code, so should be working fine, though I haven't yet tested much. You may note in the following screenshot, that I reduced the height of the SETUP button and added an 'Update' checkbox.
GOGRepo Simple GUI updated screenshot
The new 'Update' checkbox, basically tells the program whether to update the manifest or not during VERIFY ... it does that at the start of verifying, before it does the actual verifying. VERIFY always seeks to have the latest update information, to verify latest downloads correctly. But if you have just updated the manifest for a game, it doesn't need to do that again for each file for that game, that you are now testing.
In an effort to prevent unnecessary use of Update, the program does some record keeping and automated checking, but some of that will be lost each time you Retrieve a List of Game Files, using that option. That is because the relevant list files are rebuilt each time, manifest aside. Until that happens though, you may get a prompt for how you want to proceed, based on last update date for the selected game. Basically the default check works on 24 hours. If the time is less than that, you won't be prompted unless you have the Update checkbox enabled. If 24 hours or more, and you don't have Update enabled, you will be prompted about that.
In an effort to help select the right game title, when you drag & drop, a one or two word search term is created from the start of the file name. You can use that with the FIND button. If the 'Exact' checkbox is enabled, then it matches from the left, disabled it means a wild card search of the search term anywhere in a name. Both work from a selected list item forwards, but cycling around to the start of the list again.
Setup Window screenshot
Please note, that though I don't state it outright on the SETUP window options, the INSTALL Required Libraries button acts as though you are using Kalanyr's forked version of 'gogrepo.py', and so installs all required libraries. The extra libraries involved, that aren't required for the original version of 'gogrepo.py', should not impact it, but if you are savvy enough, you can manually install what is just needed for the original version, and skip using the button.
I still need to complete the code for verifying ZIP, 7Z and RAR files, but sub-folders for the programs needed, plus for FSUM are currently created. I will probably get onto that code later today, or more likely tomorrow. Currently the size of all supported files is checked.
Post edited August 19, 2020 by Timboli