Jump to content
LaunchBox Community Forums

Playlist for Unavailable Games


Go to solution Solved by JoeViking245,

Recommended Posts

Posted

Currently, Launchbox doesn't recognise Windows shortcuts as ROMs it can remove when the Tools > Scan > For Removed Windows ROMS...  option is used, so games have to be manually deleted from Launchbox when uninstalled.

However, I have noticed that when I click on a Windows game in Launchbox which has been uninstalled, instead of the Play option it shows Unavailable.

Is there a way to create a playlist to only list Windows games with the Unavailable status?  I've been trying to make one but no luck so far.

Posted
58 minutes ago, JoeViking245 said:

Ahhh shoot!  I missed the part about them being Windows shortcuts.

Looks like that may only work for [direct paths to?] storefront game.

Works on any game that has that field set to the value you're looking for. That field is only auto-updated for Storefront games though, you'd have to manually set the field on the others.

  • Like 1
Posted
6 hours ago, Hades68 said:

Is there a way to create a playlist to only list Windows games with the Unavailable status?

If so inclined, you can add this plugin I threw together to scan a platform that its games point to a shortcut file.  If the shortcut file does not exist, it will be marked as un-installed (aka: Installed=false).  From there, your playlist should now "work".

 

With LaunchBox closed, extract the contents of the attached file into: ../LaunchBox/Plugins/
          i.e. D:\LaunchBox\Plugins\ScanForUninstalled\ScanForUninstalled.dll
Start LaunchBox and from the Tools menu, select Mark uninstalled

 

Using:
Select a platform and click "the button"

What it does when you click "the button":

  • Scans all games in the selected platform
  • If the games' Application Path is a shortcut (.lnk)
    • If the shortcut file exists
      • The game is marked as Installed (Installed = true)
    • If the shortcut file does NOT exist
      • The game is marked as Un-Installed (Installed = false)

Counts shown when the process is done are only for ones that have changed.

ScanForUninstalled (v1.0.0).7z

  • Thanks 1
Posted

That works nicely! But could I make one request?  I also have "Internet Shortcuts" for Steam games stored in the same location as my game shortcuts.  Could you have it scan for those as well?  Then it would be perfect!

Posted
13 minutes ago, Hades68 said:

That works nicely! But could I make one request?  I also have "Internet Shortcuts" for Steam games stored in the same location as my game shortcuts.  Could you have it scan for those as well?  Then it would be perfect!

So... wait.  What?  Look for the game's shortcut file. If it doesn't exist, ALSO look for some internet shortcut? 

Or are some of your games' Application Path an internet shortcut?   Like:

  • Game 1 Application Path = D:\Games\A_Cool_Game.lnk
  • Game 2 Application Path = D:\Games\A_DIFFERNT_Cool_Game.url
Posted

Yes, exactly.  I keep all of my game shortcuts for Steam and non-Steam games in the same folder, so there are a mixture of .lnk and .url files in there.

For example:

E:\Games\Baldur's Gate 3.url

E:\Games\Diablo III.lnk

Does this make sense now?

  • Solution
Posted
16 minutes ago, Hades68 said:

Yes, exactly.  I keep all of my game shortcuts for Steam and non-Steam games in the same folder, so there are a mixture of .lnk and .url files in there.

For example:

E:\Games\Baldur's Gate 3.url

E:\Games\Diablo III.lnk

Does this make sense now?

I didn't know that games could be launched via a URL.  Not that I know, ya. It makes sense. :) 

 

What it does when you click "the button" (v1.1.0😞

  • Scans all games in the selected platform
  • If the games' Application Path is a shortcut (.lnk) or a weblink shortcut (.url)
    • If the shortcut file exists
      • The game is marked as Installed (Installed = true)
    • If the shortcut file does NOT exist
      • The game is marked as Un-Installed (Installed = false)

ScanForUninstalled (v1.1.0).7z

  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...