![]() |
Script to check for uninstalled or missing games - Printable Version +- Playnite Forums (https://playnite.link/forum) +-- Forum: Extension Database (https://playnite.link/forum/forum-3.html) +--- Forum: Generic Extensions (https://playnite.link/forum/forum-6.html) +--- Thread: Script to check for uninstalled or missing games (/thread-145.html) |
Script to check for uninstalled or missing games - DonkeyOatay - 02-18-2020 This script is basically a small tweak of the 'Remove Deleted Games' script created by Itegnis that, instead of removing games that it cannot find on the PC, it instead marks them as uninstalled in playnite (by removing the tick in the 'Installed' box. It's a useful tool for identifying games that you have uninstalled but not via Playnite, or you have moved but not updated in Playnite. All credit for this goes to Itegnis and also to Crow who showed me the necessary tweak. All I did was edit the script to reflect the changes in the menus and dialog boxes and do a bit of testing. The script checks the playaction for each game in Playnite and then, if the entry exists, it checks to make sure that the relevant .exe file is still in the location listed in Playnite. If it is not then presumably the game has either been uninstalled or you have moved it. It will briefly show its reasoning as to why it has identified a game and then pop up a dialog asking which of the games it has found (or rather not found) you want to mark as uninstalled within Playnite. The only problem I have found is with Windows Store games - because their folders are protected it appears it cannot check them and so will flag all Windows Store games as potentially missing even when they are not. If I was a capable coder, i would add some kind of line to ignore all games with an install location of C:\Program Files\WindowsApps but I'm not a capable coder. If anyone else can suggest it, then that would be great (and if you can suggest how to list the games alphabetically at the same time, even better!). RE: Script to check for uninstalled or missing games - DonkeyOatay - 02-18-2020 Itegnis has now created a version of his own with both of the improvements I mentioned above (thanks Itegnis) so please now ignore this one and go to his thread to download it. |